LogViewer
生成的参数组合数量:45
2025-05-14 17:12:37 | INFO | metric_online:run_with_hydra:972 - Total tasks generated: 45
2025-05-14 17:12:37 | INFO | metric_online:run_with_hydra:989 - Starting parallel execution with n_jobs=1...
2025-05-14 17:12:44 | INFO | metric_online:main2:871 - save train test done /root/data/Research1//feature/finalcomd//B8Wstats250412/B8Wstats250412_0--combo52
/root/project/auto/auto/metric_online.py:673: FutureWarning: The default of observed=False is deprecated and will be changed to True in a future version of pandas. Pass observed=False to retain current behavior or observed=True to adopt the future default and silence this warning.
  data_dict['pearson_next'] = self.calculate_func_metric(func='pearson', key='next', priceT1=self.close, priceT0=self.opencol.groupby(level='comd').shift(-1), scaled_x=False)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:52 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:52 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:52 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:52 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:53 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:53 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:53 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:54 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:54 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:54 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:56 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:56 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:56 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:57 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:14:57 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:02 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:02 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:02 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:02 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:03 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:07 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:08 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:08 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:08 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:08 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:09 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:09 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:09 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:10 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:10 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:10 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:10 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:11 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:11 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:11 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:12 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:12 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:12 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:12 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:13 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:17 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:17 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:18 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:18 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:18 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:20 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:20 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:20 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:21 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:21 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:24 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:24 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:24 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:25 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:25 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:27 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:27 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:27 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:28 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:28 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:30 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:30 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:30 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:30 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:31 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:31 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:31 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:32 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:32 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:32 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:32 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:33 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:33 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:33 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:34 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:34 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:34 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:34 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:35 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:35 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:38 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:38 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:39 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:39 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:39 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:39 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:40 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:40 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:40 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:41 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:44 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:44 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:44 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:45 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:45 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:47 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:47 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:47 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:47 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:48 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:48 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:48 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:49 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:49 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:49 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:49 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:50 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:50 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:50 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:51 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:51 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:51 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:52 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:52 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:15:52 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
config_key B8Wstats250412 not found in config_dict
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  1%|          | 1/128 [00:02<05:11,  2.45s/it, 2020-01-17 → 2020-02-14]
  3%|▎         | 4/128 [00:02<01:01,  2.00it/s, 2020-03-07 → 2020-03-27]
  5%|▌         | 7/128 [00:02<00:30,  3.92it/s, 2020-04-21 → 2020-05-14]
  8%|▊         | 10/128 [00:02<00:19,  6.04it/s, 2020-06-05 → 2020-06-25]
 10%|█         | 13/128 [00:03<00:13,  8.27it/s, 2020-07-21 → 2020-08-08]
 12%|█▎        | 16/128 [00:03<00:10, 10.47it/s, 2020-09-01 → 2020-09-19]
 15%|█▍        | 19/128 [00:03<00:08, 12.64it/s, 2020-10-21 → 2020-11-10]
 17%|█▋        | 22/128 [00:03<00:07, 14.48it/s, 2020-12-02 → 2020-12-22]
 20%|█▉        | 25/128 [00:03<00:06, 16.23it/s, 2021-01-14 → 2021-02-03]
 22%|██▏       | 28/128 [00:03<00:06, 16.30it/s, 2021-03-04 → 2021-03-24]
 23%|██▎       | 30/128 [00:03<00:05, 16.44it/s, 2021-04-01 → 2021-04-22]
 26%|██▌       | 33/128 [00:04<00:05, 17.32it/s, 2021-05-19 → 2021-06-08]
 28%|██▊       | 36/128 [00:04<00:04, 18.55it/s, 2021-07-01 → 2021-07-21]
 30%|███       | 39/128 [00:05<00:13,  6.70it/s, 2021-08-12 → 2021-09-01]
 33%|███▎      | 42/128 [00:05<00:10,  8.56it/s, 2021-09-25 → 2021-10-22]
 35%|███▌      | 45/128 [00:05<00:07, 10.57it/s, 2021-11-13 → 2021-12-03]
 37%|███▋      | 47/128 [00:05<00:09,  8.75it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:06<00:07, 10.89it/s, 2022-01-25 → 2022-02-19]
 41%|████▏     | 53/128 [00:06<00:05, 12.96it/s, 2022-03-15 → 2022-04-02]
 44%|████▍     | 56/128 [00:06<00:04, 14.89it/s, 2022-04-28 → 2022-05-21]
 46%|████▌     | 59/128 [00:06<00:04, 16.56it/s, 2022-06-15 → 2022-07-05]
 48%|████▊     | 62/128 [00:06<00:03, 17.89it/s, 2022-07-27 → 2022-08-16]
 51%|█████     | 65/128 [00:06<00:03, 18.98it/s, 2022-09-07 → 2022-09-28]
 53%|█████▎    | 68/128 [00:06<00:03, 19.78it/s, 2022-10-27 → 2022-11-16]
 55%|█████▌    | 71/128 [00:06<00:02, 20.26it/s, 2022-12-08 → 2022-12-28]
 58%|█████▊    | 74/128 [00:07<00:02, 20.65it/s, 2023-01-20 → 2023-02-16]
 60%|██████    | 77/128 [00:07<00:02, 20.68it/s, 2023-03-10 → 2023-03-30]
 62%|██████▎   | 80/128 [00:07<00:02, 20.90it/s, 2023-04-22 → 2023-05-17]
 65%|██████▍   | 83/128 [00:07<00:02, 21.12it/s, 2023-06-08 → 2023-06-30]
 67%|██████▋   | 86/128 [00:07<00:01, 21.27it/s, 2023-07-22 → 2023-08-11]
 70%|██████▉   | 89/128 [00:07<00:01, 21.43it/s, 2023-09-02 → 2023-09-22]
 72%|███████▏  | 92/128 [00:07<00:01, 20.87it/s, 2023-10-24 → 2023-11-11]
 74%|███████▍  | 95/128 [00:08<00:01, 20.46it/s, 2023-12-05 → 2023-12-23]
 77%|███████▋  | 98/128 [00:08<00:01, 20.64it/s, 2024-01-17 → 2024-02-06]
 79%|███████▉  | 101/128 [00:08<00:01, 20.72it/s, 2024-03-07 → 2024-03-27]
 81%|████████▏ | 104/128 [00:08<00:01, 20.93it/s, 2024-04-20 → 2024-05-15]
 84%|████████▎ | 107/128 [00:08<00:00, 21.06it/s, 2024-06-06 → 2024-06-27]
 86%|████████▌ | 110/128 [00:09<00:02,  7.44it/s, 2024-07-19 → 2024-08-08]
 88%|████████▊ | 112/128 [00:10<00:03,  4.61it/s, 2024-08-16 → 2024-09-05]
 90%|████████▉ | 115/128 [00:10<00:02,  6.19it/s, 2024-10-01 → 2024-10-26]
 92%|█████████▏| 118/128 [00:10<00:01,  8.02it/s, 2024-11-19 → 2024-12-07]
 95%|█████████▍| 121/128 [00:11<00:00, 10.01it/s, 2024-12-31 → 2025-01-21]
 97%|█████████▋| 124/128 [00:11<00:00, 12.03it/s, 2025-02-20 → 2025-03-12]
 99%|█████████▉| 127/128 [00:11<00:00, 13.91it/s, 2025-04-03 → 2025-04-24]
100%|██████████| 128/128 [00:11<00:00, 11.19it/s, 2025-04-03 → 2025-04-24]
2025-05-14 17:16:07 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v5] 优化前的夏普率: 3.78136
2025-05-14 17:16:07 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v5] 优化后的夏普率: 6.05269
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:08 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:08 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:09 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:10 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:11 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:12 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:12 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:13 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:14 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:15 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:16 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:16 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:17 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:17 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:18 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:18 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:19 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:19 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:20 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:21 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:21 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:22 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:22 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

 30%|███       | 39/128 [00:02<00:05, 14.86it/s, 2021-08-12 → 2021-09-01]
 33%|███▎      | 42/128 [00:02<00:05, 15.36it/s, 2021-09-25 → 2021-10-22]
 35%|███▌      | 45/128 [00:02<00:05, 15.97it/s, 2021-11-13 → 2021-12-03]
 38%|███▊      | 48/128 [00:03<00:04, 16.68it/s, 2021-12-25 → 2022-01-15]
 40%|███▉      | 51/128 [00:03<00:04, 17.39it/s, 2022-02-15 → 2022-03-05]
 42%|████▏     | 54/128 [00:03<00:04, 18.19it/s, 2022-03-29 → 2022-04-20]
 45%|████▍     | 57/128 [00:03<00:03, 18.98it/s, 2022-05-17 → 2022-06-07]
 47%|████▋     | 60/128 [00:03<00:03, 19.65it/s, 2022-06-29 → 2022-07-19]
 49%|████▉     | 63/128 [00:03<00:03, 20.24it/s, 2022-08-10 → 2022-08-30]
 52%|█████▏    | 66/128 [00:03<00:02, 20.67it/s, 2022-09-22 → 2022-10-19]
 54%|█████▍    | 69/128 [00:03<00:02, 21.00it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:04<00:02, 21.24it/s, 2022-12-22 → 2023-01-12]
 59%|█████▊    | 75/128 [00:04<00:02, 21.30it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:04<00:02, 21.50it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:04<00:02, 21.67it/s, 2023-05-11 → 2023-05-31]
 66%|██████▌   | 84/128 [00:04<00:02, 21.80it/s, 2023-06-22 → 2023-07-14]
 68%|██████▊   | 87/128 [00:04<00:01, 21.92it/s, 2023-08-05 → 2023-08-25]
 70%|███████   | 90/128 [00:04<00:01, 21.99it/s, 2023-09-16 → 2023-10-14]
 73%|███████▎  | 93/128 [00:05<00:01, 22.09it/s, 2023-11-07 → 2023-11-25]
 75%|███████▌  | 96/128 [00:05<00:01, 22.19it/s, 2023-12-19 → 2024-01-09]
 77%|███████▋  | 99/128 [00:05<00:01, 22.31it/s, 2024-01-31 → 2024-02-28]
 80%|███████▉  | 102/128 [00:05<00:01, 22.33it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:05<00:01, 22.32it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:05<00:00, 22.39it/s, 2024-06-21 → 2024-07-11]
 87%|████████▋ | 111/128 [00:05<00:00, 22.40it/s, 2024-08-02 → 2024-08-22]
 89%|████████▉ | 114/128 [00:06<00:00, 22.52it/s, 2024-09-13 → 2024-10-12]
 91%|█████████▏| 117/128 [00:06<00:00, 22.45it/s, 2024-11-05 → 2024-11-23]
 94%|█████████▍| 120/128 [00:06<00:00, 22.64it/s, 2024-12-17 → 2025-01-07]
 96%|█████████▌| 123/128 [00:06<00:00, 22.67it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 126/128 [00:06<00:00, 22.77it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:06<00:00, 19.33it/s, 2025-04-03 → 2025-04-24]
2025-05-14 17:16:29 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v6] 优化前的夏普率: 4.1654
2025-05-14 17:16:29 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v6] 优化后的夏普率: 6.57596
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:30 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:30 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:31 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:32 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:33 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:34 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:34 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:34 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:36 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:36 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:37 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:38 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:39 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:39 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:39 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:40 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:41 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:41 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:42 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:43 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:43 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:43 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:44 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

 30%|███       | 39/128 [00:02<00:06, 14.22it/s, 2021-08-12 → 2021-09-01]
 33%|███▎      | 42/128 [00:02<00:05, 14.75it/s, 2021-09-25 → 2021-10-22]
 35%|███▌      | 45/128 [00:03<00:05, 15.42it/s, 2021-11-13 → 2021-12-03]
 38%|███▊      | 48/128 [00:03<00:04, 16.20it/s, 2021-12-25 → 2022-01-15]
 40%|███▉      | 51/128 [00:03<00:04, 16.94it/s, 2022-02-15 → 2022-03-05]
 42%|████▏     | 54/128 [00:03<00:04, 17.89it/s, 2022-03-29 → 2022-04-20]
 45%|████▍     | 57/128 [00:03<00:03, 18.71it/s, 2022-05-17 → 2022-06-07]
 47%|████▋     | 60/128 [00:03<00:03, 19.45it/s, 2022-06-29 → 2022-07-19]
 49%|████▉     | 63/128 [00:03<00:03, 20.20it/s, 2022-08-10 → 2022-08-30]
 52%|█████▏    | 66/128 [00:03<00:02, 20.88it/s, 2022-09-22 → 2022-10-19]
 54%|█████▍    | 69/128 [00:04<00:02, 21.36it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:04<00:02, 21.70it/s, 2022-12-22 → 2023-01-12]
 59%|█████▊    | 75/128 [00:04<00:02, 21.80it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:04<00:02, 22.13it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:04<00:02, 22.42it/s, 2023-05-11 → 2023-05-31]
 66%|██████▌   | 84/128 [00:04<00:01, 22.67it/s, 2023-06-22 → 2023-07-14]
 68%|██████▊   | 87/128 [00:04<00:01, 22.80it/s, 2023-08-05 → 2023-08-25]
 70%|███████   | 90/128 [00:04<00:01, 22.82it/s, 2023-09-16 → 2023-10-14]
 73%|███████▎  | 93/128 [00:05<00:01, 22.83it/s, 2023-11-07 → 2023-11-25]
 75%|███████▌  | 96/128 [00:05<00:01, 22.95it/s, 2023-12-19 → 2024-01-09]
 77%|███████▋  | 99/128 [00:05<00:01, 23.09it/s, 2024-01-31 → 2024-02-28]
 80%|███████▉  | 102/128 [00:05<00:01, 23.01it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:05<00:01, 22.87it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:05<00:00, 22.88it/s, 2024-06-21 → 2024-07-11]
 87%|████████▋ | 111/128 [00:05<00:00, 23.02it/s, 2024-08-02 → 2024-08-22]
 89%|████████▉ | 114/128 [00:06<00:00, 23.00it/s, 2024-09-13 → 2024-10-12]
 91%|█████████▏| 117/128 [00:06<00:00, 22.41it/s, 2024-11-05 → 2024-11-23]
 94%|█████████▍| 120/128 [00:06<00:00, 22.59it/s, 2024-12-17 → 2025-01-07]
 96%|█████████▌| 123/128 [00:06<00:00, 22.70it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 126/128 [00:06<00:00, 22.89it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:06<00:00, 19.23it/s, 2025-04-03 → 2025-04-24]
2025-05-14 17:16:51 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v7] 优化前的夏普率: 4.72813
2025-05-14 17:16:51 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v7] 优化后的夏普率: 6.34283
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:52 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:52 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:53 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:54 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:55 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:56 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:56 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:56 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:57 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:58 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:16:59 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:00 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:01 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:01 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:01 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:02 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:03 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:03 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:04 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:05 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:05 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:05 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:06 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

 34%|███▎      | 43/128 [00:02<00:03, 21.29it/s, 2021-10-19 → 2021-11-06]
 36%|███▌      | 46/128 [00:02<00:03, 21.26it/s, 2021-11-30 → 2021-12-18]
 38%|███▊      | 49/128 [00:02<00:03, 21.21it/s, 2022-01-12 → 2022-02-08]
 41%|████      | 52/128 [00:02<00:03, 21.13it/s, 2022-03-02 → 2022-03-22]
 43%|████▎     | 55/128 [00:02<00:03, 21.01it/s, 2022-04-15 → 2022-05-10]
 45%|████▌     | 58/128 [00:02<00:03, 20.92it/s, 2022-06-01 → 2022-06-22]
 48%|████▊     | 61/128 [00:02<00:03, 20.70it/s, 2022-07-14 → 2022-08-03]
 50%|█████     | 64/128 [00:03<00:03, 21.05it/s, 2022-08-25 → 2022-09-15]
 52%|█████▏    | 67/128 [00:03<00:02, 21.08it/s, 2022-10-14 → 2022-11-03]
 55%|█████▍    | 70/128 [00:03<00:02, 20.87it/s, 2022-11-25 → 2022-12-15]
 57%|█████▋    | 73/128 [00:03<00:02, 20.95it/s, 2023-01-07 → 2023-02-03]
 59%|█████▉    | 76/128 [00:03<00:02, 19.92it/s, 2023-02-25 → 2023-03-17]
 62%|██████▏   | 79/128 [00:03<00:02, 20.33it/s, 2023-04-11 → 2023-04-29]
 64%|██████▍   | 82/128 [00:03<00:02, 20.33it/s, 2023-05-26 → 2023-06-15]
 66%|██████▋   | 85/128 [00:04<00:02, 19.73it/s, 2023-07-11 → 2023-07-29]
 68%|██████▊   | 87/128 [00:04<00:02, 19.78it/s, 2023-08-08 → 2023-08-26]
 70%|███████   | 90/128 [00:04<00:01, 20.07it/s, 2023-09-19 → 2023-10-17]
 73%|███████▎  | 93/128 [00:04<00:01, 20.03it/s, 2023-11-08 → 2023-11-28]
 75%|███████▌  | 96/128 [00:04<00:01, 19.03it/s, 2023-12-20 → 2024-01-10]
 77%|███████▋  | 99/128 [00:04<00:01, 19.63it/s, 2024-02-01 → 2024-02-29]
 79%|███████▉  | 101/128 [00:04<00:01, 19.48it/s, 2024-03-08 → 2024-03-28]
 81%|████████▏ | 104/128 [00:05<00:01, 19.99it/s, 2024-04-23 → 2024-05-16]
 84%|████████▎ | 107/128 [00:05<00:01, 20.12it/s, 2024-06-07 → 2024-06-28]
 86%|████████▌ | 110/128 [00:05<00:00, 18.09it/s, 2024-07-20 → 2024-08-09]
 88%|████████▊ | 112/128 [00:05<00:00, 16.18it/s, 2024-08-17 → 2024-09-06]
 89%|████████▉ | 114/128 [00:05<00:00, 14.24it/s, 2024-09-14 → 2024-10-15]
 91%|█████████ | 116/128 [00:05<00:00, 13.62it/s, 2024-10-23 → 2024-11-12]
 92%|█████████▏| 118/128 [00:06<00:00, 14.38it/s, 2024-11-20 → 2024-12-10]
 94%|█████████▍| 120/128 [00:06<00:00, 15.50it/s, 2024-12-18 → 2025-01-08]
 96%|█████████▌| 123/128 [00:06<00:00, 17.08it/s, 2025-02-07 → 2025-02-27]
 98%|█████████▊| 125/128 [00:06<00:00, 17.70it/s, 2025-03-07 → 2025-03-27]
100%|██████████| 128/128 [00:06<00:00, 18.60it/s, 2025-04-04 → 2025-04-25]
100%|██████████| 128/128 [00:06<00:00, 19.60it/s, 2025-04-04 → 2025-04-25]
2025-05-14 17:17:13 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v8] 优化前的夏普率: 10.52209
2025-05-14 17:17:13 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v8] 优化后的夏普率: 10.18662
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:13 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:14 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:14 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:16 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:17 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:17 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:18 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:18 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:19 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:20 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:21 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:22 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:22 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:23 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:23 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:24 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:25 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:25 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:26 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:27 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:27 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:27 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:28 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

 19%|█▉        | 24/128 [00:02<00:08, 11.70it/s, 2020-12-30 → 2021-01-20]
 20%|██        | 26/128 [00:02<00:08, 11.67it/s, 2021-01-28 → 2021-02-24]
 22%|██▏       | 28/128 [00:02<00:08, 11.62it/s, 2021-03-04 → 2021-03-24]
 23%|██▎       | 30/128 [00:02<00:08, 11.64it/s, 2021-04-01 → 2021-04-22]
 25%|██▌       | 32/128 [00:02<00:08, 11.60it/s, 2021-04-30 → 2021-05-25]
 27%|██▋       | 34/128 [00:02<00:08, 11.55it/s, 2021-06-02 → 2021-06-23]
 28%|██▊       | 36/128 [00:03<00:07, 11.58it/s, 2021-07-01 → 2021-07-21]
 30%|██▉       | 38/128 [00:03<00:07, 11.63it/s, 2021-07-29 → 2021-08-18]
 31%|███▏      | 40/128 [00:04<00:18,  4.77it/s, 2021-08-26 → 2021-09-15]
 33%|███▎      | 42/128 [00:04<00:15,  5.69it/s, 2021-09-25 → 2021-10-22]
 34%|███▍      | 44/128 [00:04<00:12,  6.63it/s, 2021-10-30 → 2021-11-19]
 36%|███▌      | 46/128 [00:04<00:10,  7.57it/s, 2021-11-27 → 2021-12-17]
 38%|███▊      | 48/128 [00:05<00:09,  8.46it/s, 2021-12-25 → 2022-01-15]
 39%|███▉      | 50/128 [00:05<00:08,  9.14it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:05<00:07,  9.64it/s, 2022-03-01 → 2022-03-19]
 42%|████▏     | 54/128 [00:05<00:07, 10.16it/s, 2022-03-29 → 2022-04-20]
 44%|████▍     | 56/128 [00:05<00:06, 10.53it/s, 2022-04-28 → 2022-05-21]
 45%|████▌     | 58/128 [00:05<00:06, 10.84it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:06<00:06, 11.03it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 62/128 [00:06<00:05, 11.32it/s, 2022-07-27 → 2022-08-16]
 50%|█████     | 64/128 [00:06<00:05, 11.33it/s, 2022-08-24 → 2022-09-14]
 52%|█████▏    | 66/128 [00:06<00:05, 11.47it/s, 2022-09-22 → 2022-10-19]
 53%|█████▎    | 68/128 [00:06<00:05, 11.47it/s, 2022-10-27 → 2022-11-16]
 55%|█████▍    | 70/128 [00:06<00:05, 11.42it/s, 2022-11-24 → 2022-12-14]
 56%|█████▋    | 72/128 [00:07<00:04, 11.32it/s, 2022-12-22 → 2023-01-12]
 58%|█████▊    | 74/128 [00:07<00:04, 11.38it/s, 2023-01-20 → 2023-02-16]
 59%|█████▉    | 76/128 [00:07<00:04, 11.32it/s, 2023-02-24 → 2023-03-16]
 61%|██████    | 78/128 [00:07<00:04, 11.44it/s, 2023-03-24 → 2023-04-14]
 62%|██████▎   | 80/128 [00:07<00:04, 11.53it/s, 2023-04-22 → 2023-05-17]
 64%|██████▍   | 82/128 [00:08<00:03, 11.54it/s, 2023-05-25 → 2023-06-14]
 66%|██████▌   | 84/128 [00:08<00:03, 11.56it/s, 2023-06-22 → 2023-07-14]
 67%|██████▋   | 86/128 [00:08<00:03, 11.63it/s, 2023-07-22 → 2023-08-11]
 69%|██████▉   | 88/128 [00:08<00:03, 11.69it/s, 2023-08-19 → 2023-09-08]
 70%|███████   | 90/128 [00:08<00:03, 11.68it/s, 2023-09-16 → 2023-10-14]
 72%|███████▏  | 92/128 [00:08<00:03, 11.67it/s, 2023-10-24 → 2023-11-11]
 73%|███████▎  | 94/128 [00:09<00:02, 11.77it/s, 2023-11-21 → 2023-12-09]
 75%|███████▌  | 96/128 [00:09<00:02, 11.85it/s, 2023-12-19 → 2024-01-09]
 77%|███████▋  | 98/128 [00:09<00:02, 11.93it/s, 2024-01-17 → 2024-02-06]
 78%|███████▊  | 100/128 [00:09<00:02, 12.08it/s, 2024-02-22 → 2024-03-13]
 80%|███████▉  | 102/128 [00:09<00:02, 11.94it/s, 2024-03-21 → 2024-04-12]
 81%|████████▏ | 104/128 [00:09<00:02, 11.97it/s, 2024-04-20 → 2024-05-15]
 83%|████████▎ | 106/128 [00:10<00:01, 11.87it/s, 2024-05-23 → 2024-06-13]
 84%|████████▍ | 108/128 [00:10<00:01, 11.88it/s, 2024-06-21 → 2024-07-11]
 86%|████████▌ | 110/128 [00:10<00:01, 11.94it/s, 2024-07-19 → 2024-08-08]
 88%|████████▊ | 112/128 [00:10<00:01, 12.01it/s, 2024-08-16 → 2024-09-05]
 89%|████████▉ | 114/128 [00:10<00:01, 11.95it/s, 2024-09-13 → 2024-10-12]
 91%|█████████ | 116/128 [00:10<00:01, 11.67it/s, 2024-10-22 → 2024-11-09]
 92%|█████████▏| 118/128 [00:11<00:00, 11.66it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:11<00:00, 11.58it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▌| 122/128 [00:11<00:00, 11.49it/s, 2025-01-15 → 2025-02-12]
 97%|█████████▋| 124/128 [00:11<00:00, 11.50it/s, 2025-02-20 → 2025-03-12]
 98%|█████████▊| 126/128 [00:11<00:00, 11.72it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:11<00:00, 11.67it/s, 2025-04-03 → 2025-04-24]
100%|██████████| 128/128 [00:11<00:00, 10.73it/s, 2025-04-03 → 2025-04-24]
2025-05-14 17:17:40 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v9] 优化前的夏普率: 4.60447
2025-05-14 17:17:40 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v9] 优化后的夏普率: 6.02162
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:41 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:41 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:42 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:43 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:45 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:45 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:45 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:46 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:47 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:48 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:49 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:49 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:50 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:50 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:51 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:51 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:52 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:52 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:53 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:54 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:54 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:55 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:17:55 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
[2025-05-14 17:17:57,822][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:17:57,823][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:17:57,831][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:17:57,832][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:17:57,840][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:17:57,841][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:18:01,644][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:18:01,645][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:18:01,652][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:18:01,653][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:18:01,660][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:18:01,661][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
/root/project/auto/auto/metric_online.py:673: FutureWarning: The default of observed=False is deprecated and will be changed to True in a future version of pandas. Pass observed=False to retain current behavior or observed=True to adopt the future default and silence this warning.
  data_dict['pearson_next'] = self.calculate_func_metric(func='pearson', key='next', priceT1=self.close, priceT0=self.opencol.groupby(level='comd').shift(-1), scaled_x=False)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:12 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:12 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:12 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:13 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:13 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:13 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:14 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:14 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:15 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:15 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:17 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:17 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:18 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:18 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:18 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:24 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:24 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:25 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:25 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:25 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:31 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:31 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:31 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:32 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:32 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:33 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:33 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:33 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:34 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:34 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:34 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:35 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:35 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:35 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:36 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:36 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:36 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:37 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:37 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:38 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:43 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:43 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:44 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:44 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:45 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:47 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:47 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:47 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:48 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:48 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:52 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:52 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:52 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:53 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:53 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:55 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:56 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:56 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:56 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:57 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:59 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:20:59 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:00 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:00 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:00 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:01 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:01 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:01 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:02 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:02 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:03 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:03 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:03 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:04 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:04 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:05 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:05 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:05 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:06 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:06 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:10 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:10 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:11 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:11 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:12 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:12 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:12 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:13 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:13 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:13 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:17 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:18 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:18 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:18 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:19 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:21 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:21 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:22 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:22 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:22 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:23 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:23 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:24 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:24 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:24 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:25 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:25 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:25 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:26 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:26 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:26 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:27 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:27 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:27 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:21:28 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  3%|▎         | 4/128 [00:02<01:02,  1.97it/s, 2020-03-07 → 2020-03-27]
  4%|▍         | 5/128 [00:02<01:16,  1.61it/s, 2020-03-21 → 2020-04-11]
  5%|▌         | 7/128 [00:03<00:46,  2.58it/s, 2020-04-21 → 2020-05-14]
  7%|▋         | 9/128 [00:03<00:32,  3.69it/s, 2020-05-22 → 2020-06-11]
  9%|▊         | 11/128 [00:03<00:23,  4.90it/s, 2020-06-19 → 2020-07-11]
 10%|█         | 13/128 [00:03<00:18,  6.12it/s, 2020-07-21 → 2020-08-08]
 12%|█▏        | 15/128 [00:03<00:15,  7.31it/s, 2020-08-18 → 2020-09-05]
 13%|█▎        | 17/128 [00:04<00:28,  3.85it/s, 2020-09-15 → 2020-10-13]
 15%|█▍        | 19/128 [00:04<00:22,  4.91it/s, 2020-10-21 → 2020-11-10]
 16%|█▋        | 21/128 [00:05<00:17,  6.01it/s, 2020-11-18 → 2020-12-08]
 18%|█▊        | 23/128 [00:05<00:14,  7.10it/s, 2020-12-16 → 2021-01-06]
 20%|█▉        | 25/128 [00:05<00:12,  8.09it/s, 2021-01-14 → 2021-02-03]
 21%|██        | 27/128 [00:05<00:11,  9.04it/s, 2021-02-11 → 2021-03-10]
 23%|██▎       | 29/128 [00:07<00:36,  2.68it/s, 2021-03-18 → 2021-04-08]
 24%|██▍       | 31/128 [00:07<00:27,  3.51it/s, 2021-04-16 → 2021-05-11]
 26%|██▌       | 33/128 [00:08<00:34,  2.73it/s, 2021-05-19 → 2021-06-08]
 27%|██▋       | 34/128 [00:09<00:45,  2.09it/s, 2021-06-02 → 2021-06-23]
 27%|██▋       | 35/128 [00:10<00:50,  1.85it/s, 2021-06-17 → 2021-07-07]
 28%|██▊       | 36/128 [00:11<00:59,  1.55it/s, 2021-07-01 → 2021-07-21]
 30%|██▉       | 38/128 [00:12<00:54,  1.65it/s, 2021-07-29 → 2021-08-18]
 30%|███       | 39/128 [00:13<01:00,  1.46it/s, 2021-08-12 → 2021-09-01]
 31%|███▏      | 40/128 [00:14<01:07,  1.31it/s, 2021-08-26 → 2021-09-15]
 33%|███▎      | 42/128 [00:14<00:41,  2.05it/s, 2021-09-25 → 2021-10-22]
 34%|███▍      | 44/128 [00:15<00:28,  2.95it/s, 2021-10-30 → 2021-11-19]
 36%|███▌      | 46/128 [00:16<00:33,  2.44it/s, 2021-11-27 → 2021-12-17]
 37%|███▋      | 47/128 [00:17<00:42,  1.91it/s, 2021-12-11 → 2021-12-31]
 38%|███▊      | 49/128 [00:17<00:28,  2.75it/s, 2022-01-11 → 2022-01-29]
 39%|███▉      | 50/128 [00:17<00:30,  2.52it/s, 2022-01-25 → 2022-02-19]
 40%|███▉      | 51/128 [00:18<00:41,  1.87it/s, 2022-02-15 → 2022-03-05]
 41%|████▏     | 53/128 [00:18<00:26,  2.81it/s, 2022-03-15 → 2022-04-02]
 43%|████▎     | 55/128 [00:20<00:31,  2.31it/s, 2022-04-14 → 2022-05-07]
 45%|████▌     | 58/128 [00:20<00:18,  3.78it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:21<00:22,  2.97it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 61/128 [00:22<00:30,  2.20it/s, 2022-07-13 → 2022-08-02]
 48%|████▊     | 62/128 [00:23<00:37,  1.76it/s, 2022-07-27 → 2022-08-16]
 50%|█████     | 64/128 [00:23<00:24,  2.56it/s, 2022-08-24 → 2022-09-14]
 52%|█████▏    | 66/128 [00:23<00:17,  3.50it/s, 2022-09-22 → 2022-10-19]
 53%|█████▎    | 68/128 [00:24<00:22,  2.67it/s, 2022-10-27 → 2022-11-16]
 54%|█████▍    | 69/128 [00:25<00:29,  2.02it/s, 2022-11-10 → 2022-11-30]
 55%|█████▍    | 70/128 [00:26<00:35,  1.65it/s, 2022-11-24 → 2022-12-14]
 55%|█████▌    | 71/128 [00:27<00:38,  1.49it/s, 2022-12-08 → 2022-12-28]
 56%|█████▋    | 72/128 [00:28<00:41,  1.34it/s, 2022-12-22 → 2023-01-12]
 57%|█████▋    | 73/128 [00:29<00:44,  1.25it/s, 2023-01-06 → 2023-02-02]
 59%|█████▊    | 75/128 [00:30<00:35,  1.48it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:30<00:18,  2.67it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:31<00:17,  2.73it/s, 2023-05-11 → 2023-05-31]
 64%|██████▍   | 82/128 [00:32<00:18,  2.55it/s, 2023-05-25 → 2023-06-14]
 66%|██████▋   | 85/128 [00:32<00:10,  4.02it/s, 2023-07-08 → 2023-07-28]
 68%|██████▊   | 87/128 [00:33<00:13,  3.06it/s, 2023-08-05 → 2023-08-25]
 70%|██████▉   | 89/128 [00:34<00:14,  2.64it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:35<00:15,  2.40it/s, 2023-10-10 → 2023-10-28]
 72%|███████▏  | 92/128 [00:36<00:18,  1.95it/s, 2023-10-24 → 2023-11-11]
 74%|███████▍  | 95/128 [00:36<00:10,  3.18it/s, 2023-12-05 → 2023-12-23]
 75%|███████▌  | 96/128 [00:37<00:10,  3.10it/s, 2023-12-19 → 2024-01-09]
 76%|███████▌  | 97/128 [00:38<00:13,  2.23it/s, 2024-01-03 → 2024-01-23]
 77%|███████▋  | 99/128 [00:39<00:13,  2.13it/s, 2024-01-31 → 2024-02-28]
 78%|███████▊  | 100/128 [00:40<00:16,  1.74it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:41<00:18,  1.49it/s, 2024-03-07 → 2024-03-27]
 81%|████████▏ | 104/128 [00:41<00:08,  2.76it/s, 2024-04-20 → 2024-05-15]
 84%|████████▎ | 107/128 [00:41<00:04,  4.33it/s, 2024-06-06 → 2024-06-27]
 85%|████████▌ | 109/128 [00:41<00:03,  4.78it/s, 2024-07-05 → 2024-07-25]
 87%|████████▋ | 111/128 [00:43<00:07,  2.34it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 113/128 [00:44<00:06,  2.22it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:45<00:07,  1.88it/s, 2024-09-13 → 2024-10-12]
 91%|█████████▏| 117/128 [00:45<00:03,  3.07it/s, 2024-11-05 → 2024-11-23]
 92%|█████████▏| 118/128 [00:46<00:04,  2.37it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:47<00:03,  2.26it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:48<00:03,  1.84it/s, 2024-12-31 → 2025-01-21]
 97%|█████████▋| 124/128 [00:48<00:01,  3.12it/s, 2025-02-20 → 2025-03-12]
 99%|█████████▉| 127/128 [00:48<00:00,  4.68it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:49<00:00,  2.58it/s, 2025-04-03 → 2025-04-25]
2025-05-14 17:22:20 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v5] 优化前的夏普率: 0.98244
2025-05-14 17:22:20 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v5] 优化后的夏普率: 0.2388
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:21 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:21 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:22 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:23 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:25 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:25 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:25 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:26 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:27 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:28 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:29 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:30 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:31 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:31 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:31 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:32 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:33 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:33 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:34 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:35 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:35 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:36 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:22:36 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  4%|▍         | 5/128 [00:02<01:08,  1.79it/s, 2020-03-21 → 2020-04-11]
  6%|▋         | 8/128 [00:02<00:38,  3.12it/s, 2020-05-08 → 2020-05-28]
  9%|▊         | 11/128 [00:03<00:24,  4.76it/s, 2020-06-19 → 2020-07-11]
 11%|█         | 14/128 [00:03<00:17,  6.69it/s, 2020-08-04 → 2020-08-22]
 13%|█▎        | 17/128 [00:03<00:12,  8.74it/s, 2020-09-15 → 2020-10-13]
 16%|█▌        | 20/128 [00:03<00:09, 10.92it/s, 2020-11-04 → 2020-11-24]
 18%|█▊        | 23/128 [00:03<00:07, 13.14it/s, 2020-12-16 → 2021-01-06]
 20%|██        | 26/128 [00:03<00:06, 15.15it/s, 2021-01-28 → 2021-02-24]
 23%|██▎       | 29/128 [00:04<00:09, 10.84it/s, 2021-03-18 → 2021-04-08]
 25%|██▌       | 32/128 [00:04<00:07, 12.91it/s, 2021-04-30 → 2021-05-25]
 27%|██▋       | 34/128 [00:06<00:26,  3.57it/s, 2021-06-02 → 2021-06-23]
 29%|██▉       | 37/128 [00:06<00:18,  4.92it/s, 2021-07-15 → 2021-08-04]
 30%|███       | 39/128 [00:07<00:24,  3.61it/s, 2021-08-12 → 2021-09-01]
 32%|███▏      | 41/128 [00:08<00:29,  2.96it/s, 2021-09-09 → 2021-10-01]
 34%|███▍      | 44/128 [00:08<00:19,  4.26it/s, 2021-10-30 → 2021-11-19]
 36%|███▌      | 46/128 [00:09<00:24,  3.29it/s, 2021-11-27 → 2021-12-17]
 37%|███▋      | 47/128 [00:10<00:33,  2.45it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:10<00:20,  3.78it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:10<00:16,  4.73it/s, 2022-03-01 → 2022-03-19]
 43%|████▎     | 55/128 [00:11<00:19,  3.79it/s, 2022-04-14 → 2022-05-07]
 45%|████▌     | 58/128 [00:12<00:13,  5.32it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:13<00:18,  3.71it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 62/128 [00:14<00:22,  3.00it/s, 2022-07-27 → 2022-08-16]
 51%|█████     | 65/128 [00:14<00:14,  4.34it/s, 2022-09-07 → 2022-09-28]
 52%|█████▏    | 67/128 [00:15<00:18,  3.27it/s, 2022-10-13 → 2022-11-02]
 54%|█████▍    | 69/128 [00:16<00:21,  2.73it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:16<00:13,  4.01it/s, 2022-12-22 → 2023-01-12]
 58%|█████▊    | 74/128 [00:17<00:17,  3.09it/s, 2023-01-20 → 2023-02-16]
 59%|█████▊    | 75/128 [00:18<00:22,  2.32it/s, 2023-02-10 → 2023-03-02]
 60%|██████    | 77/128 [00:18<00:16,  3.18it/s, 2023-03-10 → 2023-03-30]
 62%|██████▏   | 79/128 [00:18<00:11,  4.19it/s, 2023-04-08 → 2023-04-28]
 64%|██████▍   | 82/128 [00:18<00:07,  6.13it/s, 2023-05-25 → 2023-06-14]
 66%|██████▋   | 85/128 [00:19<00:05,  8.31it/s, 2023-07-08 → 2023-07-28]
 68%|██████▊   | 87/128 [00:19<00:04,  9.63it/s, 2023-08-05 → 2023-08-25]
 70%|██████▉   | 89/128 [00:20<00:08,  4.55it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:21<00:11,  3.28it/s, 2023-10-10 → 2023-10-28]
 73%|███████▎  | 93/128 [00:22<00:12,  2.72it/s, 2023-11-07 → 2023-11-25]
 73%|███████▎  | 94/128 [00:23<00:16,  2.10it/s, 2023-11-21 → 2023-12-09]
 76%|███████▌  | 97/128 [00:24<00:13,  2.31it/s, 2024-01-03 → 2024-01-23]
 78%|███████▊  | 100/128 [00:25<00:11,  2.42it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:26<00:13,  1.98it/s, 2024-03-07 → 2024-03-27]
 80%|███████▉  | 102/128 [00:27<00:15,  1.66it/s, 2024-03-21 → 2024-04-12]
 81%|████████▏ | 104/128 [00:27<00:10,  2.35it/s, 2024-04-20 → 2024-05-15]
 83%|████████▎ | 106/128 [00:28<00:06,  3.18it/s, 2024-05-23 → 2024-06-13]
 84%|████████▍ | 108/128 [00:28<00:04,  4.28it/s, 2024-06-21 → 2024-07-11]
 86%|████████▌ | 110/128 [00:30<00:08,  2.09it/s, 2024-07-19 → 2024-08-08]
 87%|████████▋ | 111/128 [00:31<00:09,  1.74it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 112/128 [00:32<00:10,  1.51it/s, 2024-08-16 → 2024-09-05]
 88%|████████▊ | 113/128 [00:33<00:11,  1.35it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:34<00:11,  1.25it/s, 2024-09-13 → 2024-10-12]
 91%|█████████▏| 117/128 [00:34<00:04,  2.41it/s, 2024-11-05 → 2024-11-23]
 92%|█████████▏| 118/128 [00:35<00:05,  1.88it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:36<00:04,  1.90it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:37<00:04,  1.61it/s, 2024-12-31 → 2025-01-21]
 97%|█████████▋| 124/128 [00:37<00:01,  2.83it/s, 2025-02-20 → 2025-03-12]
 99%|█████████▉| 127/128 [00:37<00:00,  4.32it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:38<00:00,  3.31it/s, 2025-04-03 → 2025-04-25]
2025-05-14 17:23:15 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v6] 优化前的夏普率: 0.98596
2025-05-14 17:23:15 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v6] 优化后的夏普率: 0.5567
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:16 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:16 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:17 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:19 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:20 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:20 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:21 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:21 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:22 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:23 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:24 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:25 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:26 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:26 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:26 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:27 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:28 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:28 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:29 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:30 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:30 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:31 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:23:31 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  4%|▍         | 5/128 [00:02<01:08,  1.81it/s, 2020-03-21 → 2020-04-11]
  6%|▋         | 8/128 [00:02<00:38,  3.14it/s, 2020-05-08 → 2020-05-28]
  9%|▊         | 11/128 [00:03<00:24,  4.77it/s, 2020-06-19 → 2020-07-11]
 11%|█         | 14/128 [00:03<00:17,  6.68it/s, 2020-08-04 → 2020-08-22]
 13%|█▎        | 17/128 [00:04<00:23,  4.65it/s, 2020-09-15 → 2020-10-13]
 16%|█▌        | 20/128 [00:04<00:17,  6.25it/s, 2020-11-04 → 2020-11-24]
 18%|█▊        | 23/128 [00:04<00:12,  8.11it/s, 2020-12-16 → 2021-01-06]
 20%|██        | 26/128 [00:04<00:10, 10.04it/s, 2021-01-28 → 2021-02-24]
 22%|██▏       | 28/128 [00:05<00:18,  5.31it/s, 2021-03-04 → 2021-03-24]
 24%|██▍       | 31/128 [00:05<00:13,  7.06it/s, 2021-04-16 → 2021-05-11]
 26%|██▌       | 33/128 [00:06<00:22,  4.32it/s, 2021-05-19 → 2021-06-08]
 27%|██▋       | 35/128 [00:06<00:17,  5.37it/s, 2021-06-17 → 2021-07-07]
 30%|██▉       | 38/128 [00:07<00:12,  7.29it/s, 2021-07-29 → 2021-08-18]
 31%|███▏      | 40/128 [00:08<00:30,  2.87it/s, 2021-08-26 → 2021-09-15]
 33%|███▎      | 42/128 [00:09<00:23,  3.70it/s, 2021-09-25 → 2021-10-22]
 34%|███▍      | 44/128 [00:09<00:17,  4.76it/s, 2021-10-30 → 2021-11-19]
 36%|███▌      | 46/128 [00:10<00:24,  3.39it/s, 2021-11-27 → 2021-12-17]
 38%|███▊      | 48/128 [00:11<00:28,  2.80it/s, 2021-12-25 → 2022-01-15]
 40%|███▉      | 51/128 [00:12<00:27,  2.81it/s, 2022-02-15 → 2022-03-05]
 42%|████▏     | 54/128 [00:12<00:18,  4.06it/s, 2022-03-29 → 2022-04-20]
 44%|████▍     | 56/128 [00:13<00:22,  3.15it/s, 2022-04-28 → 2022-05-21]
 46%|████▌     | 59/128 [00:13<00:15,  4.48it/s, 2022-06-15 → 2022-07-05]
 48%|████▊     | 61/128 [00:15<00:27,  2.43it/s, 2022-07-13 → 2022-08-02]
 50%|█████     | 64/128 [00:15<00:18,  3.52it/s, 2022-08-24 → 2022-09-14]
 52%|█████▏    | 66/128 [00:16<00:21,  2.94it/s, 2022-09-22 → 2022-10-19]
 53%|█████▎    | 68/128 [00:17<00:23,  2.59it/s, 2022-10-27 → 2022-11-16]
 54%|█████▍    | 69/128 [00:18<00:28,  2.08it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:18<00:17,  3.28it/s, 2022-12-22 → 2023-01-12]
 58%|█████▊    | 74/128 [00:19<00:19,  2.74it/s, 2023-01-20 → 2023-02-16]
 59%|█████▊    | 75/128 [00:20<00:24,  2.12it/s, 2023-02-10 → 2023-03-02]
 60%|██████    | 77/128 [00:21<00:17,  2.90it/s, 2023-03-10 → 2023-03-30]
 62%|██████▏   | 79/128 [00:21<00:12,  3.81it/s, 2023-04-08 → 2023-04-28]
 63%|██████▎   | 81/128 [00:21<00:09,  4.84it/s, 2023-05-11 → 2023-05-31]
 64%|██████▍   | 82/128 [00:21<00:08,  5.20it/s, 2023-05-25 → 2023-06-14]
 66%|██████▋   | 85/128 [00:21<00:05,  7.77it/s, 2023-07-08 → 2023-07-28]
 68%|██████▊   | 87/128 [00:22<00:10,  3.99it/s, 2023-08-05 → 2023-08-25]
 70%|██████▉   | 89/128 [00:23<00:13,  2.90it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:25<00:15,  2.44it/s, 2023-10-10 → 2023-10-28]
 73%|███████▎  | 93/128 [00:26<00:15,  2.26it/s, 2023-11-07 → 2023-11-25]
 73%|███████▎  | 94/128 [00:27<00:18,  1.84it/s, 2023-11-21 → 2023-12-09]
 75%|███████▌  | 96/128 [00:27<00:12,  2.58it/s, 2023-12-19 → 2024-01-09]
 76%|███████▌  | 97/128 [00:28<00:15,  1.94it/s, 2024-01-03 → 2024-01-23]
 77%|███████▋  | 99/128 [00:28<00:10,  2.78it/s, 2024-01-31 → 2024-02-28]
 78%|███████▊  | 100/128 [00:29<00:14,  1.99it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:30<00:16,  1.60it/s, 2024-03-07 → 2024-03-27]
 80%|███████▉  | 102/128 [00:31<00:18,  1.40it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:31<00:08,  2.69it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:31<00:04,  4.28it/s, 2024-06-21 → 2024-07-11]
 86%|████████▌ | 110/128 [00:33<00:08,  2.22it/s, 2024-07-19 → 2024-08-08]
 87%|████████▋ | 111/128 [00:34<00:09,  1.83it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 112/128 [00:35<00:10,  1.57it/s, 2024-08-16 → 2024-09-05]
 88%|████████▊ | 113/128 [00:36<00:10,  1.39it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:37<00:11,  1.26it/s, 2024-09-13 → 2024-10-12]
 91%|█████████ | 116/128 [00:38<00:06,  1.98it/s, 2024-10-22 → 2024-11-09]
 92%|█████████▏| 118/128 [00:39<00:05,  1.92it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:40<00:04,  1.85it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:41<00:04,  1.56it/s, 2024-12-31 → 2025-01-21]
 96%|█████████▌| 123/128 [00:41<00:02,  2.28it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 125/128 [00:41<00:00,  3.15it/s, 2025-03-06 → 2025-03-26]
 99%|█████████▉| 127/128 [00:41<00:00,  4.11it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:42<00:00,  2.52it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:42<00:00,  2.98it/s, 2025-04-03 → 2025-04-25]
2025-05-14 17:24:15 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v7] 优化前的夏普率: 1.03078
2025-05-14 17:24:15 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v7] 优化后的夏普率: 0.5688
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:15 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:16 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:16 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:18 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:19 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:20 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:20 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:20 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:22 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:23 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:24 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:24 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:25 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:25 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:26 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:26 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:27 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:27 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:29 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:29 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:30 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:30 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:24:30 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  4%|▍         | 5/128 [00:02<01:09,  1.78it/s, 2020-03-24 → 2020-04-14]
  5%|▌         | 7/128 [00:02<00:45,  2.66it/s, 2020-04-22 → 2020-05-15]
  8%|▊         | 10/128 [00:03<00:27,  4.31it/s, 2020-06-06 → 2020-06-30]
 10%|█         | 13/128 [00:03<00:18,  6.20it/s, 2020-07-22 → 2020-08-11]
 12%|█▎        | 16/128 [00:03<00:13,  8.26it/s, 2020-09-02 → 2020-09-22]
 14%|█▍        | 18/128 [00:04<00:23,  4.65it/s, 2020-09-30 → 2020-10-28]
 16%|█▋        | 21/128 [00:04<00:16,  6.39it/s, 2020-11-19 → 2020-12-09]
 19%|█▉        | 24/128 [00:04<00:12,  8.32it/s, 2020-12-31 → 2021-01-21]
 21%|██        | 27/128 [00:04<00:09, 10.38it/s, 2021-02-19 → 2021-03-11]
 23%|██▎       | 29/128 [00:05<00:18,  5.29it/s, 2021-03-19 → 2021-04-09]
 24%|██▍       | 31/128 [00:05<00:14,  6.48it/s, 2021-04-17 → 2021-05-12]
 26%|██▌       | 33/128 [00:07<00:35,  2.69it/s, 2021-05-20 → 2021-06-09]
 27%|██▋       | 35/128 [00:08<00:38,  2.42it/s, 2021-06-18 → 2021-07-08]
 30%|██▉       | 38/128 [00:08<00:25,  3.57it/s, 2021-07-30 → 2021-08-19]
 31%|███▏      | 40/128 [00:10<00:41,  2.14it/s, 2021-08-27 → 2021-09-16]
 33%|███▎      | 42/128 [00:11<00:31,  2.75it/s, 2021-09-28 → 2021-10-23]
 34%|███▍      | 44/128 [00:11<00:24,  3.45it/s, 2021-11-02 → 2021-11-20]
 36%|███▌      | 46/128 [00:12<00:30,  2.72it/s, 2021-11-30 → 2021-12-18]
 38%|███▊      | 48/128 [00:12<00:22,  3.62it/s, 2021-12-28 → 2022-01-18]
 39%|███▉      | 50/128 [00:12<00:16,  4.75it/s, 2022-01-26 → 2022-02-22]
 41%|████      | 52/128 [00:12<00:12,  6.07it/s, 2022-03-02 → 2022-03-22]
 42%|████▏     | 54/128 [00:12<00:09,  7.63it/s, 2022-03-30 → 2022-04-21]
 44%|████▍     | 56/128 [00:13<00:17,  4.00it/s, 2022-04-29 → 2022-05-24]
 46%|████▌     | 59/128 [00:14<00:11,  5.80it/s, 2022-06-16 → 2022-07-06]
 48%|████▊     | 61/128 [00:16<00:26,  2.51it/s, 2022-07-14 → 2022-08-03]
 50%|█████     | 64/128 [00:16<00:17,  3.71it/s, 2022-08-25 → 2022-09-15]
 52%|█████▏    | 66/128 [00:16<00:13,  4.65it/s, 2022-09-23 → 2022-10-20]
 53%|█████▎    | 68/128 [00:18<00:25,  2.34it/s, 2022-10-28 → 2022-11-17]
 55%|█████▍    | 70/128 [00:19<00:26,  2.20it/s, 2022-11-25 → 2022-12-15]
 56%|█████▋    | 72/128 [00:20<00:26,  2.11it/s, 2022-12-23 → 2023-01-13]
 57%|█████▋    | 73/128 [00:21<00:26,  2.07it/s, 2023-01-07 → 2023-02-03]
 59%|█████▊    | 75/128 [00:22<00:26,  2.00it/s, 2023-02-11 → 2023-03-03]
 60%|██████    | 77/128 [00:22<00:18,  2.80it/s, 2023-03-11 → 2023-03-31]
 62%|██████▏   | 79/128 [00:22<00:12,  3.83it/s, 2023-04-11 → 2023-04-29]
 64%|██████▍   | 82/128 [00:23<00:14,  3.29it/s, 2023-05-26 → 2023-06-15]
 66%|██████▋   | 85/128 [00:23<00:09,  4.70it/s, 2023-07-11 → 2023-07-29]
 69%|██████▉   | 88/128 [00:23<00:06,  6.40it/s, 2023-08-22 → 2023-09-09]
 70%|███████   | 90/128 [00:25<00:13,  2.72it/s, 2023-09-19 → 2023-10-17]
 72%|███████▏  | 92/128 [00:25<00:10,  3.39it/s, 2023-10-25 → 2023-11-14]
 73%|███████▎  | 94/128 [00:27<00:12,  2.72it/s, 2023-11-22 → 2023-12-12]
 74%|███████▍  | 95/128 [00:28<00:15,  2.07it/s, 2023-12-06 → 2023-12-26]
 76%|███████▌  | 97/128 [00:29<00:15,  1.95it/s, 2024-01-04 → 2024-01-24]
 77%|███████▋  | 99/128 [00:29<00:11,  2.64it/s, 2024-02-01 → 2024-02-29]
 78%|███████▊  | 100/128 [00:29<00:09,  2.97it/s, 2024-02-23 → 2024-03-14]
 79%|███████▉  | 101/128 [00:30<00:12,  2.09it/s, 2024-03-08 → 2024-03-28]
 80%|████████  | 103/128 [00:30<00:08,  3.08it/s, 2024-04-09 → 2024-04-27]
 82%|████████▏ | 105/128 [00:30<00:05,  4.36it/s, 2024-05-10 → 2024-05-30]
 84%|████████▍ | 108/128 [00:30<00:03,  6.61it/s, 2024-06-22 → 2024-07-12]
 86%|████████▌ | 110/128 [00:32<00:04,  3.78it/s, 2024-07-20 → 2024-08-09]
 88%|████████▊ | 112/128 [00:33<00:06,  2.60it/s, 2024-08-17 → 2024-09-06]
 88%|████████▊ | 113/128 [00:34<00:07,  2.00it/s, 2024-08-31 → 2024-09-24]
 90%|████████▉ | 115/128 [00:34<00:04,  2.75it/s, 2024-10-09 → 2024-10-29]
 91%|█████████▏| 117/128 [00:34<00:03,  3.61it/s, 2024-11-06 → 2024-11-26]
 92%|█████████▏| 118/128 [00:34<00:02,  3.95it/s, 2024-11-20 → 2024-12-10]
 94%|█████████▍| 120/128 [00:36<00:02,  2.76it/s, 2024-12-18 → 2025-01-08]
 95%|█████████▍| 121/128 [00:37<00:03,  2.01it/s, 2025-01-01 → 2025-01-22]
 96%|█████████▌| 123/128 [00:37<00:01,  2.86it/s, 2025-02-07 → 2025-02-27]
 98%|█████████▊| 125/128 [00:37<00:00,  3.82it/s, 2025-03-07 → 2025-03-27]
 99%|█████████▉| 127/128 [00:37<00:00,  4.67it/s, 2025-04-04 → 2025-04-26]
100%|██████████| 128/128 [00:38<00:00,  2.66it/s, 2025-04-04 → 2025-04-26]
100%|██████████| 128/128 [00:38<00:00,  3.30it/s, 2025-04-04 → 2025-04-26]
2025-05-14 17:25:10 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v8] 优化前的夏普率: 0.72972
2025-05-14 17:25:10 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v8] 优化后的夏普率: 0.36402
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:10 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:11 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:12 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:13 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:15 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:15 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:15 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:16 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:17 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:18 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:19 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:20 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:21 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:21 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:21 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:22 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:23 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:23 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:24 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:25 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:26 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:26 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:25:26 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  4%|▍         | 5/128 [00:02<01:09,  1.78it/s, 2020-03-21 → 2020-04-11]
  6%|▋         | 8/128 [00:02<00:38,  3.08it/s, 2020-05-08 → 2020-05-28]
  8%|▊         | 10/128 [00:03<00:28,  4.15it/s, 2020-06-05 → 2020-06-25]
 10%|█         | 13/128 [00:03<00:18,  6.09it/s, 2020-07-21 → 2020-08-08]
 12%|█▎        | 16/128 [00:03<00:13,  8.17it/s, 2020-09-01 → 2020-09-19]
 14%|█▍        | 18/128 [00:04<00:24,  4.53it/s, 2020-09-29 → 2020-10-27]
 16%|█▋        | 21/128 [00:04<00:17,  6.29it/s, 2020-11-18 → 2020-12-08]
 19%|█▉        | 24/128 [00:04<00:12,  8.25it/s, 2020-12-30 → 2021-01-20]
 21%|██        | 27/128 [00:04<00:09, 10.34it/s, 2021-02-11 → 2021-03-10]
 23%|██▎       | 29/128 [00:05<00:18,  5.26it/s, 2021-03-18 → 2021-04-08]
 25%|██▌       | 32/128 [00:05<00:13,  7.02it/s, 2021-04-30 → 2021-05-25]
 27%|██▋       | 34/128 [00:07<00:32,  2.90it/s, 2021-06-02 → 2021-06-23]
 29%|██▉       | 37/128 [00:07<00:22,  4.11it/s, 2021-07-15 → 2021-08-04]
 30%|███       | 39/128 [00:09<00:27,  3.23it/s, 2021-08-12 → 2021-09-01]
 32%|███▏      | 41/128 [00:10<00:31,  2.76it/s, 2021-09-09 → 2021-10-01]
 34%|███▍      | 44/128 [00:10<00:20,  4.00it/s, 2021-10-30 → 2021-11-19]
 36%|███▌      | 46/128 [00:11<00:25,  3.16it/s, 2021-11-27 → 2021-12-17]
 37%|███▋      | 47/128 [00:12<00:34,  2.38it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:12<00:21,  3.68it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:13<00:25,  2.95it/s, 2022-03-01 → 2022-03-19]
 43%|████▎     | 55/128 [00:13<00:17,  4.08it/s, 2022-04-14 → 2022-05-07]
 45%|████▌     | 58/128 [00:13<00:12,  5.65it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:14<00:17,  3.83it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 61/128 [00:15<00:24,  2.71it/s, 2022-07-13 → 2022-08-02]
 50%|█████     | 64/128 [00:15<00:15,  4.12it/s, 2022-08-24 → 2022-09-14]
 52%|█████▏    | 66/128 [00:16<00:12,  5.06it/s, 2022-09-22 → 2022-10-19]
 53%|█████▎    | 68/128 [00:17<00:17,  3.45it/s, 2022-10-27 → 2022-11-16]
 54%|█████▍    | 69/128 [00:18<00:23,  2.47it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:18<00:14,  3.90it/s, 2022-12-22 → 2023-01-12]
 58%|█████▊    | 74/128 [00:19<00:17,  3.02it/s, 2023-01-20 → 2023-02-16]
 59%|█████▊    | 75/128 [00:20<00:23,  2.26it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:20<00:13,  3.62it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:20<00:08,  5.27it/s, 2023-05-11 → 2023-05-31]
 66%|██████▌   | 84/128 [00:20<00:06,  7.16it/s, 2023-06-22 → 2023-07-14]
 67%|██████▋   | 86/128 [00:20<00:05,  7.60it/s, 2023-07-22 → 2023-08-11]
 69%|██████▉   | 88/128 [00:21<00:04,  9.07it/s, 2023-08-19 → 2023-09-08]
 70%|███████   | 90/128 [00:22<00:08,  4.50it/s, 2023-09-16 → 2023-10-14]
 72%|███████▏  | 92/128 [00:23<00:10,  3.28it/s, 2023-10-24 → 2023-11-11]
 73%|███████▎  | 93/128 [00:24<00:14,  2.38it/s, 2023-11-07 → 2023-11-25]
 74%|███████▍  | 95/128 [00:24<00:10,  3.28it/s, 2023-12-05 → 2023-12-23]
 76%|███████▌  | 97/128 [00:25<00:11,  2.69it/s, 2024-01-03 → 2024-01-23]
 78%|███████▊  | 100/128 [00:26<00:10,  2.73it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:27<00:12,  2.14it/s, 2024-03-07 → 2024-03-27]
 80%|███████▉  | 102/128 [00:28<00:14,  1.77it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:28<00:07,  2.99it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:28<00:04,  4.51it/s, 2024-06-21 → 2024-07-11]
 86%|████████▌ | 110/128 [00:30<00:07,  2.33it/s, 2024-07-19 → 2024-08-08]
 87%|████████▋ | 111/128 [00:31<00:08,  1.92it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 112/128 [00:32<00:09,  1.64it/s, 2024-08-16 → 2024-09-05]
 88%|████████▊ | 113/128 [00:33<00:10,  1.44it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:34<00:10,  1.30it/s, 2024-09-13 → 2024-10-12]
 91%|█████████ | 116/128 [00:34<00:05,  2.05it/s, 2024-10-22 → 2024-11-09]
 92%|█████████▏| 118/128 [00:35<00:04,  2.01it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:36<00:04,  1.98it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:37<00:04,  1.67it/s, 2024-12-31 → 2025-01-21]
 97%|█████████▋| 124/128 [00:37<00:01,  2.87it/s, 2025-02-20 → 2025-03-12]
 99%|█████████▉| 127/128 [00:38<00:00,  4.34it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:39<00:00,  3.28it/s, 2025-04-03 → 2025-04-25]
2025-05-14 17:26:06 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v9] 优化前的夏普率: 1.00784
2025-05-14 17:26:06 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v9] 优化后的夏普率: 0.62503
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:07 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:07 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:08 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:09 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:11 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:11 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:12 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:12 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:13 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:14 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:15 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:16 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:17 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:17 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:17 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:18 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:19 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:19 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:20 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:21 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:22 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:22 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 17:26:22 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
[2025-05-14 17:26:25,204][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:25,205][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:25,212][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:25,213][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:25,220][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:25,221][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:28,965][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:28,966][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:28,973][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:28,974][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:28,981][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 17:26:28,982][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
2025-05-14 17:26:37 | INFO | metric_online:run_with_hydra:1006 - {'action': 'parallel_done', 'success_count': 1, 'fail_count': 0}
生成的参数组合数量:45
2025-05-14 19:07:38 | INFO | metric_online:run_with_hydra:972 - Total tasks generated: 45
2025-05-14 19:07:38 | INFO | metric_online:run_with_hydra:989 - Starting parallel execution with n_jobs=1...
2025-05-14 19:07:45 | INFO | metric_online:main2:871 - save train test done /root/data/Research1//feature/finalcomd//B8Wstats250412/B8Wstats250412_0--combo52
/root/project/auto/auto/metric_online.py:673: FutureWarning: The default of observed=False is deprecated and will be changed to True in a future version of pandas. Pass observed=False to retain current behavior or observed=True to adopt the future default and silence this warning.
  data_dict['pearson_next'] = self.calculate_func_metric(func='pearson', key='next', priceT1=self.close, priceT0=self.opencol.groupby(level='comd').shift(-1), scaled_x=False)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:50 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:50 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:51 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:51 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:51 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:53 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:53 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:53 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:54 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:54 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:58 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:59 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:59 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:09:59 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:00 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:00 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:00 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:00 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:01 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:01 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:04 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:04 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:05 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:05 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:05 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:06 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:06 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:06 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:06 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:07 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:07 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:07 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:08 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:08 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:08 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:08 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:09 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:09 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:09 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:09 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:12 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:13 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:13 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:13 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:14 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:18 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:18 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:18 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:19 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:19 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:22 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:22 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:23 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:23 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:23 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:23 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:24 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:24 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:24 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:25 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:25 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:25 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:25 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:26 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:26 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:30 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:31 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:31 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:31 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:31 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:32 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:32 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:32 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:33 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:33 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:33 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:33 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:34 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:34 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:34 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:35 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:35 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:35 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:35 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:36 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:37 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:38 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:38 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:38 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:38 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:39 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:39 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:39 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:40 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:40 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:42 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:42 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:42 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:42 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:43 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:44 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:45 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:45 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:45 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:45 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:47 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:47 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:48 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:48 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:48 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:49 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:49 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:49 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:49 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:10:50 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
config_key B8Wstats250412 not found in config_dict
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  4%|▍         | 5/128 [00:02<00:49,  2.49it/s, 2020-03-21 → 2020-04-11]
  6%|▋         | 8/128 [00:02<00:28,  4.24it/s, 2020-05-08 → 2020-05-28]
  9%|▊         | 11/128 [00:02<00:18,  6.23it/s, 2020-06-19 → 2020-07-11]
 11%|█         | 14/128 [00:02<00:13,  8.46it/s, 2020-08-04 → 2020-08-22]
 12%|█▎        | 16/128 [00:02<00:11,  9.86it/s, 2020-09-01 → 2020-09-19]
 15%|█▍        | 19/128 [00:02<00:08, 12.18it/s, 2020-10-21 → 2020-11-10]
 17%|█▋        | 22/128 [00:02<00:07, 13.97it/s, 2020-12-02 → 2020-12-22]
 20%|█▉        | 25/128 [00:02<00:06, 15.71it/s, 2021-01-14 → 2021-02-03]
 22%|██▏       | 28/128 [00:03<00:05, 17.27it/s, 2021-03-04 → 2021-03-24]
 24%|██▍       | 31/128 [00:03<00:05, 18.42it/s, 2021-04-16 → 2021-05-11]
 27%|██▋       | 34/128 [00:03<00:04, 19.50it/s, 2021-06-02 → 2021-06-23]
 29%|██▉       | 37/128 [00:03<00:04, 20.38it/s, 2021-07-15 → 2021-08-04]
 31%|███▏      | 40/128 [00:04<00:12,  6.95it/s, 2021-08-26 → 2021-09-15]
 33%|███▎      | 42/128 [00:04<00:11,  7.72it/s, 2021-09-25 → 2021-10-22]
 34%|███▍      | 44/128 [00:04<00:09,  8.49it/s, 2021-10-30 → 2021-11-19]
 36%|███▌      | 46/128 [00:05<00:11,  6.98it/s, 2021-11-27 → 2021-12-17]
 38%|███▊      | 48/128 [00:05<00:10,  7.96it/s, 2021-12-25 → 2022-01-15]
 39%|███▉      | 50/128 [00:05<00:08,  8.81it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:05<00:07,  9.55it/s, 2022-03-01 → 2022-03-19]
 42%|████▏     | 54/128 [00:05<00:07, 10.19it/s, 2022-03-29 → 2022-04-20]
 44%|████▍     | 56/128 [00:06<00:06, 10.72it/s, 2022-04-28 → 2022-05-21]
 45%|████▌     | 58/128 [00:06<00:06, 11.10it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:06<00:05, 11.42it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 62/128 [00:06<00:05, 11.64it/s, 2022-07-27 → 2022-08-16]
 50%|█████     | 64/128 [00:06<00:05, 11.80it/s, 2022-08-24 → 2022-09-14]
 52%|█████▏    | 66/128 [00:06<00:05, 11.89it/s, 2022-09-22 → 2022-10-19]
 53%|█████▎    | 68/128 [00:07<00:05, 11.89it/s, 2022-10-27 → 2022-11-16]
 55%|█████▍    | 70/128 [00:07<00:04, 11.93it/s, 2022-11-24 → 2022-12-14]
 56%|█████▋    | 72/128 [00:07<00:04, 12.03it/s, 2022-12-22 → 2023-01-12]
 58%|█████▊    | 74/128 [00:07<00:04, 12.04it/s, 2023-01-20 → 2023-02-16]
 59%|█████▉    | 76/128 [00:07<00:04, 11.98it/s, 2023-02-24 → 2023-03-16]
 61%|██████    | 78/128 [00:07<00:04, 12.04it/s, 2023-03-24 → 2023-04-14]
 62%|██████▎   | 80/128 [00:08<00:03, 12.06it/s, 2023-04-22 → 2023-05-17]
 64%|██████▍   | 82/128 [00:08<00:03, 12.12it/s, 2023-05-25 → 2023-06-14]
 66%|██████▌   | 84/128 [00:08<00:03, 12.16it/s, 2023-06-22 → 2023-07-14]
 67%|██████▋   | 86/128 [00:08<00:03, 12.21it/s, 2023-07-22 → 2023-08-11]
 69%|██████▉   | 88/128 [00:08<00:03, 12.24it/s, 2023-08-19 → 2023-09-08]
 70%|███████   | 90/128 [00:08<00:03, 12.26it/s, 2023-09-16 → 2023-10-14]
 72%|███████▏  | 92/128 [00:09<00:02, 13.14it/s, 2023-10-24 → 2023-11-11]
 73%|███████▎  | 94/128 [00:09<00:02, 13.23it/s, 2023-11-21 → 2023-12-09]
 76%|███████▌  | 97/128 [00:09<00:02, 15.09it/s, 2024-01-03 → 2024-01-23]
 78%|███████▊  | 100/128 [00:09<00:01, 16.70it/s, 2024-02-22 → 2024-03-13]
 80%|████████  | 103/128 [00:09<00:01, 18.07it/s, 2024-04-04 → 2024-04-26]
 83%|████████▎ | 106/128 [00:09<00:01, 19.30it/s, 2024-05-23 → 2024-06-13]
 85%|████████▌ | 109/128 [00:09<00:00, 19.71it/s, 2024-07-05 → 2024-07-25]
 87%|████████▋ | 111/128 [00:11<00:04,  3.84it/s, 2024-08-02 → 2024-08-22]
 89%|████████▉ | 114/128 [00:11<00:02,  5.31it/s, 2024-09-13 → 2024-10-12]
 91%|█████████▏| 117/128 [00:12<00:01,  7.06it/s, 2024-11-05 → 2024-11-23]
 94%|█████████▍| 120/128 [00:12<00:00,  9.03it/s, 2024-12-17 → 2025-01-07]
 96%|█████████▌| 123/128 [00:12<00:00, 11.06it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 126/128 [00:12<00:00, 13.03it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:12<00:00, 10.16it/s, 2025-04-03 → 2025-04-24]
2025-05-14 19:11:06 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v5] 优化前的夏普率: 3.78136
2025-05-14 19:11:06 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v5] 优化后的夏普率: 6.05268
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:06 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:07 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:08 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:09 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:10 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:10 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:10 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:11 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:12 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:13 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:14 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:14 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:15 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:16 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:16 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:17 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:17 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:18 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:18 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:19 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:19 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:20 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:21 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

 30%|███       | 39/128 [00:02<00:06, 14.71it/s, 2021-08-12 → 2021-09-01]
 33%|███▎      | 42/128 [00:02<00:05, 15.23it/s, 2021-09-25 → 2021-10-22]
 35%|███▌      | 45/128 [00:02<00:05, 15.85it/s, 2021-11-13 → 2021-12-03]
 38%|███▊      | 48/128 [00:03<00:04, 16.56it/s, 2021-12-25 → 2022-01-15]
 40%|███▉      | 51/128 [00:03<00:04, 17.27it/s, 2022-02-15 → 2022-03-05]
 42%|████▏     | 54/128 [00:03<00:04, 18.10it/s, 2022-03-29 → 2022-04-20]
 45%|████▍     | 57/128 [00:03<00:03, 18.91it/s, 2022-05-17 → 2022-06-07]
 47%|████▋     | 60/128 [00:03<00:03, 19.61it/s, 2022-06-29 → 2022-07-19]
 49%|████▉     | 63/128 [00:03<00:03, 20.27it/s, 2022-08-10 → 2022-08-30]
 52%|█████▏    | 66/128 [00:03<00:02, 20.98it/s, 2022-09-22 → 2022-10-19]
 54%|█████▍    | 69/128 [00:03<00:02, 21.55it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:04<00:02, 21.91it/s, 2022-12-22 → 2023-01-12]
 59%|█████▊    | 75/128 [00:04<00:02, 21.45it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:04<00:02, 17.59it/s, 2023-03-24 → 2023-04-14]
 62%|██████▎   | 80/128 [00:04<00:02, 16.05it/s, 2023-04-22 → 2023-05-17]
 64%|██████▍   | 82/128 [00:04<00:03, 14.93it/s, 2023-05-25 → 2023-06-14]
 66%|██████▌   | 84/128 [00:05<00:03, 14.13it/s, 2023-06-22 → 2023-07-14]
 67%|██████▋   | 86/128 [00:05<00:03, 13.56it/s, 2023-07-22 → 2023-08-11]
 69%|██████▉   | 88/128 [00:05<00:03, 13.14it/s, 2023-08-19 → 2023-09-08]
 70%|███████   | 90/128 [00:05<00:02, 12.81it/s, 2023-09-16 → 2023-10-14]
 72%|███████▏  | 92/128 [00:05<00:02, 12.11it/s, 2023-10-24 → 2023-11-11]
 73%|███████▎  | 94/128 [00:05<00:02, 12.08it/s, 2023-11-21 → 2023-12-09]
 75%|███████▌  | 96/128 [00:06<00:02, 12.12it/s, 2023-12-19 → 2024-01-09]
 77%|███████▋  | 98/128 [00:06<00:02, 12.15it/s, 2024-01-17 → 2024-02-06]
 78%|███████▊  | 100/128 [00:06<00:02, 12.19it/s, 2024-02-22 → 2024-03-13]
 80%|███████▉  | 102/128 [00:06<00:02, 12.18it/s, 2024-03-21 → 2024-04-12]
 81%|████████▏ | 104/128 [00:06<00:01, 12.21it/s, 2024-04-20 → 2024-05-15]
 83%|████████▎ | 106/128 [00:06<00:01, 12.25it/s, 2024-05-23 → 2024-06-13]
 84%|████████▍ | 108/128 [00:06<00:01, 12.30it/s, 2024-06-21 → 2024-07-11]
 86%|████████▌ | 110/128 [00:07<00:01, 12.35it/s, 2024-07-19 → 2024-08-08]
 88%|████████▊ | 112/128 [00:07<00:01, 12.31it/s, 2024-08-16 → 2024-09-05]
 89%|████████▉ | 114/128 [00:07<00:01, 12.27it/s, 2024-09-13 → 2024-10-12]
 91%|█████████ | 116/128 [00:07<00:00, 12.00it/s, 2024-10-22 → 2024-11-09]
 92%|█████████▏| 118/128 [00:07<00:00, 12.08it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:07<00:00, 12.06it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▌| 122/128 [00:08<00:00, 12.09it/s, 2025-01-15 → 2025-02-12]
 97%|█████████▋| 124/128 [00:08<00:00, 12.13it/s, 2025-02-20 → 2025-03-12]
 98%|█████████▊| 126/128 [00:08<00:00, 12.22it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:08<00:00, 12.23it/s, 2025-04-03 → 2025-04-24]
100%|██████████| 128/128 [00:08<00:00, 14.81it/s, 2025-04-03 → 2025-04-24]
2025-05-14 19:11:30 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v6] 优化前的夏普率: 4.1654
2025-05-14 19:11:30 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v6] 优化后的夏普率: 6.57596
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:30 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:31 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:32 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:33 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:34 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:34 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:34 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:35 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:36 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:37 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:38 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:38 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:39 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:40 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:40 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:41 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:41 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:42 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:42 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:43 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:43 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:44 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:44 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

 30%|███       | 39/128 [00:02<00:06, 14.09it/s, 2021-08-12 → 2021-09-01]
 32%|███▏      | 41/128 [00:02<00:06, 13.94it/s, 2021-09-09 → 2021-10-01]
 34%|███▎      | 43/128 [00:03<00:06, 13.71it/s, 2021-10-16 → 2021-11-05]
 35%|███▌      | 45/128 [00:03<00:06, 13.46it/s, 2021-11-13 → 2021-12-03]
 37%|███▋      | 47/128 [00:03<00:06, 13.20it/s, 2021-12-11 → 2021-12-31]
 38%|███▊      | 49/128 [00:03<00:06, 12.91it/s, 2022-01-11 → 2022-01-29]
 40%|███▉      | 51/128 [00:03<00:06, 12.54it/s, 2022-02-15 → 2022-03-05]
 41%|████▏     | 53/128 [00:03<00:05, 13.28it/s, 2022-03-15 → 2022-04-02]
 44%|████▍     | 56/128 [00:04<00:04, 15.05it/s, 2022-04-28 → 2022-05-21]
 46%|████▌     | 59/128 [00:04<00:04, 16.46it/s, 2022-06-15 → 2022-07-05]
 48%|████▊     | 62/128 [00:04<00:03, 17.58it/s, 2022-07-27 → 2022-08-16]
 50%|█████     | 64/128 [00:04<00:03, 17.79it/s, 2022-08-24 → 2022-09-14]
 52%|█████▏    | 66/128 [00:04<00:03, 17.94it/s, 2022-09-22 → 2022-10-19]
 54%|█████▍    | 69/128 [00:04<00:03, 18.88it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:04<00:02, 19.54it/s, 2022-12-22 → 2023-01-12]
 59%|█████▊    | 75/128 [00:04<00:02, 19.80it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:05<00:02, 20.36it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:05<00:02, 20.86it/s, 2023-05-11 → 2023-05-31]
 66%|██████▌   | 84/128 [00:05<00:02, 20.90it/s, 2023-06-22 → 2023-07-14]
 68%|██████▊   | 87/128 [00:05<00:02, 19.82it/s, 2023-08-05 → 2023-08-25]
 70%|███████   | 90/128 [00:05<00:01, 20.39it/s, 2023-09-16 → 2023-10-14]
 73%|███████▎  | 93/128 [00:05<00:01, 20.85it/s, 2023-11-07 → 2023-11-25]
 75%|███████▌  | 96/128 [00:05<00:01, 20.66it/s, 2023-12-19 → 2024-01-09]
 77%|███████▋  | 99/128 [00:06<00:01, 21.15it/s, 2024-01-31 → 2024-02-28]
 80%|███████▉  | 102/128 [00:06<00:01, 21.50it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:06<00:01, 21.67it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:06<00:00, 21.79it/s, 2024-06-21 → 2024-07-11]
 87%|████████▋ | 111/128 [00:06<00:00, 21.65it/s, 2024-08-02 → 2024-08-22]
 89%|████████▉ | 114/128 [00:06<00:00, 21.48it/s, 2024-09-13 → 2024-10-12]
 91%|█████████▏| 117/128 [00:06<00:00, 20.82it/s, 2024-11-05 → 2024-11-23]
 94%|█████████▍| 120/128 [00:07<00:00, 19.94it/s, 2024-12-17 → 2025-01-07]
 96%|█████████▌| 123/128 [00:07<00:00, 19.73it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 126/128 [00:07<00:00, 19.77it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:07<00:00, 18.46it/s, 2025-04-03 → 2025-04-24]
100%|██████████| 128/128 [00:07<00:00, 16.88it/s, 2025-04-03 → 2025-04-24]
2025-05-14 19:11:53 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v7] 优化前的夏普率: 4.72813
2025-05-14 19:11:53 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v7] 优化后的夏普率: 6.34283
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:53 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:54 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:55 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:55 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:56 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:57 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:57 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:57 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:11:58 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:00 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:01 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:01 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:01 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:03 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:03 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:03 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:04 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:04 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:05 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:05 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:06 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:07 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:07 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

 34%|███▎      | 43/128 [00:02<00:03, 21.40it/s, 2021-10-19 → 2021-11-06]
 36%|███▌      | 46/128 [00:02<00:03, 21.37it/s, 2021-11-30 → 2021-12-18]
 38%|███▊      | 49/128 [00:02<00:03, 21.36it/s, 2022-01-12 → 2022-02-08]
 41%|████      | 52/128 [00:02<00:03, 21.39it/s, 2022-03-02 → 2022-03-22]
 43%|████▎     | 55/128 [00:02<00:03, 21.38it/s, 2022-04-15 → 2022-05-10]
 45%|████▌     | 58/128 [00:02<00:03, 21.35it/s, 2022-06-01 → 2022-06-22]
 48%|████▊     | 61/128 [00:02<00:03, 21.38it/s, 2022-07-14 → 2022-08-03]
 50%|█████     | 64/128 [00:02<00:02, 21.74it/s, 2022-08-25 → 2022-09-15]
 52%|█████▏    | 67/128 [00:03<00:02, 21.74it/s, 2022-10-14 → 2022-11-03]
 55%|█████▍    | 70/128 [00:03<00:02, 21.38it/s, 2022-11-25 → 2022-12-15]
 57%|█████▋    | 73/128 [00:03<00:02, 21.51it/s, 2023-01-07 → 2023-02-03]
 59%|█████▉    | 76/128 [00:03<00:02, 20.48it/s, 2023-02-25 → 2023-03-17]
 62%|██████▏   | 79/128 [00:03<00:02, 20.91it/s, 2023-04-11 → 2023-04-29]
 64%|██████▍   | 82/128 [00:03<00:02, 21.16it/s, 2023-05-26 → 2023-06-15]
 66%|██████▋   | 85/128 [00:03<00:02, 21.28it/s, 2023-07-11 → 2023-07-29]
 69%|██████▉   | 88/128 [00:04<00:01, 21.32it/s, 2023-08-22 → 2023-09-09]
 71%|███████   | 91/128 [00:04<00:01, 21.05it/s, 2023-10-11 → 2023-10-31]
 73%|███████▎  | 94/128 [00:04<00:01, 21.06it/s, 2023-11-22 → 2023-12-12]
 76%|███████▌  | 97/128 [00:04<00:01, 21.47it/s, 2024-01-04 → 2024-01-24]
 78%|███████▊  | 100/128 [00:04<00:01, 21.78it/s, 2024-02-23 → 2024-03-14]
 80%|████████  | 103/128 [00:04<00:01, 21.45it/s, 2024-04-09 → 2024-04-27]
 83%|████████▎ | 106/128 [00:04<00:01, 21.65it/s, 2024-05-24 → 2024-06-14]
 85%|████████▌ | 109/128 [00:05<00:00, 21.65it/s, 2024-07-06 → 2024-07-26]
 88%|████████▊ | 112/128 [00:05<00:00, 21.46it/s, 2024-08-17 → 2024-09-06]
 90%|████████▉ | 115/128 [00:05<00:00, 21.59it/s, 2024-10-09 → 2024-10-29]
 92%|█████████▏| 118/128 [00:05<00:00, 21.64it/s, 2024-11-20 → 2024-12-10]
 95%|█████████▍| 121/128 [00:05<00:00, 21.41it/s, 2025-01-01 → 2025-01-22]
 97%|█████████▋| 124/128 [00:05<00:00, 21.59it/s, 2025-02-21 → 2025-03-13]
 99%|█████████▉| 127/128 [00:05<00:00, 21.95it/s, 2025-04-04 → 2025-04-25]
100%|██████████| 128/128 [00:05<00:00, 21.43it/s, 2025-04-04 → 2025-04-25]
2025-05-14 19:12:14 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v8] 优化前的夏普率: 10.52209
2025-05-14 19:12:14 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v8] 优化后的夏普率: 10.18662
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:14 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:15 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:16 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:17 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:18 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:18 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:18 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:19 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:20 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:21 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:22 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:22 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:23 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:24 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:25 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:25 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:25 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:26 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:26 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:27 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:27 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:28 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:29 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

 19%|█▉        | 24/128 [00:02<00:08, 11.95it/s, 2020-12-30 → 2021-01-20]
 20%|██        | 26/128 [00:02<00:08, 11.93it/s, 2021-01-28 → 2021-02-24]
 22%|██▏       | 28/128 [00:02<00:08, 11.87it/s, 2021-03-04 → 2021-03-24]
 23%|██▎       | 30/128 [00:02<00:08, 11.90it/s, 2021-04-01 → 2021-04-22]
 25%|██▌       | 32/128 [00:02<00:07, 12.69it/s, 2021-04-30 → 2021-05-25]
 27%|██▋       | 34/128 [00:02<00:06, 13.62it/s, 2021-06-02 → 2021-06-23]
 28%|██▊       | 36/128 [00:02<00:06, 14.53it/s, 2021-07-01 → 2021-07-21]
 30%|███       | 39/128 [00:03<00:14,  6.08it/s, 2021-08-12 → 2021-09-01]
 33%|███▎      | 42/128 [00:04<00:10,  7.88it/s, 2021-09-25 → 2021-10-22]
 35%|███▌      | 45/128 [00:04<00:08,  9.83it/s, 2021-11-13 → 2021-12-03]
 38%|███▊      | 48/128 [00:04<00:06, 11.75it/s, 2021-12-25 → 2022-01-15]
 39%|███▉      | 50/128 [00:04<00:06, 12.88it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:04<00:05, 14.03it/s, 2022-03-01 → 2022-03-19]
 42%|████▏     | 54/128 [00:04<00:04, 14.89it/s, 2022-03-29 → 2022-04-20]
 44%|████▍     | 56/128 [00:04<00:05, 14.39it/s, 2022-04-28 → 2022-05-21]
 45%|████▌     | 58/128 [00:04<00:04, 14.21it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:05<00:04, 14.15it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 62/128 [00:05<00:04, 14.04it/s, 2022-07-27 → 2022-08-16]
 50%|█████     | 64/128 [00:05<00:04, 13.73it/s, 2022-08-24 → 2022-09-14]
 52%|█████▏    | 66/128 [00:05<00:04, 15.05it/s, 2022-09-22 → 2022-10-19]
 54%|█████▍    | 69/128 [00:05<00:03, 16.71it/s, 2022-11-10 → 2022-11-30]
 55%|█████▌    | 71/128 [00:05<00:03, 17.39it/s, 2022-12-08 → 2022-12-28]
 57%|█████▋    | 73/128 [00:05<00:03, 17.95it/s, 2023-01-06 → 2023-02-02]
 59%|█████▊    | 75/128 [00:05<00:02, 18.45it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:06<00:02, 19.37it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:06<00:02, 20.00it/s, 2023-05-11 → 2023-05-31]
 66%|██████▌   | 84/128 [00:06<00:02, 20.38it/s, 2023-06-22 → 2023-07-14]
 68%|██████▊   | 87/128 [00:06<00:01, 20.76it/s, 2023-08-05 → 2023-08-25]
 70%|███████   | 90/128 [00:06<00:01, 20.63it/s, 2023-09-16 → 2023-10-14]
 73%|███████▎  | 93/128 [00:06<00:01, 20.05it/s, 2023-11-07 → 2023-11-25]
 75%|███████▌  | 96/128 [00:06<00:01, 19.83it/s, 2023-12-19 → 2024-01-09]
 77%|███████▋  | 99/128 [00:07<00:01, 20.28it/s, 2024-01-31 → 2024-02-28]
 80%|███████▉  | 102/128 [00:07<00:01, 19.51it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:07<00:01, 19.39it/s, 2024-05-09 → 2024-05-29]
 84%|████████▎ | 107/128 [00:07<00:01, 17.68it/s, 2024-06-06 → 2024-06-27]
 85%|████████▌ | 109/128 [00:07<00:01, 17.68it/s, 2024-07-05 → 2024-07-25]
 87%|████████▋ | 111/128 [00:07<00:00, 18.16it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 113/128 [00:07<00:00, 17.91it/s, 2024-08-30 → 2024-09-21]
 90%|████████▉ | 115/128 [00:08<00:00, 17.70it/s, 2024-10-01 → 2024-10-26]
 92%|█████████▏| 118/128 [00:08<00:00, 18.78it/s, 2024-11-19 → 2024-12-07]
 95%|█████████▍| 121/128 [00:08<00:00, 19.43it/s, 2024-12-31 → 2025-01-21]
 97%|█████████▋| 124/128 [00:08<00:00, 20.19it/s, 2025-02-20 → 2025-03-12]
 99%|█████████▉| 127/128 [00:08<00:00, 20.66it/s, 2025-04-03 → 2025-04-24]
100%|██████████| 128/128 [00:08<00:00, 14.79it/s, 2025-04-03 → 2025-04-24]
2025-05-14 19:12:38 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v9] 优化前的夏普率: 4.60447
2025-05-14 19:12:38 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v9] 优化后的夏普率: 6.02162
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:38 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:39 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:40 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:41 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:42 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:42 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:43 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:43 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:44 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:45 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:46 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:47 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:47 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:48 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:49 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:49 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:49 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:50 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:50 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:51 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:52 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:52 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:12:53 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
[2025-05-14 19:12:55,541][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:55,542][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:55,550][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:55,551][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:55,558][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:55,559][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:59,345][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:59,347][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:59,355][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:59,356][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:59,364][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:12:59,365][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
/root/project/auto/auto/metric_online.py:673: FutureWarning: The default of observed=False is deprecated and will be changed to True in a future version of pandas. Pass observed=False to retain current behavior or observed=True to adopt the future default and silence this warning.
  data_dict['pearson_next'] = self.calculate_func_metric(func='pearson', key='next', priceT1=self.close, priceT0=self.opencol.groupby(level='comd').shift(-1), scaled_x=False)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:10 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:11 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:11 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:12 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:12 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:14 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:14 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:15 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:15 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:15 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:21 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:21 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:22 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:22 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:22 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:23 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:23 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:23 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:24 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:24 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:28 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:28 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:29 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:29 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:29 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:30 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:30 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:31 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:31 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:31 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:32 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:32 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:32 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:33 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:33 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:33 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:34 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:34 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:34 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:35 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:39 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:39 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:39 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:40 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:40 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:46 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:46 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:46 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:47 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:47 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:51 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:51 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:52 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:52 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:52 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:53 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:53 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:54 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:54 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:54 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:55 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:55 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:55 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:56 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:15:56 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:02 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:02 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:02 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:03 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:03 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:03 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:04 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:04 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:05 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:05 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:05 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:06 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:06 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:06 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:07 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:07 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:07 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:08 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:08 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:08 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:10 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:11 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:11 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:11 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:12 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:12 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:13 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:13 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:13 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:14 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:16 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:16 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:16 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:17 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:17 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:19 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:20 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:20 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:20 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:21 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:23 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:23 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:24 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:24 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:24 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:25 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:25 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:26 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:26 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:16:26 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  4%|▍         | 5/128 [00:02<01:09,  1.76it/s, 2020-03-21 → 2020-04-11]
  6%|▋         | 8/128 [00:02<00:39,  3.04it/s, 2020-05-08 → 2020-05-28]
  9%|▊         | 11/128 [00:03<00:25,  4.61it/s, 2020-06-19 → 2020-07-11]
 10%|█         | 13/128 [00:03<00:19,  5.80it/s, 2020-07-21 → 2020-08-08]
 12%|█▎        | 16/128 [00:03<00:14,  7.89it/s, 2020-09-01 → 2020-09-19]
 14%|█▍        | 18/128 [00:04<00:24,  4.53it/s, 2020-09-29 → 2020-10-27]
 16%|█▋        | 21/128 [00:04<00:16,  6.32it/s, 2020-11-18 → 2020-12-08]
 19%|█▉        | 24/128 [00:04<00:12,  8.36it/s, 2020-12-30 → 2021-01-20]
 21%|██        | 27/128 [00:04<00:09, 10.44it/s, 2021-02-11 → 2021-03-10]
 23%|██▎       | 29/128 [00:06<00:29,  3.41it/s, 2021-03-18 → 2021-04-08]
 25%|██▌       | 32/128 [00:06<00:20,  4.77it/s, 2021-04-30 → 2021-05-25]
 27%|██▋       | 34/128 [00:08<00:36,  2.56it/s, 2021-06-02 → 2021-06-23]
 28%|██▊       | 36/128 [00:10<00:46,  1.98it/s, 2021-07-01 → 2021-07-21]
 30%|██▉       | 38/128 [00:11<00:45,  2.00it/s, 2021-07-29 → 2021-08-18]
 30%|███       | 39/128 [00:12<00:50,  1.75it/s, 2021-08-12 → 2021-09-01]
 31%|███▏      | 40/128 [00:13<00:56,  1.56it/s, 2021-08-26 → 2021-09-15]
 34%|███▎      | 43/128 [00:13<00:32,  2.66it/s, 2021-10-16 → 2021-11-05]
 36%|███▌      | 46/128 [00:14<00:29,  2.75it/s, 2021-11-27 → 2021-12-17]
 37%|███▋      | 47/128 [00:15<00:36,  2.20it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:16<00:31,  2.44it/s, 2022-01-25 → 2022-02-19]
 40%|███▉      | 51/128 [00:17<00:38,  2.01it/s, 2022-02-15 → 2022-03-05]
 41%|████▏     | 53/128 [00:17<00:26,  2.80it/s, 2022-03-15 → 2022-04-02]
 43%|████▎     | 55/128 [00:18<00:29,  2.48it/s, 2022-04-14 → 2022-05-07]
 45%|████▌     | 58/128 [00:18<00:18,  3.85it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:19<00:22,  3.06it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 61/128 [00:20<00:28,  2.32it/s, 2022-07-13 → 2022-08-02]
 48%|████▊     | 62/128 [00:21<00:35,  1.88it/s, 2022-07-27 → 2022-08-16]
 51%|█████     | 65/128 [00:21<00:19,  3.20it/s, 2022-09-07 → 2022-09-28]
 53%|█████▎    | 68/128 [00:22<00:19,  3.08it/s, 2022-10-27 → 2022-11-16]
 54%|█████▍    | 69/128 [00:23<00:24,  2.37it/s, 2022-11-10 → 2022-11-30]
 55%|█████▍    | 70/128 [00:24<00:30,  1.93it/s, 2022-11-24 → 2022-12-14]
 55%|█████▌    | 71/128 [00:25<00:33,  1.69it/s, 2022-12-08 → 2022-12-28]
 56%|█████▋    | 72/128 [00:26<00:37,  1.48it/s, 2022-12-22 → 2023-01-12]
 57%|█████▋    | 73/128 [00:27<00:41,  1.34it/s, 2023-01-06 → 2023-02-02]
 59%|█████▊    | 75/128 [00:28<00:34,  1.54it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:28<00:18,  2.74it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:29<00:16,  2.78it/s, 2023-05-11 → 2023-05-31]
 64%|██████▍   | 82/128 [00:30<00:17,  2.61it/s, 2023-05-25 → 2023-06-14]
 66%|██████▋   | 85/128 [00:30<00:10,  4.08it/s, 2023-07-08 → 2023-07-28]
 68%|██████▊   | 87/128 [00:31<00:13,  3.13it/s, 2023-08-05 → 2023-08-25]
 70%|██████▉   | 89/128 [00:32<00:14,  2.68it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:33<00:15,  2.43it/s, 2023-10-10 → 2023-10-28]
 72%|███████▏  | 92/128 [00:34<00:18,  1.97it/s, 2023-10-24 → 2023-11-11]
 74%|███████▍  | 95/128 [00:34<00:10,  3.21it/s, 2023-12-05 → 2023-12-23]
 75%|███████▌  | 96/128 [00:34<00:10,  3.12it/s, 2023-12-19 → 2024-01-09]
 76%|███████▌  | 97/128 [00:35<00:13,  2.25it/s, 2024-01-03 → 2024-01-23]
 77%|███████▋  | 99/128 [00:36<00:13,  2.14it/s, 2024-01-31 → 2024-02-28]
 78%|███████▊  | 100/128 [00:37<00:15,  1.76it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:38<00:17,  1.52it/s, 2024-03-07 → 2024-03-27]
 81%|████████▏ | 104/128 [00:38<00:08,  2.79it/s, 2024-04-20 → 2024-05-15]
 84%|████████▎ | 107/128 [00:38<00:04,  4.38it/s, 2024-06-06 → 2024-06-27]
 85%|████████▌ | 109/128 [00:39<00:03,  4.83it/s, 2024-07-05 → 2024-07-25]
 87%|████████▋ | 111/128 [00:41<00:07,  2.35it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 113/128 [00:42<00:06,  2.22it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:43<00:07,  1.89it/s, 2024-09-13 → 2024-10-12]
 91%|█████████▏| 117/128 [00:43<00:03,  3.09it/s, 2024-11-05 → 2024-11-23]
 93%|█████████▎| 119/128 [00:44<00:03,  2.76it/s, 2024-12-03 → 2024-12-21]
 94%|█████████▍| 120/128 [00:45<00:03,  2.18it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:45<00:03,  1.79it/s, 2024-12-31 → 2025-01-21]
 97%|█████████▋| 124/128 [00:46<00:01,  3.08it/s, 2025-02-20 → 2025-03-12]
 99%|█████████▉| 127/128 [00:46<00:00,  4.66it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:47<00:00,  2.71it/s, 2025-04-03 → 2025-04-25]
2025-05-14 19:17:16 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v5] 优化前的夏普率: 0.98244
2025-05-14 19:17:16 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v5] 优化后的夏普率: 0.23917
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:17 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:18 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:19 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:20 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:21 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:21 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:21 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:22 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:23 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:25 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:26 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:26 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:26 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:28 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:28 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:29 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:29 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:30 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:30 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:31 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:31 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:32 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:17:33 | WARNING | func_backtester_hf:run_sig2pos:898 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  4%|▍         | 5/128 [00:02<01:10,  1.75it/s, 2020-03-21 → 2020-04-11]
  6%|▋         | 8/128 [00:02<00:39,  3.05it/s, 2020-05-08 → 2020-05-28]
  9%|▊         | 11/128 [00:03<00:25,  4.64it/s, 2020-06-19 → 2020-07-11]
 11%|█         | 14/128 [00:03<00:17,  6.51it/s, 2020-08-04 → 2020-08-22]
 13%|█▎        | 17/128 [00:03<00:13,  8.52it/s, 2020-09-15 → 2020-10-13]
 16%|█▌        | 20/128 [00:03<00:10, 10.70it/s, 2020-11-04 → 2020-11-24]
 18%|█▊        | 23/128 [00:03<00:08, 12.85it/s, 2020-12-16 → 2021-01-06]
 20%|██        | 26/128 [00:03<00:06, 14.72it/s, 2021-01-28 → 2021-02-24]
 23%|██▎       | 29/128 [00:04<00:09, 10.30it/s, 2021-03-18 → 2021-04-08]
 25%|██▌       | 32/128 [00:04<00:07, 12.33it/s, 2021-04-30 → 2021-05-25]
 27%|██▋       | 34/128 [00:06<00:26,  3.52it/s, 2021-06-02 → 2021-06-23]
 29%|██▉       | 37/128 [00:06<00:18,  4.86it/s, 2021-07-15 → 2021-08-04]
 30%|███       | 39/128 [00:07<00:24,  3.59it/s, 2021-08-12 → 2021-09-01]
 32%|███▏      | 41/128 [00:08<00:29,  2.96it/s, 2021-09-09 → 2021-10-01]
 34%|███▍      | 44/128 [00:08<00:19,  4.26it/s, 2021-10-30 → 2021-11-19]
 36%|███▌      | 46/128 [00:09<00:24,  3.29it/s, 2021-11-27 → 2021-12-17]
 37%|███▋      | 47/128 [00:10<00:32,  2.46it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:10<00:20,  3.79it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:10<00:16,  4.75it/s, 2022-03-01 → 2022-03-19]
 43%|████▎     | 55/128 [00:12<00:19,  3.79it/s, 2022-04-14 → 2022-05-07]
 45%|████▌     | 58/128 [00:12<00:13,  5.32it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:13<00:18,  3.73it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 62/128 [00:14<00:21,  3.01it/s, 2022-07-27 → 2022-08-16]
 51%|█████     | 65/128 [00:14<00:14,  4.36it/s, 2022-09-07 → 2022-09-28]
 52%|█████▏    | 67/128 [00:15<00:18,  3.24it/s, 2022-10-13 → 2022-11-02]
 54%|█████▍    | 69/128 [00:16<00:21,  2.71it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:16<00:14,  3.98it/s, 2022-12-22 → 2023-01-12]
 58%|█████▊    | 74/128 [00:17<00:17,  3.10it/s, 2023-01-20 → 2023-02-16]
 59%|█████▊    | 75/128 [00:18<00:22,  2.32it/s, 2023-02-10 → 2023-03-02]
 60%|██████    | 77/128 [00:18<00:16,  3.15it/s, 2023-03-10 → 2023-03-30]
 62%|██████▏   | 79/128 [00:18<00:11,  4.20it/s, 2023-04-08 → 2023-04-28]
 64%|██████▍   | 82/128 [00:19<00:07,  6.12it/s, 2023-05-25 → 2023-06-14]
 66%|██████▌   | 84/128 [00:19<00:05,  7.36it/s, 2023-06-22 → 2023-07-14]
 67%|██████▋   | 86/128 [00:19<00:04,  8.64it/s, 2023-07-22 → 2023-08-11]
 70%|██████▉   | 89/128 [00:20<00:08,  4.76it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:21<00:10,  3.39it/s, 2023-10-10 → 2023-10-28]
 73%|███████▎  | 93/128 [00:22<00:12,  2.72it/s, 2023-11-07 → 2023-11-25]
 73%|███████▎  | 94/128 [00:23<00:16,  2.07it/s, 2023-11-21 → 2023-12-09]
 76%|███████▌  | 97/128 [00:24<00:13,  2.31it/s, 2024-01-03 → 2024-01-23]
 78%|███████▊  | 100/128 [00:25<00:11,  2.47it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:26<00:13,  2.03it/s, 2024-03-07 → 2024-03-27]
 80%|███████▉  | 102/128 [00:27<00:15,  1.72it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:27<00:08,  2.85it/s, 2024-05-09 → 2024-05-29]
 84%|████████▎ | 107/128 [00:28<00:05,  3.78it/s, 2024-06-06 → 2024-06-27]
 85%|████████▌ | 109/128 [00:29<00:06,  2.91it/s, 2024-07-05 → 2024-07-25]
 86%|████████▌ | 110/128 [00:30<00:08,  2.15it/s, 2024-07-19 → 2024-08-08]
 87%|████████▋ | 111/128 [00:31<00:09,  1.72it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 112/128 [00:32<00:10,  1.48it/s, 2024-08-16 → 2024-09-05]
 88%|████████▊ | 113/128 [00:33<00:11,  1.31it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:34<00:11,  1.21it/s, 2024-09-13 → 2024-10-12]
 91%|█████████▏| 117/128 [00:34<00:04,  2.38it/s, 2024-11-05 → 2024-11-23]
 92%|█████████▏| 118/128 [00:35<00:05,  1.85it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:36<00:04,  1.86it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:37<00:04,  1.56it/s, 2024-12-31 → 2025-01-21]
 97%|█████████▋| 124/128 [00:37<00:01,  2.77it/s, 2025-02-20 → 2025-03-12]
 99%|█████████▉| 127/128 [00:37<00:00,  4.24it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:38<00:00,  3.29it/s, 2025-04-03 → 2025-04-25]
2025-05-14 19:18:12 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v6] 优化前的夏普率: 0.98596
2025-05-14 19:18:12 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v6] 优化后的夏普率: 0.82639
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:13 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:14 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:15 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:15 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:17 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:17 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:17 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:18 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:19 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:20 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:21 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:22 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:22 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:23 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:24 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:24 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:25 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:25 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:26 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:26 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:27 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:28 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:18:28 | WARNING | func_backtester_hf:run_sig2pos:939 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  3%|▎         | 4/128 [00:02<01:05,  1.88it/s, 2020-03-07 → 2020-03-27]
  4%|▍         | 5/128 [00:03<01:19,  1.55it/s, 2020-03-21 → 2020-04-11]
  5%|▌         | 7/128 [00:03<00:48,  2.48it/s, 2020-04-21 → 2020-05-14]
  7%|▋         | 9/128 [00:03<00:33,  3.54it/s, 2020-05-22 → 2020-06-11]
  9%|▊         | 11/128 [00:03<00:24,  4.72it/s, 2020-06-19 → 2020-07-11]
 10%|█         | 13/128 [00:03<00:19,  5.92it/s, 2020-07-21 → 2020-08-08]
 12%|█▏        | 15/128 [00:03<00:15,  7.09it/s, 2020-08-18 → 2020-09-05]
 13%|█▎        | 17/128 [00:05<00:29,  3.74it/s, 2020-09-15 → 2020-10-13]
 15%|█▍        | 19/128 [00:05<00:22,  4.75it/s, 2020-10-21 → 2020-11-10]
 16%|█▋        | 21/128 [00:05<00:18,  5.85it/s, 2020-11-18 → 2020-12-08]
 18%|█▊        | 23/128 [00:05<00:15,  6.92it/s, 2020-12-16 → 2021-01-06]
 20%|█▉        | 25/128 [00:05<00:13,  7.84it/s, 2021-01-14 → 2021-02-03]
 21%|██        | 27/128 [00:05<00:11,  8.75it/s, 2021-02-11 → 2021-03-10]
 23%|██▎       | 29/128 [00:06<00:24,  4.09it/s, 2021-03-18 → 2021-04-08]
 25%|██▌       | 32/128 [00:07<00:16,  5.97it/s, 2021-04-30 → 2021-05-25]
 27%|██▋       | 34/128 [00:08<00:25,  3.72it/s, 2021-06-02 → 2021-06-23]
 29%|██▉       | 37/128 [00:08<00:16,  5.35it/s, 2021-07-15 → 2021-08-04]
 30%|███       | 39/128 [00:09<00:24,  3.64it/s, 2021-08-12 → 2021-09-01]
 31%|███▏      | 40/128 [00:10<00:34,  2.58it/s, 2021-08-26 → 2021-09-15]
 34%|███▎      | 43/128 [00:10<00:21,  3.97it/s, 2021-10-16 → 2021-11-05]
 35%|███▌      | 45/128 [00:10<00:16,  5.10it/s, 2021-11-13 → 2021-12-03]
 37%|███▋      | 47/128 [00:12<00:34,  2.38it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:12<00:21,  3.58it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:13<00:26,  2.89it/s, 2022-03-01 → 2022-03-19]
 42%|████▏     | 54/128 [00:13<00:20,  3.68it/s, 2022-03-29 → 2022-04-20]
 44%|████▍     | 56/128 [00:14<00:24,  2.90it/s, 2022-04-28 → 2022-05-21]
 46%|████▌     | 59/128 [00:15<00:16,  4.30it/s, 2022-06-15 → 2022-07-05]
 48%|████▊     | 61/128 [00:17<00:29,  2.30it/s, 2022-07-13 → 2022-08-02]
 50%|█████     | 64/128 [00:17<00:18,  3.39it/s, 2022-08-24 → 2022-09-14]
 52%|█████▏    | 66/128 [00:18<00:21,  2.83it/s, 2022-09-22 → 2022-10-19]
 53%|█████▎    | 68/128 [00:19<00:24,  2.49it/s, 2022-10-27 → 2022-11-16]
 54%|█████▍    | 69/128 [00:20<00:29,  2.01it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:20<00:17,  3.16it/s, 2022-12-22 → 2023-01-12]
 57%|█████▋    | 73/128 [00:21<00:23,  2.32it/s, 2023-01-06 → 2023-02-02]
 59%|█████▊    | 75/128 [00:22<00:25,  2.11it/s, 2023-02-10 → 2023-03-02]
 60%|██████    | 77/128 [00:22<00:17,  2.84it/s, 2023-03-10 → 2023-03-30]
 62%|██████▏   | 79/128 [00:23<00:13,  3.71it/s, 2023-04-08 → 2023-04-28]
 63%|██████▎   | 81/128 [00:23<00:09,  4.71it/s, 2023-05-11 → 2023-05-31]
 64%|██████▍   | 82/128 [00:23<00:09,  5.06it/s, 2023-05-25 → 2023-06-14]
 66%|██████▌   | 84/128 [00:23<00:06,  6.36it/s, 2023-06-22 → 2023-07-14]
 67%|██████▋   | 86/128 [00:24<00:12,  3.38it/s, 2023-07-22 → 2023-08-11]
 70%|██████▉   | 89/128 [00:25<00:12,  3.09it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:26<00:14,  2.63it/s, 2023-10-10 → 2023-10-28]
 73%|███████▎  | 93/128 [00:27<00:14,  2.37it/s, 2023-11-07 → 2023-11-25]
 73%|███████▎  | 94/128 [00:28<00:17,  1.92it/s, 2023-11-21 → 2023-12-09]
 75%|███████▌  | 96/128 [00:29<00:12,  2.65it/s, 2023-12-19 → 2024-01-09]
 76%|███████▌  | 97/128 [00:30<00:15,  1.97it/s, 2024-01-03 → 2024-01-23]
 77%|███████▋  | 99/128 [00:30<00:10,  2.81it/s, 2024-01-31 → 2024-02-28]
 78%|███████▊  | 100/128 [00:31<00:13,  2.01it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:32<00:16,  1.61it/s, 2024-03-07 → 2024-03-27]
 80%|███████▉  | 102/128 [00:33<00:18,  1.38it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:33<00:08,  2.63it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:33<00:04,  4.19it/s, 2024-06-21 → 2024-07-11]
 86%|████████▌ | 110/128 [00:35<00:08,  2.19it/s, 2024-07-19 → 2024-08-08]
 87%|████████▋ | 111/128 [00:36<00:09,  1.82it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 112/128 [00:37<00:10,  1.57it/s, 2024-08-16 → 2024-09-05]
 88%|████████▊ | 113/128 [00:38<00:10,  1.40it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:39<00:10,  1.28it/s, 2024-09-13 → 2024-10-12]
 91%|█████████ | 116/128 [00:39<00:06,  2.00it/s, 2024-10-22 → 2024-11-09]
 92%|█████████▏| 118/128 [00:40<00:05,  1.95it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:41<00:04,  1.94it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:42<00:04,  1.64it/s, 2024-12-31 → 2025-01-21]
 97%|█████████▋| 124/128 [00:43<00:01,  2.85it/s, 2025-02-20 → 2025-03-12]
 99%|█████████▉| 127/128 [00:43<00:00,  4.33it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:44<00:00,  2.90it/s, 2025-04-03 → 2025-04-25]
2025-05-14 19:19:13 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v7] 优化前的夏普率: 1.03078
2025-05-14 19:19:13 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v7] 优化后的夏普率: 0.57083
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:14 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:15 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:16 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:16 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:17 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:18 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:18 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:19 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:20 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:21 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:22 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:22 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:23 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:24 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:25 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:25 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:25 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:26 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:26 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:27 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:28 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:29 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:19:29 | WARNING | func_backtester_hf:run_sig2pos:978 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  3%|▎         | 4/128 [00:02<01:04,  1.93it/s, 2020-03-10 → 2020-03-28]
  4%|▍         | 5/128 [00:03<01:17,  1.58it/s, 2020-03-24 → 2020-04-14]
  5%|▌         | 7/128 [00:03<00:48,  2.50it/s, 2020-04-22 → 2020-05-15]
  7%|▋         | 9/128 [00:03<00:33,  3.55it/s, 2020-05-23 → 2020-06-12]
  9%|▊         | 11/128 [00:03<00:24,  4.73it/s, 2020-06-20 → 2020-07-14]
 10%|█         | 13/128 [00:03<00:19,  5.84it/s, 2020-07-22 → 2020-08-11]
 12%|█▏        | 15/128 [00:03<00:16,  6.93it/s, 2020-08-19 → 2020-09-08]
 13%|█▎        | 17/128 [00:05<00:30,  3.63it/s, 2020-09-16 → 2020-10-14]
 15%|█▍        | 19/128 [00:05<00:23,  4.58it/s, 2020-10-22 → 2020-11-11]
 16%|█▋        | 21/128 [00:05<00:19,  5.62it/s, 2020-11-19 → 2020-12-09]
 18%|█▊        | 23/128 [00:05<00:15,  6.62it/s, 2020-12-17 → 2021-01-07]
 20%|█▉        | 25/128 [00:05<00:13,  7.54it/s, 2021-01-15 → 2021-02-04]
 21%|██        | 27/128 [00:05<00:11,  8.45it/s, 2021-02-19 → 2021-03-11]
 23%|██▎       | 29/128 [00:07<00:24,  4.04it/s, 2021-03-19 → 2021-04-09]
 24%|██▍       | 31/128 [00:07<00:19,  4.99it/s, 2021-04-17 → 2021-05-12]
 25%|██▌       | 32/128 [00:07<00:22,  4.36it/s, 2021-05-01 → 2021-05-26]
 26%|██▌       | 33/128 [00:08<00:36,  2.58it/s, 2021-05-20 → 2021-06-09]
 27%|██▋       | 34/128 [00:09<00:49,  1.92it/s, 2021-06-03 → 2021-06-24]
 28%|██▊       | 36/128 [00:09<00:31,  2.95it/s, 2021-07-02 → 2021-07-22]
 30%|██▉       | 38/128 [00:09<00:21,  4.18it/s, 2021-07-30 → 2021-08-19]
 31%|███▏      | 40/128 [00:11<00:43,  2.03it/s, 2021-08-27 → 2021-09-16]
 34%|███▎      | 43/128 [00:11<00:26,  3.27it/s, 2021-10-19 → 2021-11-06]
 35%|███▌      | 45/128 [00:12<00:19,  4.27it/s, 2021-11-16 → 2021-12-04]
 37%|███▋      | 47/128 [00:13<00:25,  3.16it/s, 2021-12-14 → 2022-01-01]
 39%|███▉      | 50/128 [00:13<00:16,  4.68it/s, 2022-01-26 → 2022-02-22]
 41%|████      | 52/128 [00:13<00:12,  5.86it/s, 2022-03-02 → 2022-03-22]
 43%|████▎     | 55/128 [00:14<00:17,  4.17it/s, 2022-04-15 → 2022-05-10]
 45%|████▍     | 57/128 [00:14<00:13,  5.08it/s, 2022-05-18 → 2022-06-08]
 46%|████▌     | 59/128 [00:14<00:10,  6.34it/s, 2022-06-16 → 2022-07-06]
 48%|████▊     | 61/128 [00:16<00:25,  2.60it/s, 2022-07-14 → 2022-08-03]
 50%|█████     | 64/128 [00:16<00:16,  3.85it/s, 2022-08-25 → 2022-09-15]
 52%|█████▏    | 66/128 [00:16<00:12,  4.84it/s, 2022-09-23 → 2022-10-20]
 53%|█████▎    | 68/128 [00:18<00:25,  2.37it/s, 2022-10-28 → 2022-11-17]
 55%|█████▍    | 70/128 [00:19<00:26,  2.22it/s, 2022-11-25 → 2022-12-15]
 56%|█████▋    | 72/128 [00:20<00:26,  2.13it/s, 2022-12-23 → 2023-01-13]
 57%|█████▋    | 73/128 [00:21<00:26,  2.09it/s, 2023-01-07 → 2023-02-03]
 59%|█████▊    | 75/128 [00:22<00:26,  2.03it/s, 2023-02-11 → 2023-03-03]
 61%|██████    | 78/128 [00:22<00:15,  3.22it/s, 2023-03-25 → 2023-04-15]
 63%|██████▎   | 81/128 [00:22<00:09,  4.71it/s, 2023-05-12 → 2023-06-01]
 65%|██████▍   | 83/128 [00:23<00:13,  3.41it/s, 2023-06-09 → 2023-07-01]
 66%|██████▋   | 85/128 [00:23<00:09,  4.39it/s, 2023-07-11 → 2023-07-29]
 69%|██████▉   | 88/128 [00:24<00:06,  6.20it/s, 2023-08-22 → 2023-09-09]
 70%|███████   | 90/128 [00:26<00:14,  2.64it/s, 2023-09-19 → 2023-10-17]
 72%|███████▏  | 92/128 [00:26<00:10,  3.45it/s, 2023-10-25 → 2023-11-14]
 73%|███████▎  | 94/128 [00:27<00:12,  2.83it/s, 2023-11-22 → 2023-12-12]
 74%|███████▍  | 95/128 [00:28<00:15,  2.17it/s, 2023-12-06 → 2023-12-26]
 76%|███████▌  | 97/128 [00:29<00:15,  2.06it/s, 2024-01-04 → 2024-01-24]
 78%|███████▊  | 100/128 [00:29<00:08,  3.24it/s, 2024-02-23 → 2024-03-14]
 79%|███████▉  | 101/128 [00:30<00:11,  2.38it/s, 2024-03-08 → 2024-03-28]
 80%|████████  | 103/128 [00:30<00:07,  3.27it/s, 2024-04-09 → 2024-04-27]
 83%|████████▎ | 106/128 [00:30<00:04,  4.98it/s, 2024-05-24 → 2024-06-14]
 85%|████████▌ | 109/128 [00:30<00:02,  6.81it/s, 2024-07-06 → 2024-07-26]
 87%|████████▋ | 111/128 [00:32<00:06,  2.71it/s, 2024-08-03 → 2024-08-23]
 88%|████████▊ | 113/128 [00:34<00:06,  2.34it/s, 2024-08-31 → 2024-09-24]
 90%|████████▉ | 115/128 [00:34<00:04,  3.10it/s, 2024-10-09 → 2024-10-29]
 92%|█████████▏| 118/128 [00:34<00:02,  4.42it/s, 2024-11-20 → 2024-12-10]
 94%|█████████▍| 120/128 [00:35<00:02,  3.29it/s, 2024-12-18 → 2025-01-08]
 95%|█████████▍| 121/128 [00:36<00:02,  2.42it/s, 2025-01-01 → 2025-01-22]
 96%|█████████▌| 123/128 [00:36<00:01,  3.32it/s, 2025-02-07 → 2025-02-27]
 98%|█████████▊| 126/128 [00:36<00:00,  4.98it/s, 2025-03-21 → 2025-04-11]
100%|██████████| 128/128 [00:37<00:00,  3.38it/s, 2025-04-04 → 2025-04-26]
100%|██████████| 128/128 [00:37<00:00,  3.39it/s, 2025-04-04 → 2025-04-26]
2025-05-14 19:20:07 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v8] 优化前的夏普率: 0.72972
2025-05-14 19:20:07 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v8] 优化后的夏普率: 0.36173
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:08 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:09 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:10 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:11 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:12 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:12 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:12 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:13 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:14 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:15 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:16 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:17 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:17 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:19 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:19 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:19 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:20 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:21 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:21 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:22 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:23 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:23 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:20:24 | WARNING | func_backtester_hf:run_sig2pos:1019 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
{'obj': 'Sharpe', 'rm': 'MDD', 'model': 'Classic', 'method_mu': 'hist', 'method_cov': 'hist', 'linkage': 'single', 'leaf_order': True, 'codependence': 'pearson', 'lookback_period': 15, 'every': 10, 'nea': 5, 'split_every': False, 'normalize_every': False}

  4%|▍         | 5/128 [00:02<01:08,  1.79it/s, 2020-03-21 → 2020-04-11]
  6%|▋         | 8/128 [00:02<00:38,  3.10it/s, 2020-05-08 → 2020-05-28]
  9%|▊         | 11/128 [00:03<00:24,  4.69it/s, 2020-06-19 → 2020-07-11]
 11%|█         | 14/128 [00:03<00:17,  6.53it/s, 2020-08-04 → 2020-08-22]
 13%|█▎        | 17/128 [00:04<00:24,  4.58it/s, 2020-09-15 → 2020-10-13]
 15%|█▍        | 19/128 [00:04<00:19,  5.64it/s, 2020-10-21 → 2020-11-10]
 17%|█▋        | 22/128 [00:04<00:13,  7.59it/s, 2020-12-02 → 2020-12-22]
 20%|█▉        | 25/128 [00:04<00:10,  9.62it/s, 2021-01-14 → 2021-02-03]
 22%|██▏       | 28/128 [00:05<00:18,  5.54it/s, 2021-03-04 → 2021-03-24]
 23%|██▎       | 30/128 [00:05<00:14,  6.65it/s, 2021-04-01 → 2021-04-22]
 25%|██▌       | 32/128 [00:05<00:12,  7.96it/s, 2021-04-30 → 2021-05-25]
 27%|██▋       | 34/128 [00:07<00:33,  2.83it/s, 2021-06-02 → 2021-06-23]
 29%|██▉       | 37/128 [00:07<00:22,  4.12it/s, 2021-07-15 → 2021-08-04]
 30%|███       | 39/128 [00:09<00:27,  3.20it/s, 2021-08-12 → 2021-09-01]
 32%|███▏      | 41/128 [00:10<00:31,  2.73it/s, 2021-09-09 → 2021-10-01]
 34%|███▍      | 44/128 [00:10<00:20,  4.00it/s, 2021-10-30 → 2021-11-19]
 36%|███▌      | 46/128 [00:11<00:26,  3.15it/s, 2021-11-27 → 2021-12-17]
 37%|███▋      | 47/128 [00:12<00:34,  2.38it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:12<00:21,  3.69it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:13<00:25,  2.95it/s, 2022-03-01 → 2022-03-19]
 43%|████▎     | 55/128 [00:13<00:17,  4.24it/s, 2022-04-14 → 2022-05-07]
 45%|████▌     | 58/128 [00:13<00:11,  5.86it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:14<00:17,  3.88it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 62/128 [00:15<00:21,  3.08it/s, 2022-07-27 → 2022-08-16]
 51%|█████     | 65/128 [00:15<00:14,  4.44it/s, 2022-09-07 → 2022-09-28]
 52%|█████▏    | 67/128 [00:16<00:11,  5.25it/s, 2022-10-13 → 2022-11-02]
 54%|█████▍    | 69/128 [00:18<00:23,  2.50it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:18<00:15,  3.67it/s, 2022-12-22 → 2023-01-12]
 58%|█████▊    | 74/128 [00:19<00:18,  2.97it/s, 2023-01-20 → 2023-02-16]
 59%|█████▊    | 75/128 [00:20<00:23,  2.28it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:20<00:14,  3.55it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:20<00:09,  5.10it/s, 2023-05-11 → 2023-05-31]
 66%|██████▌   | 84/128 [00:20<00:06,  6.90it/s, 2023-06-22 → 2023-07-14]
 67%|██████▋   | 86/128 [00:20<00:05,  8.02it/s, 2023-07-22 → 2023-08-11]
 70%|██████▉   | 89/128 [00:21<00:08,  4.86it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:22<00:10,  3.52it/s, 2023-10-10 → 2023-10-28]
 73%|███████▎  | 93/128 [00:23<00:12,  2.89it/s, 2023-11-07 → 2023-11-25]
 74%|███████▍  | 95/128 [00:24<00:08,  3.71it/s, 2023-12-05 → 2023-12-23]
 76%|███████▌  | 97/128 [00:25<00:10,  2.95it/s, 2024-01-03 → 2024-01-23]
 78%|███████▊  | 100/128 [00:26<00:09,  2.88it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:27<00:12,  2.24it/s, 2024-03-07 → 2024-03-27]
 80%|███████▉  | 102/128 [00:28<00:14,  1.83it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:28<00:07,  3.04it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:28<00:04,  4.53it/s, 2024-06-21 → 2024-07-11]
 86%|████████▌ | 110/128 [00:30<00:07,  2.33it/s, 2024-07-19 → 2024-08-08]
 87%|████████▋ | 111/128 [00:31<00:08,  1.92it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 112/128 [00:32<00:09,  1.64it/s, 2024-08-16 → 2024-09-05]
 88%|████████▊ | 113/128 [00:33<00:10,  1.44it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:34<00:10,  1.31it/s, 2024-09-13 → 2024-10-12]
 91%|█████████ | 116/128 [00:34<00:05,  2.05it/s, 2024-10-22 → 2024-11-09]
 92%|█████████▏| 118/128 [00:35<00:04,  2.00it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:36<00:04,  1.97it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:37<00:04,  1.65it/s, 2024-12-31 → 2025-01-21]
 97%|█████████▋| 124/128 [00:37<00:01,  2.85it/s, 2025-02-20 → 2025-03-12]
 99%|█████████▉| 127/128 [00:37<00:00,  4.31it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:39<00:00,  3.28it/s, 2025-04-03 → 2025-04-25]
2025-05-14 19:21:03 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v9] 优化前的夏普率: 1.00784
2025-05-14 19:21:03 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v9] 优化后的夏普率: 0.64788
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:04 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:05 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:06 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:07 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:08 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:08 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:08 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:09 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:10 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:11 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:12 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:13 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:13 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:15 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:15 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:15 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:16 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:17 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:17 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:18 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:18 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:19 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-14 19:21:20 | WARNING | func_backtester_hf:run_sig2pos:1060 - The given signal has NaN. Will use 0 to fill
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
[2025-05-14 19:21:22,483][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:22,484][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:22,491][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:22,492][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:22,499][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:22,500][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:26,205][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:26,206][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:26,213][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:26,214][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:26,221][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
[2025-05-14 19:21:26,222][matplotlib.category][INFO] - Using categorical units to plot a list of strings that are all parsable as floats or dates. If these strings should be plotted as numbers, cast to the appropriate data type before plotting.
2025-05-14 19:21:34 | INFO | metric_online:run_with_hydra:1006 - {'action': 'parallel_done', 'success_count': 1, 'fail_count': 0}