LogViewer
生成的参数组合数量:45
2025-05-13 21:02:12 | INFO | metric_online:run_with_hydra:972 - Total tasks generated: 45
2025-05-13 21:02:12 | INFO | metric_online:run_with_hydra:989 - Starting parallel execution with n_jobs=1...
2025-05-13 21:02:19 | 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-13 21:04: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-13 21:04: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-13 21:04: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)
2025-05-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:04: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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)
2025-05-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05:07 | 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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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)
2025-05-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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)
2025-05-13 21:05: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-13 21:05: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)
2025-05-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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-13 21:05: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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)
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:29,  2.59s/it, 2020-01-17 → 2020-02-14]
  2%|▏         | 3/128 [00:02<01:31,  1.36it/s, 2020-02-22 → 2020-03-13]
  4%|▍         | 5/128 [00:02<00:48,  2.51it/s, 2020-03-21 → 2020-04-11]
  5%|▌         | 7/128 [00:03<00:31,  3.79it/s, 2020-04-21 → 2020-05-14]
  7%|▋         | 9/128 [00:03<00:23,  5.14it/s, 2020-05-22 → 2020-06-11]
  9%|▊         | 11/128 [00:03<00:18,  6.47it/s, 2020-06-19 → 2020-07-11]
 10%|█         | 13/128 [00:03<00:14,  7.70it/s, 2020-07-21 → 2020-08-08]
 12%|█▏        | 15/128 [00:03<00:12,  8.76it/s, 2020-08-18 → 2020-09-05]
 13%|█▎        | 17/128 [00:03<00:11,  9.66it/s, 2020-09-15 → 2020-10-13]
 15%|█▍        | 19/128 [00:04<00:10, 10.38it/s, 2020-10-21 → 2020-11-10]
 16%|█▋        | 21/128 [00:04<00:09, 10.96it/s, 2020-11-18 → 2020-12-08]
 18%|█▊        | 23/128 [00:04<00:09, 11.42it/s, 2020-12-16 → 2021-01-06]
 20%|█▉        | 25/128 [00:04<00:08, 11.72it/s, 2021-01-14 → 2021-02-03]
 21%|██        | 27/128 [00:04<00:08, 11.92it/s, 2021-02-11 → 2021-03-10]
 23%|██▎       | 29/128 [00:04<00:08, 12.08it/s, 2021-03-18 → 2021-04-08]
 24%|██▍       | 31/128 [00:05<00:07, 12.14it/s, 2021-04-16 → 2021-05-11]
 26%|██▌       | 33/128 [00:05<00:07, 12.19it/s, 2021-05-19 → 2021-06-08]
 27%|██▋       | 35/128 [00:05<00:07, 12.19it/s, 2021-06-17 → 2021-07-07]
 29%|██▉       | 37/128 [00:05<00:07, 12.22it/s, 2021-07-15 → 2021-08-04]
 30%|███       | 39/128 [00:06<00:19,  4.51it/s, 2021-08-12 → 2021-09-01]
 33%|███▎      | 42/128 [00:06<00:13,  6.56it/s, 2021-09-25 → 2021-10-22]
 35%|███▌      | 45/128 [00:06<00:09,  8.77it/s, 2021-11-13 → 2021-12-03]
 37%|███▋      | 47/128 [00:07<00:10,  7.55it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:07<00:07,  9.80it/s, 2022-01-25 → 2022-02-19]
 41%|████▏     | 53/128 [00:07<00:06, 11.97it/s, 2022-03-15 → 2022-04-02]
 44%|████▍     | 56/128 [00:07<00:05, 13.95it/s, 2022-04-28 → 2022-05-21]
 46%|████▌     | 59/128 [00:07<00:04, 15.70it/s, 2022-06-15 → 2022-07-05]
 48%|████▊     | 62/128 [00:07<00:03, 16.90it/s, 2022-07-27 → 2022-08-16]
 51%|█████     | 65/128 [00:08<00:03, 18.09it/s, 2022-09-07 → 2022-09-28]
 53%|█████▎    | 68/128 [00:08<00:03, 18.68it/s, 2022-10-27 → 2022-11-16]
 55%|█████▌    | 71/128 [00:08<00:03, 18.33it/s, 2022-12-08 → 2022-12-28]
 57%|█████▋    | 73/128 [00:08<00:03, 17.57it/s, 2023-01-06 → 2023-02-02]
 59%|█████▊    | 75/128 [00:08<00:02, 17.78it/s, 2023-02-10 → 2023-03-02]
 60%|██████    | 77/128 [00:08<00:02, 17.39it/s, 2023-03-10 → 2023-03-30]
 62%|██████▎   | 80/128 [00:08<00:02, 18.54it/s, 2023-04-22 → 2023-05-17]
 65%|██████▍   | 83/128 [00:09<00:02, 19.25it/s, 2023-06-08 → 2023-06-30]
 66%|██████▋   | 85/128 [00:09<00:02, 18.67it/s, 2023-07-08 → 2023-07-28]
 68%|██████▊   | 87/128 [00:09<00:02, 18.74it/s, 2023-08-05 → 2023-08-25]
 70%|██████▉   | 89/128 [00:09<00:02, 18.95it/s, 2023-09-02 → 2023-09-22]
 72%|███████▏  | 92/128 [00:09<00:01, 19.89it/s, 2023-10-24 → 2023-11-11]
 74%|███████▍  | 95/128 [00:09<00:01, 20.55it/s, 2023-12-05 → 2023-12-23]
 77%|███████▋  | 98/128 [00:09<00:01, 20.94it/s, 2024-01-17 → 2024-02-06]
 79%|███████▉  | 101/128 [00:09<00:01, 21.34it/s, 2024-03-07 → 2024-03-27]
 81%|████████▏ | 104/128 [00:10<00:01, 21.54it/s, 2024-04-20 → 2024-05-15]
 84%|████████▎ | 107/128 [00:10<00:00, 21.64it/s, 2024-06-06 → 2024-06-27]
 86%|████████▌ | 110/128 [00:11<00:02,  7.30it/s, 2024-07-19 → 2024-08-08]
 88%|████████▊ | 112/128 [00:12<00:03,  4.44it/s, 2024-08-16 → 2024-09-05]
 89%|████████▉ | 114/128 [00:12<00:02,  5.24it/s, 2024-09-13 → 2024-10-12]
 91%|█████████ | 116/128 [00:12<00:01,  6.13it/s, 2024-10-22 → 2024-11-09]
 92%|█████████▏| 118/128 [00:12<00:01,  7.07it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:12<00:01,  8.00it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▌| 122/128 [00:13<00:00,  8.84it/s, 2025-01-15 → 2025-02-12]
 97%|█████████▋| 124/128 [00:13<00:00,  9.60it/s, 2025-02-20 → 2025-03-12]
 98%|█████████▊| 126/128 [00:13<00:00, 10.15it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:13<00:00, 10.08it/s, 2025-04-03 → 2025-04-24]
100%|██████████| 128/128 [00:13<00:00,  9.38it/s, 2025-04-03 → 2025-04-24]
2025-05-13 21:05:48 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v5] 优化前的夏普率: 3.78136
2025-05-13 21:05:48 | 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-13 21:05: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-13 21:05: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:05: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

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

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

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

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

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

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

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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)
{'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.08it/s, 2021-08-12 → 2021-09-01]
 33%|███▎      | 42/128 [00:02<00:05, 14.59it/s, 2021-09-25 → 2021-10-22]
 35%|███▌      | 45/128 [00:03<00:05, 15.16it/s, 2021-11-13 → 2021-12-03]
 38%|███▊      | 48/128 [00:03<00:05, 15.77it/s, 2021-12-25 → 2022-01-15]
 40%|███▉      | 51/128 [00:03<00:04, 16.52it/s, 2022-02-15 → 2022-03-05]
 42%|████▏     | 54/128 [00:03<00:04, 17.40it/s, 2022-03-29 → 2022-04-20]
 45%|████▍     | 57/128 [00:03<00:03, 18.21it/s, 2022-05-17 → 2022-06-07]
 47%|████▋     | 60/128 [00:03<00:03, 18.92it/s, 2022-06-29 → 2022-07-19]
 49%|████▉     | 63/128 [00:03<00:03, 19.61it/s, 2022-08-10 → 2022-08-30]
 52%|█████▏    | 66/128 [00:04<00:03, 19.77it/s, 2022-09-22 → 2022-10-19]
 54%|█████▍    | 69/128 [00:04<00:02, 19.84it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:04<00:02, 20.21it/s, 2022-12-22 → 2023-01-12]
 59%|█████▊    | 75/128 [00:04<00:02, 20.29it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:04<00:02, 20.31it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:04<00:02, 16.89it/s, 2023-05-11 → 2023-05-31]
 65%|██████▍   | 83/128 [00:05<00:02, 15.53it/s, 2023-06-08 → 2023-06-30]
 66%|██████▋   | 85/128 [00:05<00:02, 14.52it/s, 2023-07-08 → 2023-07-28]
 68%|██████▊   | 87/128 [00:05<00:02, 13.83it/s, 2023-08-05 → 2023-08-25]
 70%|██████▉   | 89/128 [00:05<00:02, 13.28it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:05<00:02, 12.88it/s, 2023-10-10 → 2023-10-28]
 73%|███████▎  | 93/128 [00:05<00:02, 12.59it/s, 2023-11-07 → 2023-11-25]
 74%|███████▍  | 95/128 [00:06<00:02, 12.47it/s, 2023-12-05 → 2023-12-23]
 76%|███████▌  | 97/128 [00:06<00:02, 12.36it/s, 2024-01-03 → 2024-01-23]
 77%|███████▋  | 99/128 [00:06<00:02, 12.28it/s, 2024-01-31 → 2024-02-28]
 79%|███████▉  | 101/128 [00:06<00:02, 12.20it/s, 2024-03-07 → 2024-03-27]
 80%|████████  | 103/128 [00:06<00:02, 12.16it/s, 2024-04-04 → 2024-04-26]
 82%|████████▏ | 105/128 [00:06<00:01, 12.14it/s, 2024-05-09 → 2024-05-29]
 84%|████████▎ | 107/128 [00:07<00:01, 12.14it/s, 2024-06-06 → 2024-06-27]
 85%|████████▌ | 109/128 [00:07<00:01, 12.09it/s, 2024-07-05 → 2024-07-25]
 87%|████████▋ | 111/128 [00:07<00:01, 12.10it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 113/128 [00:07<00:01, 12.11it/s, 2024-08-30 → 2024-09-21]
 90%|████████▉ | 115/128 [00:07<00:01, 11.93it/s, 2024-10-01 → 2024-10-26]
 91%|█████████▏| 117/128 [00:07<00:00, 11.91it/s, 2024-11-05 → 2024-11-23]
 93%|█████████▎| 119/128 [00:08<00:00, 11.97it/s, 2024-12-03 → 2024-12-21]
 95%|█████████▍| 121/128 [00:08<00:00, 11.96it/s, 2024-12-31 → 2025-01-21]
 96%|█████████▌| 123/128 [00:08<00:00, 11.99it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 125/128 [00:08<00:00, 12.02it/s, 2025-03-06 → 2025-03-26]
 99%|█████████▉| 127/128 [00:08<00:00, 12.01it/s, 2025-04-03 → 2025-04-24]
100%|██████████| 128/128 [00:08<00:00, 14.57it/s, 2025-04-03 → 2025-04-24]
2025-05-13 21:06:13 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v6] 优化前的夏普率: 4.1654
2025-05-13 21:06:13 | 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-13 21:06: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-13 21:06: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)
2025-05-13 21:06: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-13 21:06: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)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:06: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-13 21:06: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)
2025-05-13 21:06: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)
2025-05-13 21:06: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)
2025-05-13 21:06: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)
2025-05-13 21:06: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-13 21:06: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)
2025-05-13 21:06: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-13 21:06: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-13 21:06: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-13 21:06: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)
2025-05-13 21:06: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)
2025-05-13 21:06: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-13 21:06: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-13 21:06: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-13 21:06: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-13 21:06: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-13 21:06: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-13 21:06: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)
{'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.53it/s, 2021-08-12 → 2021-09-01]
 33%|███▎      | 42/128 [00:02<00:05, 15.05it/s, 2021-09-25 → 2021-10-22]
 35%|███▌      | 45/128 [00:02<00:05, 15.67it/s, 2021-11-13 → 2021-12-03]
 38%|███▊      | 48/128 [00:03<00:04, 16.41it/s, 2021-12-25 → 2022-01-15]
 40%|███▉      | 51/128 [00:03<00:04, 17.08it/s, 2022-02-15 → 2022-03-05]
 42%|████▏     | 54/128 [00:03<00:04, 17.95it/s, 2022-03-29 → 2022-04-20]
 45%|████▍     | 57/128 [00:03<00:03, 18.73it/s, 2022-05-17 → 2022-06-07]
 47%|████▋     | 60/128 [00:03<00:03, 19.41it/s, 2022-06-29 → 2022-07-19]
 49%|████▉     | 63/128 [00:03<00:03, 20.05it/s, 2022-08-10 → 2022-08-30]
 52%|█████▏    | 66/128 [00:03<00:03, 20.52it/s, 2022-09-22 → 2022-10-19]
 54%|█████▍    | 69/128 [00:04<00:02, 20.66it/s, 2022-11-10 → 2022-11-30]
 56%|█████▋    | 72/128 [00:04<00:02, 20.94it/s, 2022-12-22 → 2023-01-12]
 59%|█████▊    | 75/128 [00:04<00:02, 20.60it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:04<00:02, 20.05it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:04<00:02, 20.12it/s, 2023-05-11 → 2023-05-31]
 66%|██████▌   | 84/128 [00:04<00:02, 20.54it/s, 2023-06-22 → 2023-07-14]
 68%|██████▊   | 87/128 [00:04<00:01, 20.54it/s, 2023-08-05 → 2023-08-25]
 70%|███████   | 90/128 [00:05<00:01, 20.15it/s, 2023-09-16 → 2023-10-14]
 73%|███████▎  | 93/128 [00:05<00:01, 20.40it/s, 2023-11-07 → 2023-11-25]
 75%|███████▌  | 96/128 [00:05<00:01, 20.81it/s, 2023-12-19 → 2024-01-09]
 77%|███████▋  | 99/128 [00:05<00:01, 20.68it/s, 2024-01-31 → 2024-02-28]
 80%|███████▉  | 102/128 [00:05<00:01, 20.67it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:05<00:01, 21.04it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:05<00:00, 21.35it/s, 2024-06-21 → 2024-07-11]
 87%|████████▋ | 111/128 [00:06<00:00, 21.36it/s, 2024-08-02 → 2024-08-22]
 89%|████████▉ | 114/128 [00:06<00:00, 20.59it/s, 2024-09-13 → 2024-10-12]
 91%|█████████▏| 117/128 [00:06<00:00, 19.70it/s, 2024-11-05 → 2024-11-23]
 94%|█████████▍| 120/128 [00:06<00:00, 20.05it/s, 2024-12-17 → 2025-01-07]
 96%|█████████▌| 123/128 [00:06<00:00, 20.43it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 126/128 [00:06<00:00, 20.62it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:06<00:00, 18.50it/s, 2025-04-03 → 2025-04-24]
2025-05-13 21:06:35 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v7] 优化前的夏普率: 4.72813
2025-05-13 21:06:35 | 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-13 21:06:36 | 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-13 21:06:36 | 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-13 21:06: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)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:06: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)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

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

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

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

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

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

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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)
{'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:04, 21.05it/s, 2021-10-19 → 2021-11-06]
 36%|███▌      | 46/128 [00:02<00:03, 21.01it/s, 2021-11-30 → 2021-12-18]
 38%|███▊      | 49/128 [00:02<00:03, 21.00it/s, 2022-01-12 → 2022-02-08]
 41%|████      | 52/128 [00:02<00:03, 21.01it/s, 2022-03-02 → 2022-03-22]
 43%|████▎     | 55/128 [00:02<00:03, 20.98it/s, 2022-04-15 → 2022-05-10]
 45%|████▌     | 58/128 [00:02<00:03, 20.94it/s, 2022-06-01 → 2022-06-22]
 48%|████▊     | 61/128 [00:02<00:03, 20.96it/s, 2022-07-14 → 2022-08-03]
 50%|█████     | 64/128 [00:03<00:03, 21.29it/s, 2022-08-25 → 2022-09-15]
 52%|█████▏    | 67/128 [00:03<00:02, 21.32it/s, 2022-10-14 → 2022-11-03]
 55%|█████▍    | 70/128 [00:03<00:02, 21.14it/s, 2022-11-25 → 2022-12-15]
 57%|█████▋    | 73/128 [00:03<00:02, 21.22it/s, 2023-01-07 → 2023-02-03]
 59%|█████▉    | 76/128 [00:03<00:02, 20.11it/s, 2023-02-25 → 2023-03-17]
 62%|██████▏   | 79/128 [00:03<00:02, 20.47it/s, 2023-04-11 → 2023-04-29]
 64%|██████▍   | 82/128 [00:03<00:02, 20.63it/s, 2023-05-26 → 2023-06-15]
 66%|██████▋   | 85/128 [00:04<00:02, 20.10it/s, 2023-07-11 → 2023-07-29]
 69%|██████▉   | 88/128 [00:04<00:01, 20.21it/s, 2023-08-22 → 2023-09-09]
 71%|███████   | 91/128 [00:04<00:01, 20.04it/s, 2023-10-11 → 2023-10-31]
 73%|███████▎  | 94/128 [00:04<00:01, 19.99it/s, 2023-11-22 → 2023-12-12]
 76%|███████▌  | 97/128 [00:04<00:01, 20.19it/s, 2024-01-04 → 2024-01-24]
 78%|███████▊  | 100/128 [00:04<00:01, 20.48it/s, 2024-02-23 → 2024-03-14]
 80%|████████  | 103/128 [00:04<00:01, 19.66it/s, 2024-04-09 → 2024-04-27]
 83%|████████▎ | 106/128 [00:05<00:01, 20.04it/s, 2024-05-24 → 2024-06-14]
 85%|████████▌ | 109/128 [00:05<00:00, 20.30it/s, 2024-07-06 → 2024-07-26]
 88%|████████▊ | 112/128 [00:05<00:00, 20.25it/s, 2024-08-17 → 2024-09-06]
 90%|████████▉ | 115/128 [00:05<00:00, 20.45it/s, 2024-10-09 → 2024-10-29]
 92%|█████████▏| 118/128 [00:05<00:00, 19.81it/s, 2024-11-20 → 2024-12-10]
 94%|█████████▍| 120/128 [00:05<00:00, 19.45it/s, 2024-12-18 → 2025-01-08]
 96%|█████████▌| 123/128 [00:05<00:00, 19.77it/s, 2025-02-07 → 2025-02-27]
 98%|█████████▊| 126/128 [00:06<00:00, 20.13it/s, 2025-03-21 → 2025-04-11]
100%|██████████| 128/128 [00:06<00:00, 20.59it/s, 2025-04-04 → 2025-04-25]
2025-05-13 21:06:57 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v8] 优化前的夏普率: 10.52209
2025-05-13 21:06:57 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v8] 优化后的夏普率: 10.18527
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:07: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)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

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

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

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21:07: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-13 21:07: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-13 21:07: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)
{'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.08it/s, 2021-08-12 → 2021-09-01]
 32%|███▏      | 41/128 [00:02<00:06, 14.35it/s, 2021-09-09 → 2021-10-01]
 34%|███▎      | 43/128 [00:02<00:05, 14.72it/s, 2021-10-16 → 2021-11-05]
 35%|███▌      | 45/128 [00:03<00:05, 15.11it/s, 2021-11-13 → 2021-12-03]
 37%|███▋      | 47/128 [00:03<00:05, 15.64it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:03<00:04, 16.53it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:03<00:04, 17.00it/s, 2022-03-01 → 2022-03-19]
 43%|████▎     | 55/128 [00:03<00:04, 17.79it/s, 2022-04-14 → 2022-05-07]
 45%|████▍     | 57/128 [00:03<00:03, 18.18it/s, 2022-05-17 → 2022-06-07]
 46%|████▌     | 59/128 [00:03<00:03, 18.18it/s, 2022-06-15 → 2022-07-05]
 48%|████▊     | 62/128 [00:03<00:03, 19.09it/s, 2022-07-27 → 2022-08-16]
 51%|█████     | 65/128 [00:04<00:03, 19.55it/s, 2022-09-07 → 2022-09-28]
 53%|█████▎    | 68/128 [00:04<00:02, 20.01it/s, 2022-10-27 → 2022-11-16]
 55%|█████▌    | 71/128 [00:04<00:02, 19.52it/s, 2022-12-08 → 2022-12-28]
 57%|█████▋    | 73/128 [00:04<00:02, 19.25it/s, 2023-01-06 → 2023-02-02]
 59%|█████▊    | 75/128 [00:04<00:02, 18.91it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:04<00:02, 18.58it/s, 2023-03-24 → 2023-04-14]
 62%|██████▎   | 80/128 [00:04<00:02, 18.68it/s, 2023-04-22 → 2023-05-17]
 64%|██████▍   | 82/128 [00:04<00:02, 18.66it/s, 2023-05-25 → 2023-06-14]
 66%|██████▌   | 84/128 [00:05<00:02, 18.39it/s, 2023-06-22 → 2023-07-14]
 67%|██████▋   | 86/128 [00:05<00:02, 18.29it/s, 2023-07-22 → 2023-08-11]
 70%|██████▉   | 89/128 [00:05<00:02, 19.00it/s, 2023-09-02 → 2023-09-22]
 72%|███████▏  | 92/128 [00:05<00:01, 19.51it/s, 2023-10-24 → 2023-11-11]
 74%|███████▍  | 95/128 [00:05<00:01, 19.84it/s, 2023-12-05 → 2023-12-23]
 76%|███████▌  | 97/128 [00:05<00:01, 18.37it/s, 2024-01-03 → 2024-01-23]
 77%|███████▋  | 99/128 [00:05<00:01, 18.15it/s, 2024-01-31 → 2024-02-28]
 79%|███████▉  | 101/128 [00:05<00:01, 18.46it/s, 2024-03-07 → 2024-03-27]
 81%|████████▏ | 104/128 [00:06<00:01, 19.24it/s, 2024-04-20 → 2024-05-15]
 84%|████████▎ | 107/128 [00:06<00:01, 19.70it/s, 2024-06-06 → 2024-06-27]
 86%|████████▌ | 110/128 [00:06<00:00, 20.11it/s, 2024-07-19 → 2024-08-08]
 88%|████████▊ | 113/128 [00:06<00:00, 18.97it/s, 2024-08-30 → 2024-09-21]
 90%|████████▉ | 115/128 [00:06<00:00, 18.86it/s, 2024-10-01 → 2024-10-26]
 92%|█████████▏| 118/128 [00:06<00:00, 19.05it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:06<00:00, 18.92it/s, 2024-12-17 → 2025-01-07]
 96%|█████████▌| 123/128 [00:07<00:00, 19.84it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 126/128 [00:07<00:00, 20.34it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:07<00:00, 17.42it/s, 2025-04-03 → 2025-04-24]
2025-05-13 21:07:21 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v9] 优化前的夏普率: 4.60447
2025-05-13 21:07:21 | 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-13 21:07: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-13 21:07: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)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:07: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:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21:07: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-13 21:07: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:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21:07:27 | 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-13 21:07:27 | 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-13 21:07: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:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

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

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

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

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21:07: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)
2025-05-13 21:07: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:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:07:38,793][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-13 21:07:38,795][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-13 21:07:38,802][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-13 21:07:38,803][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-13 21:07:38,811][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-13 21:07:38,812][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-13 21:07:42,624][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-13 21:07:42,625][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-13 21:07:42,632][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-13 21:07:42,633][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-13 21:07:42,640][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-13 21:07:42,641][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-13 21:09: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-13 21: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-13 21: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-13 21:10: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-13 21: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-13 21: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-13 21:10: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-13 21:10: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-13 21: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-13 21:10: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21: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-13 21: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-13 21: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-13 21: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-13 21:10: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21: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-13 21:10: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-13 21:10: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-13 21: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-13 21:10: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21: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-13 21:10: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-13 21: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-13 21: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-13 21:10: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-13 21:10: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-13 21: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-13 21: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-13 21:10: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-13 21: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)
2025-05-13 21:10: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-13 21:10: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-13 21:10: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-13 21:10: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-13 21:10: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-13 21: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-13 21:10: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-13 21:10: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-13 21: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-13 21: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21: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-13 21:10: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-13 21: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-13 21: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-13 21:10: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)
2025-05-13 21: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-13 21:10: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)
2025-05-13 21: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-13 21: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-13 21:10: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-13 21: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-13 21: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-13 21:10: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-13 21: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-13 21: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-13 21:10: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-13 21:10: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-13 21:10:43 | 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-13 21:10: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-13 21:10: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)
2025-05-13 21: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-13 21: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-13 21: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-13 21: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-13 21:10: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-13 21:10: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-13 21: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-13 21:10: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-13 21:10: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-13 21: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-13 21:10: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-13 21:10: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-13 21: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-13 21: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-13 21: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:10: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-13 21:10: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-13 21:10: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-13 21:10: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-13 21:10: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-13 21:10: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-13 21:10: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-13 21:10: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-13 21:10: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-13 21:10: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)
2025-05-13 21:10:57 | 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-13 21:10:58 | 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-13 21:10: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)
2025-05-13 21:10:58 | 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-13 21:10:59 | 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-13 21:11: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-13 21:11: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-13 21:11: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-13 21:11: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-13 21:11: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-13 21:11: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-13 21:11: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-13 21:11: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-13 21:11: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-13 21:11: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:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21: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)
2025-05-13 21:11: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-13 21:11: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-13 21:11:07 | 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-13 21:11: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-13 21: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-13 21:11: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-13 21:11: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-13 21:11: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-13 21:11: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-13 21: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)
2025-05-13 21:11: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-13 21:11: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-13 21:11: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-13 21:11: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)
{'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.05it/s, 2020-05-08 → 2020-05-28]
  9%|▊         | 11/128 [00:03<00:25,  4.62it/s, 2020-06-19 → 2020-07-11]
 11%|█         | 14/128 [00:03<00:17,  6.44it/s, 2020-08-04 → 2020-08-22]
 12%|█▎        | 16/128 [00:03<00:14,  7.67it/s, 2020-09-01 → 2020-09-19]
 14%|█▍        | 18/128 [00:04<00:25,  4.35it/s, 2020-09-29 → 2020-10-27]
 16%|█▌        | 20/128 [00:04<00:20,  5.28it/s, 2020-11-04 → 2020-11-24]
 17%|█▋        | 22/128 [00:04<00:16,  6.28it/s, 2020-12-02 → 2020-12-22]
 19%|█▉        | 24/128 [00:04<00:14,  7.28it/s, 2020-12-30 → 2021-01-20]
 20%|██        | 26/128 [00:05<00:12,  8.20it/s, 2021-01-28 → 2021-02-24]
 22%|██▏       | 28/128 [00:06<00:23,  4.17it/s, 2021-03-04 → 2021-03-24]
 23%|██▎       | 29/128 [00:07<00:36,  2.69it/s, 2021-03-18 → 2021-04-08]
 24%|██▍       | 31/128 [00:07<00:26,  3.64it/s, 2021-04-16 → 2021-05-11]
 26%|██▌       | 33/128 [00:08<00:34,  2.75it/s, 2021-05-19 → 2021-06-08]
 27%|██▋       | 34/128 [00:09<00:45,  2.07it/s, 2021-06-02 → 2021-06-23]
 27%|██▋       | 35/128 [00:10<00:50,  1.83it/s, 2021-06-17 → 2021-07-07]
 28%|██▊       | 36/128 [00:11<00:59,  1.54it/s, 2021-07-01 → 2021-07-21]
 30%|██▉       | 38/128 [00:12<00:54,  1.64it/s, 2021-07-29 → 2021-08-18]
 30%|███       | 39/128 [00:13<01:01,  1.44it/s, 2021-08-12 → 2021-09-01]
 31%|███▏      | 40/128 [00:14<01:06,  1.32it/s, 2021-08-26 → 2021-09-15]
 34%|███▎      | 43/128 [00:14<00:33,  2.52it/s, 2021-10-16 → 2021-11-05]
 36%|███▌      | 46/128 [00:15<00:31,  2.63it/s, 2021-11-27 → 2021-12-17]
 37%|███▋      | 47/128 [00:16<00:38,  2.09it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:17<00:33,  2.35it/s, 2022-01-25 → 2022-02-19]
 40%|███▉      | 51/128 [00:18<00:39,  1.93it/s, 2022-02-15 → 2022-03-05]
 42%|████▏     | 54/128 [00:18<00:23,  3.10it/s, 2022-03-29 → 2022-04-20]
 43%|████▎     | 55/128 [00:19<00:31,  2.31it/s, 2022-04-14 → 2022-05-07]
 45%|████▌     | 58/128 [00:19<00:19,  3.65it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:20<00:23,  2.91it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 61/128 [00:21<00:30,  2.21it/s, 2022-07-13 → 2022-08-02]
 48%|████▊     | 62/128 [00:22<00:36,  1.81it/s, 2022-07-27 → 2022-08-16]
 51%|█████     | 65/128 [00:22<00:20,  3.09it/s, 2022-09-07 → 2022-09-28]
 53%|█████▎    | 68/128 [00:23<00:20,  2.98it/s, 2022-10-27 → 2022-11-16]
 54%|█████▍    | 69/128 [00:24<00:25,  2.30it/s, 2022-11-10 → 2022-11-30]
 55%|█████▍    | 70/128 [00:25<00:30,  1.88it/s, 2022-11-24 → 2022-12-14]
 55%|█████▌    | 71/128 [00:26<00:34,  1.66it/s, 2022-12-08 → 2022-12-28]
 56%|█████▋    | 72/128 [00:27<00:38,  1.46it/s, 2022-12-22 → 2023-01-12]
 57%|█████▋    | 73/128 [00:28<00:41,  1.33it/s, 2023-01-06 → 2023-02-02]
 59%|█████▊    | 75/128 [00:29<00:34,  1.53it/s, 2023-02-10 → 2023-03-02]
 60%|██████    | 77/128 [00:29<00:22,  2.27it/s, 2023-03-10 → 2023-03-30]
 62%|██████▏   | 79/128 [00:29<00:15,  3.16it/s, 2023-04-08 → 2023-04-28]
 63%|██████▎   | 81/128 [00:31<00:18,  2.52it/s, 2023-05-11 → 2023-05-31]
 64%|██████▍   | 82/128 [00:31<00:19,  2.39it/s, 2023-05-25 → 2023-06-14]
 66%|██████▌   | 84/128 [00:31<00:13,  3.35it/s, 2023-06-22 → 2023-07-14]
 67%|██████▋   | 86/128 [00:32<00:16,  2.56it/s, 2023-07-22 → 2023-08-11]
 69%|██████▉   | 88/128 [00:33<00:11,  3.46it/s, 2023-08-19 → 2023-09-08]
 70%|██████▉   | 89/128 [00:34<00:16,  2.33it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:35<00:17,  2.10it/s, 2023-10-10 → 2023-10-28]
 72%|███████▏  | 92/128 [00:36<00:20,  1.72it/s, 2023-10-24 → 2023-11-11]
 74%|███████▍  | 95/128 [00:36<00:11,  2.98it/s, 2023-12-05 → 2023-12-23]
 75%|███████▌  | 96/128 [00:36<00:10,  2.92it/s, 2023-12-19 → 2024-01-09]
 76%|███████▌  | 97/128 [00:37<00:14,  2.10it/s, 2024-01-03 → 2024-01-23]
 77%|███████▋  | 99/128 [00:38<00:14,  2.04it/s, 2024-01-31 → 2024-02-28]
 78%|███████▊  | 100/128 [00:39<00:16,  1.68it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:40<00:18,  1.45it/s, 2024-03-07 → 2024-03-27]
 81%|████████▏ | 104/128 [00:40<00:08,  2.70it/s, 2024-04-20 → 2024-05-15]
 84%|████████▎ | 107/128 [00:41<00:04,  4.25it/s, 2024-06-06 → 2024-06-27]
 85%|████████▌ | 109/128 [00:41<00:04,  4.63it/s, 2024-07-05 → 2024-07-25]
 87%|████████▋ | 111/128 [00:43<00:07,  2.28it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 113/128 [00:44<00:06,  2.17it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:45<00:07,  1.84it/s, 2024-09-13 → 2024-10-12]
 91%|█████████▏| 117/128 [00:45<00:03,  3.00it/s, 2024-11-05 → 2024-11-23]
 92%|█████████▏| 118/128 [00:46<00:04,  2.32it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:47<00:03,  2.17it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:48<00:03,  1.76it/s, 2024-12-31 → 2025-01-21]
 96%|█████████▌| 123/128 [00:48<00:01,  2.52it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 125/128 [00:48<00:00,  3.42it/s, 2025-03-06 → 2025-03-26]
 99%|█████████▉| 127/128 [00:48<00:00,  4.43it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:49<00:00,  2.70it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:49<00:00,  2.56it/s, 2025-04-03 → 2025-04-25]
2025-05-13 21:12:10 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v5] 优化前的夏普率: 0.98244
2025-05-13 21:12:10 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v5] 优化后的夏普率: 0.24078
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:12: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)
2025-05-13 21:12: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-13 21:12: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-13 21:12: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-13 21:12: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-13 21:12: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-13 21:12: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-13 21:12: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-13 21:12: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-13 21:12: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-13 21:12: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-13 21:12: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-13 21:12: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-13 21:12: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)
2025-05-13 21:12: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-13 21:12: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)
/root/project/auto/auto/functions/func_backtester_hf.py:899: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21:12: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-13 21:12: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)
{'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.11it/s, 2020-05-08 → 2020-05-28]
  9%|▊         | 11/128 [00:03<00:24,  4.73it/s, 2020-06-19 → 2020-07-11]
 11%|█         | 14/128 [00:03<00:17,  6.62it/s, 2020-08-04 → 2020-08-22]
 13%|█▎        | 17/128 [00:03<00:12,  8.62it/s, 2020-09-15 → 2020-10-13]
 16%|█▌        | 20/128 [00:03<00:10, 10.71it/s, 2020-11-04 → 2020-11-24]
 18%|█▊        | 23/128 [00:03<00:08, 12.80it/s, 2020-12-16 → 2021-01-06]
 20%|██        | 26/128 [00:03<00:06, 14.64it/s, 2021-01-28 → 2021-02-24]
 23%|██▎       | 29/128 [00:04<00:10,  9.36it/s, 2021-03-18 → 2021-04-08]
 24%|██▍       | 31/128 [00:04<00:09, 10.47it/s, 2021-04-16 → 2021-05-11]
 26%|██▌       | 33/128 [00:05<00:18,  5.00it/s, 2021-05-19 → 2021-06-08]
 27%|██▋       | 35/128 [00:06<00:26,  3.53it/s, 2021-06-17 → 2021-07-07]
 30%|██▉       | 38/128 [00:06<00:17,  5.03it/s, 2021-07-29 → 2021-08-18]
 31%|███▏      | 40/128 [00:08<00:35,  2.49it/s, 2021-08-26 → 2021-09-15]
 34%|███▎      | 43/128 [00:08<00:23,  3.62it/s, 2021-10-16 → 2021-11-05]
 36%|███▌      | 46/128 [00:09<00:25,  3.28it/s, 2021-11-27 → 2021-12-17]
 37%|███▋      | 47/128 [00:10<00:32,  2.50it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:11<00:21,  3.70it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:11<00:16,  4.56it/s, 2022-03-01 → 2022-03-19]
 43%|████▎     | 55/128 [00:12<00:19,  3.69it/s, 2022-04-14 → 2022-05-07]
 45%|████▌     | 58/128 [00:12<00:13,  5.11it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:13<00:19,  3.56it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 61/128 [00:14<00:26,  2.56it/s, 2022-07-13 → 2022-08-02]
 50%|█████     | 64/128 [00:14<00:16,  3.90it/s, 2022-08-24 → 2022-09-14]
 52%|█████▏    | 66/128 [00:15<00:20,  3.06it/s, 2022-09-22 → 2022-10-19]
 53%|█████▎    | 68/128 [00:15<00:15,  3.92it/s, 2022-10-27 → 2022-11-16]
 55%|█████▍    | 70/128 [00:16<00:19,  2.98it/s, 2022-11-24 → 2022-12-14]
 57%|█████▋    | 73/128 [00:18<00:19,  2.87it/s, 2023-01-06 → 2023-02-02]
 59%|█████▊    | 75/128 [00:19<00:21,  2.52it/s, 2023-02-10 → 2023-03-02]
 60%|██████    | 77/128 [00:19<00:15,  3.23it/s, 2023-03-10 → 2023-03-30]
 62%|██████▏   | 79/128 [00:19<00:12,  4.08it/s, 2023-04-08 → 2023-04-28]
 63%|██████▎   | 81/128 [00:19<00:09,  5.03it/s, 2023-05-11 → 2023-05-31]
 65%|██████▍   | 83/128 [00:19<00:07,  6.02it/s, 2023-06-08 → 2023-06-30]
 66%|██████▋   | 85/128 [00:19<00:06,  7.06it/s, 2023-07-08 → 2023-07-28]
 68%|██████▊   | 87/128 [00:20<00:05,  7.80it/s, 2023-08-05 → 2023-08-25]
 70%|██████▉   | 89/128 [00:21<00:10,  3.88it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:22<00:12,  2.86it/s, 2023-10-10 → 2023-10-28]
 73%|███████▎  | 93/128 [00:23<00:14,  2.50it/s, 2023-11-07 → 2023-11-25]
 73%|███████▎  | 94/128 [00:24<00:17,  1.98it/s, 2023-11-21 → 2023-12-09]
 76%|███████▌  | 97/128 [00:25<00:13,  2.26it/s, 2024-01-03 → 2024-01-23]
 78%|███████▊  | 100/128 [00:26<00:11,  2.43it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:27<00:13,  1.99it/s, 2024-03-07 → 2024-03-27]
 80%|███████▉  | 102/128 [00:28<00:15,  1.69it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:28<00:08,  2.82it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:28<00:04,  4.25it/s, 2024-06-21 → 2024-07-11]
 86%|████████▌ | 110/128 [00:30<00:07,  2.28it/s, 2024-07-19 → 2024-08-08]
 87%|████████▋ | 111/128 [00:31<00:09,  1.86it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 112/128 [00:32<00:10,  1.58it/s, 2024-08-16 → 2024-09-05]
 88%|████████▊ | 113/128 [00:33<00:10,  1.39it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:35<00:11,  1.25it/s, 2024-09-13 → 2024-10-12]
 91%|█████████ | 116/128 [00:35<00:06,  1.93it/s, 2024-10-22 → 2024-11-09]
 92%|█████████▏| 118/128 [00:36<00:05,  1.86it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:37<00:04,  1.83it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:38<00:04,  1.55it/s, 2024-12-31 → 2025-01-21]
 96%|█████████▌| 123/128 [00:38<00:02,  2.26it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 125/128 [00:38<00:00,  3.11it/s, 2025-03-06 → 2025-03-26]
 99%|█████████▉| 127/128 [00:39<00:00,  4.08it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:40<00:00,  2.48it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:40<00:00,  3.19it/s, 2025-04-03 → 2025-04-25]
2025-05-13 21:13:07 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v6] 优化前的夏普率: 0.98596
2025-05-13 21:13:07 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v6] 优化后的夏普率: 0.8136
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:13: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)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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)
/root/project/auto/auto/functions/func_backtester_hf.py:940: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21:13: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-13 21:13: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-13 21:13: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-13 21:13: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)
2025-05-13 21:13: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)
2025-05-13 21:13: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-13 21:13: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-13 21:13: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-13 21:13: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-13 21:13: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-13 21:13: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)
2025-05-13 21:13: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)
2025-05-13 21:13: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-13 21:13: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)
2025-05-13 21:13: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-13 21:13: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)
2025-05-13 21:13: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-13 21:13: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-13 21:13: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)
{'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:03<00:39,  3.03it/s, 2020-05-08 → 2020-05-28]
  9%|▊         | 11/128 [00:03<00:25,  4.61it/s, 2020-06-19 → 2020-07-11]
 11%|█         | 14/128 [00:03<00:17,  6.45it/s, 2020-08-04 → 2020-08-22]
 12%|█▎        | 16/128 [00:03<00:14,  7.73it/s, 2020-09-01 → 2020-09-19]
 14%|█▍        | 18/128 [00:04<00:25,  4.37it/s, 2020-09-29 → 2020-10-27]
 16%|█▋        | 21/128 [00:04<00:17,  6.16it/s, 2020-11-18 → 2020-12-08]
 19%|█▉        | 24/128 [00:04<00:12,  8.14it/s, 2020-12-30 → 2021-01-20]
 20%|██        | 26/128 [00:04<00:10,  9.51it/s, 2021-01-28 → 2021-02-24]
 22%|██▏       | 28/128 [00:05<00:21,  4.68it/s, 2021-03-04 → 2021-03-24]
 24%|██▍       | 31/128 [00:05<00:15,  6.45it/s, 2021-04-16 → 2021-05-11]
 26%|██▌       | 33/128 [00:07<00:23,  3.98it/s, 2021-05-19 → 2021-06-08]
 27%|██▋       | 35/128 [00:07<00:18,  5.03it/s, 2021-06-17 → 2021-07-07]
 30%|██▉       | 38/128 [00:07<00:13,  6.92it/s, 2021-07-29 → 2021-08-18]
 31%|███▏      | 40/128 [00:09<00:32,  2.73it/s, 2021-08-26 → 2021-09-15]
 34%|███▎      | 43/128 [00:09<00:21,  3.96it/s, 2021-10-16 → 2021-11-05]
 36%|███▌      | 46/128 [00:10<00:23,  3.48it/s, 2021-11-27 → 2021-12-17]
 38%|███▊      | 48/128 [00:11<00:27,  2.92it/s, 2021-12-25 → 2022-01-15]
 40%|███▉      | 51/128 [00:12<00:26,  2.88it/s, 2022-02-15 → 2022-03-05]
 41%|████▏     | 53/128 [00:12<00:20,  3.64it/s, 2022-03-15 → 2022-04-02]
 43%|████▎     | 55/128 [00:13<00:24,  2.98it/s, 2022-04-14 → 2022-05-07]
 45%|████▌     | 58/128 [00:13<00:16,  4.31it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:14<00:20,  3.29it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 61/128 [00:15<00:27,  2.45it/s, 2022-07-13 → 2022-08-02]
 49%|████▉     | 63/128 [00:15<00:19,  3.33it/s, 2022-08-10 → 2022-08-30]
 52%|█████▏    | 66/128 [00:17<00:19,  3.10it/s, 2022-09-22 → 2022-10-19]
 53%|█████▎    | 68/128 [00:18<00:22,  2.66it/s, 2022-10-27 → 2022-11-16]
 54%|█████▍    | 69/128 [00:19<00:27,  2.11it/s, 2022-11-10 → 2022-11-30]
 55%|█████▌    | 71/128 [00:19<00:19,  2.93it/s, 2022-12-08 → 2022-12-28]
 57%|█████▋    | 73/128 [00:20<00:22,  2.49it/s, 2023-01-06 → 2023-02-02]
 59%|█████▊    | 75/128 [00:21<00:23,  2.28it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:21<00:14,  3.55it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:21<00:09,  5.10it/s, 2023-05-11 → 2023-05-31]
 65%|██████▍   | 83/128 [00:21<00:07,  6.22it/s, 2023-06-08 → 2023-06-30]
 67%|██████▋   | 86/128 [00:22<00:09,  4.26it/s, 2023-07-22 → 2023-08-11]
 70%|██████▉   | 89/128 [00:23<00:10,  3.61it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:24<00:12,  2.98it/s, 2023-10-10 → 2023-10-28]
 73%|███████▎  | 93/128 [00:25<00:13,  2.61it/s, 2023-11-07 → 2023-11-25]
 73%|███████▎  | 94/128 [00:26<00:16,  2.09it/s, 2023-11-21 → 2023-12-09]
 76%|███████▌  | 97/128 [00:28<00:13,  2.32it/s, 2024-01-03 → 2024-01-23]
 78%|███████▊  | 100/128 [00:29<00:11,  2.47it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:30<00:13,  2.02it/s, 2024-03-07 → 2024-03-27]
 80%|███████▉  | 102/128 [00:31<00:15,  1.72it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:31<00:08,  2.84it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:31<00:04,  4.24it/s, 2024-06-21 → 2024-07-11]
 86%|████████▌ | 110/128 [00:33<00:07,  2.29it/s, 2024-07-19 → 2024-08-08]
 87%|████████▋ | 111/128 [00:34<00:08,  1.90it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 112/128 [00:35<00:09,  1.63it/s, 2024-08-16 → 2024-09-05]
 88%|████████▊ | 113/128 [00:36<00:10,  1.44it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:37<00:10,  1.29it/s, 2024-09-13 → 2024-10-12]
 91%|█████████ | 116/128 [00:37<00:05,  2.01it/s, 2024-10-22 → 2024-11-09]
 92%|█████████▏| 118/128 [00:38<00:05,  1.97it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:39<00:04,  1.96it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:40<00:04,  1.65it/s, 2024-12-31 → 2025-01-21]
 96%|█████████▌| 123/128 [00:40<00:02,  2.46it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 126/128 [00:40<00:00,  3.99it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:41<00:00,  3.03it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:41<00:00,  3.05it/s, 2025-04-03 → 2025-04-25]
2025-05-13 21:14:06 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v7] 优化前的夏普率: 1.03078
2025-05-13 21:14:06 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v7] 优化后的夏普率: 0.54671
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:14:10 | 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)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:14: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-13 21:14: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)
/root/project/auto/auto/functions/func_backtester_hf.py:979: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

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

See the caveats in 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.77it/s, 2020-03-24 → 2020-04-14]
  5%|▌         | 7/128 [00:02<00:46,  2.63it/s, 2020-04-22 → 2020-05-15]
  7%|▋         | 9/128 [00:03<00:31,  3.72it/s, 2020-05-23 → 2020-06-12]
  9%|▉         | 12/128 [00:03<00:20,  5.68it/s, 2020-07-08 → 2020-07-28]
 11%|█         | 14/128 [00:03<00:15,  7.13it/s, 2020-08-05 → 2020-08-25]
 12%|█▎        | 16/128 [00:03<00:12,  8.65it/s, 2020-09-02 → 2020-09-22]
 14%|█▍        | 18/128 [00:04<00:25,  4.36it/s, 2020-09-30 → 2020-10-28]
 16%|█▌        | 20/128 [00:04<00:19,  5.61it/s, 2020-11-05 → 2020-11-25]
 17%|█▋        | 22/128 [00:04<00:14,  7.07it/s, 2020-12-03 → 2020-12-23]
 19%|█▉        | 24/128 [00:04<00:11,  8.70it/s, 2020-12-31 → 2021-01-21]
 21%|██        | 27/128 [00:04<00:08, 11.22it/s, 2021-02-19 → 2021-03-11]
 23%|██▎       | 29/128 [00:05<00:19,  4.98it/s, 2021-03-19 → 2021-04-09]
 24%|██▍       | 31/128 [00:05<00:15,  6.29it/s, 2021-04-17 → 2021-05-12]
 26%|██▌       | 33/128 [00:07<00:28,  3.30it/s, 2021-05-20 → 2021-06-09]
 27%|██▋       | 35/128 [00:08<00:34,  2.71it/s, 2021-06-18 → 2021-07-08]
 30%|██▉       | 38/128 [00:08<00:22,  4.00it/s, 2021-07-30 → 2021-08-19]
 31%|███▏      | 40/128 [00:10<00:39,  2.23it/s, 2021-08-27 → 2021-09-16]
 33%|███▎      | 42/128 [00:10<00:29,  2.95it/s, 2021-09-28 → 2021-10-23]
 34%|███▍      | 44/128 [00:10<00:21,  3.84it/s, 2021-11-02 → 2021-11-20]
 36%|███▌      | 46/128 [00:11<00:27,  2.98it/s, 2021-11-30 → 2021-12-18]
 38%|███▊      | 48/128 [00:11<00:20,  3.95it/s, 2021-12-28 → 2022-01-18]
 39%|███▉      | 50/128 [00:12<00:15,  5.08it/s, 2022-01-26 → 2022-02-22]
 41%|████      | 52/128 [00:12<00:12,  6.28it/s, 2022-03-02 → 2022-03-22]
 42%|████▏     | 54/128 [00:12<00:09,  7.80it/s, 2022-03-30 → 2022-04-21]
 44%|████▍     | 56/128 [00:13<00:17,  4.04it/s, 2022-04-29 → 2022-05-24]
 45%|████▌     | 58/128 [00:13<00:13,  5.29it/s, 2022-06-01 → 2022-06-22]
 47%|████▋     | 60/128 [00:14<00:19,  3.43it/s, 2022-06-30 → 2022-07-20]
 48%|████▊     | 62/128 [00:15<00:23,  2.75it/s, 2022-07-28 → 2022-08-17]
 50%|█████     | 64/128 [00:15<00:17,  3.64it/s, 2022-08-25 → 2022-09-15]
 52%|█████▏    | 66/128 [00:15<00:13,  4.73it/s, 2022-09-23 → 2022-10-20]
 53%|█████▎    | 68/128 [00:17<00:26,  2.23it/s, 2022-10-28 → 2022-11-17]
 54%|█████▍    | 69/128 [00:18<00:32,  1.83it/s, 2022-11-11 → 2022-12-01]
 55%|█████▌    | 71/128 [00:18<00:21,  2.61it/s, 2022-12-09 → 2022-12-29]
 56%|█████▋    | 72/128 [00:19<00:27,  2.01it/s, 2022-12-23 → 2023-01-13]
 57%|█████▋    | 73/128 [00:20<00:28,  1.96it/s, 2023-01-07 → 2023-02-03]
 59%|█████▊    | 75/128 [00:21<00:28,  1.87it/s, 2023-02-11 → 2023-03-03]
 60%|██████    | 77/128 [00:21<00:19,  2.65it/s, 2023-03-11 → 2023-03-31]
 62%|██████▏   | 79/128 [00:22<00:13,  3.54it/s, 2023-04-11 → 2023-04-29]
 63%|██████▎   | 81/128 [00:22<00:10,  4.56it/s, 2023-05-12 → 2023-06-01]
 64%|██████▍   | 82/128 [00:23<00:17,  2.64it/s, 2023-05-26 → 2023-06-15]
 66%|██████▌   | 84/128 [00:23<00:11,  3.74it/s, 2023-06-27 → 2023-07-15]
 67%|██████▋   | 86/128 [00:23<00:08,  5.08it/s, 2023-07-25 → 2023-08-12]
 70%|██████▉   | 89/128 [00:24<00:10,  3.74it/s, 2023-09-05 → 2023-09-23]
 70%|███████   | 90/128 [00:25<00:15,  2.52it/s, 2023-09-19 → 2023-10-17]
 72%|███████▏  | 92/128 [00:25<00:10,  3.34it/s, 2023-10-25 → 2023-11-14]
 73%|███████▎  | 93/128 [00:26<00:15,  2.27it/s, 2023-11-08 → 2023-11-28]
 74%|███████▍  | 95/128 [00:28<00:16,  2.06it/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:10,  2.67it/s, 2024-02-01 → 2024-02-29]
 79%|███████▉  | 101/128 [00:30<00:11,  2.27it/s, 2024-03-08 → 2024-03-28]
 80%|████████  | 103/128 [00:30<00:08,  2.96it/s, 2024-04-09 → 2024-04-27]
 82%|████████▏ | 105/128 [00:30<00:05,  3.85it/s, 2024-05-10 → 2024-05-30]
 84%|████████▎ | 107/128 [00:31<00:04,  4.86it/s, 2024-06-07 → 2024-06-28]
 85%|████████▌ | 109/128 [00:31<00:03,  5.69it/s, 2024-07-06 → 2024-07-26]
 86%|████████▌ | 110/128 [00:32<00:05,  3.06it/s, 2024-07-20 → 2024-08-09]
 87%|████████▋ | 111/128 [00:33<00:07,  2.13it/s, 2024-08-03 → 2024-08-23]
 88%|████████▊ | 112/128 [00:34<00:09,  1.70it/s, 2024-08-17 → 2024-09-06]
 88%|████████▊ | 113/128 [00:35<00:10,  1.45it/s, 2024-08-31 → 2024-09-24]
 90%|████████▉ | 115/128 [00:35<00:05,  2.33it/s, 2024-10-09 → 2024-10-29]
 91%|█████████▏| 117/128 [00:35<00:03,  3.44it/s, 2024-11-06 → 2024-11-26]
 93%|█████████▎| 119/128 [00:35<00:01,  4.63it/s, 2024-12-04 → 2024-12-24]
 95%|█████████▍| 121/128 [00:37<00:03,  2.05it/s, 2025-01-01 → 2025-01-22]
 96%|█████████▌| 123/128 [00:37<00:01,  2.85it/s, 2025-02-07 → 2025-02-27]
 98%|█████████▊| 125/128 [00:37<00:00,  3.87it/s, 2025-03-07 → 2025-03-27]
 99%|█████████▉| 127/128 [00:38<00:00,  5.00it/s, 2025-04-04 → 2025-04-26]
100%|██████████| 128/128 [00:39<00:00,  3.27it/s, 2025-04-04 → 2025-04-26]
2025-05-13 21:15:03 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v8] 优化前的夏普率: 0.72972
2025-05-13 21:15:03 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v8] 优化后的夏普率: 0.35871
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:15: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)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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)
/root/project/auto/auto/functions/func_backtester_hf.py:1020: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

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

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

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21: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-13 21:15: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)
{'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.77it/s, 2020-03-21 → 2020-04-11]
  6%|▋         | 8/128 [00:02<00:39,  3.07it/s, 2020-05-08 → 2020-05-28]
  8%|▊         | 10/128 [00:03<00:28,  4.13it/s, 2020-06-05 → 2020-06-25]
 10%|█         | 13/128 [00:03<00:18,  6.05it/s, 2020-07-21 → 2020-08-08]
 12%|█▎        | 16/128 [00:03<00:13,  8.14it/s, 2020-09-01 → 2020-09-19]
 14%|█▍        | 18/128 [00:04<00:23,  4.61it/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.23it/s, 2020-12-30 → 2021-01-20]
 20%|██        | 26/128 [00:04<00:10,  9.58it/s, 2021-01-28 → 2021-02-24]
 22%|██▏       | 28/128 [00:05<00:20,  4.86it/s, 2021-03-04 → 2021-03-24]
 23%|██▎       | 30/128 [00:05<00:16,  6.05it/s, 2021-04-01 → 2021-04-22]
 25%|██▌       | 32/128 [00:06<00:13,  6.88it/s, 2021-04-30 → 2021-05-25]
 27%|██▋       | 34/128 [00:08<00:37,  2.48it/s, 2021-06-02 → 2021-06-23]
 28%|██▊       | 36/128 [00:08<00:28,  3.22it/s, 2021-07-01 → 2021-07-21]
 30%|██▉       | 38/128 [00:08<00:22,  4.04it/s, 2021-07-29 → 2021-08-18]
 31%|███▏      | 40/128 [00:10<00:42,  2.06it/s, 2021-08-26 → 2021-09-15]
 33%|███▎      | 42/128 [00:10<00:31,  2.72it/s, 2021-09-25 → 2021-10-22]
 34%|███▍      | 44/128 [00:10<00:24,  3.50it/s, 2021-10-30 → 2021-11-19]
 36%|███▌      | 46/128 [00:12<00:30,  2.71it/s, 2021-11-27 → 2021-12-17]
 37%|███▋      | 47/128 [00:13<00:39,  2.06it/s, 2021-12-11 → 2021-12-31]
 39%|███▉      | 50/128 [00:13<00:23,  3.36it/s, 2022-01-25 → 2022-02-19]
 41%|████      | 52/128 [00:14<00:27,  2.78it/s, 2022-03-01 → 2022-03-19]
 43%|████▎     | 55/128 [00:14<00:18,  4.02it/s, 2022-04-14 → 2022-05-07]
 45%|████▌     | 58/128 [00:14<00:12,  5.62it/s, 2022-05-31 → 2022-06-21]
 47%|████▋     | 60/128 [00:15<00:17,  3.79it/s, 2022-06-29 → 2022-07-19]
 48%|████▊     | 61/128 [00:16<00:24,  2.68it/s, 2022-07-13 → 2022-08-02]
 50%|█████     | 64/128 [00:16<00:15,  4.09it/s, 2022-08-24 → 2022-09-14]
 52%|█████▏    | 66/128 [00:16<00:12,  5.02it/s, 2022-09-22 → 2022-10-19]
 53%|█████▎    | 68/128 [00:18<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:19<00:14,  3.90it/s, 2022-12-22 → 2023-01-12]
 58%|█████▊    | 74/128 [00:20<00:18,  2.97it/s, 2023-01-20 → 2023-02-16]
 59%|█████▊    | 75/128 [00:21<00:23,  2.21it/s, 2023-02-10 → 2023-03-02]
 61%|██████    | 78/128 [00:21<00:14,  3.53it/s, 2023-03-24 → 2023-04-14]
 63%|██████▎   | 81/128 [00:21<00:09,  5.13it/s, 2023-05-11 → 2023-05-31]
 65%|██████▍   | 83/128 [00:21<00:07,  6.36it/s, 2023-06-08 → 2023-06-30]
 66%|██████▋   | 85/128 [00:21<00:05,  7.81it/s, 2023-07-08 → 2023-07-28]
 68%|██████▊   | 87/128 [00:21<00:04,  8.99it/s, 2023-08-05 → 2023-08-25]
 70%|██████▉   | 89/128 [00:22<00:08,  4.34it/s, 2023-09-02 → 2023-09-22]
 71%|███████   | 91/128 [00:24<00:11,  3.13it/s, 2023-10-10 → 2023-10-28]
 73%|███████▎  | 93/128 [00:25<00:13,  2.64it/s, 2023-11-07 → 2023-11-25]
 74%|███████▍  | 95/128 [00:25<00:09,  3.49it/s, 2023-12-05 → 2023-12-23]
 76%|███████▌  | 97/128 [00:26<00:11,  2.80it/s, 2024-01-03 → 2024-01-23]
 78%|███████▊  | 100/128 [00:27<00:10,  2.79it/s, 2024-02-22 → 2024-03-13]
 79%|███████▉  | 101/128 [00:28<00:12,  2.18it/s, 2024-03-07 → 2024-03-27]
 80%|███████▉  | 102/128 [00:29<00:14,  1.80it/s, 2024-03-21 → 2024-04-12]
 82%|████████▏ | 105/128 [00:29<00:07,  3.01it/s, 2024-05-09 → 2024-05-29]
 84%|████████▍ | 108/128 [00:29<00:04,  4.51it/s, 2024-06-21 → 2024-07-11]
 86%|████████▌ | 110/128 [00:31<00:07,  2.34it/s, 2024-07-19 → 2024-08-08]
 87%|████████▋ | 111/128 [00:32<00:08,  1.93it/s, 2024-08-02 → 2024-08-22]
 88%|████████▊ | 112/128 [00:33<00:09,  1.64it/s, 2024-08-16 → 2024-09-05]
 88%|████████▊ | 113/128 [00:34<00:10,  1.45it/s, 2024-08-30 → 2024-09-21]
 89%|████████▉ | 114/128 [00:35<00:10,  1.31it/s, 2024-09-13 → 2024-10-12]
 91%|█████████ | 116/128 [00:35<00:05,  2.07it/s, 2024-10-22 → 2024-11-09]
 92%|█████████▏| 118/128 [00:36<00:04,  2.01it/s, 2024-11-19 → 2024-12-07]
 94%|█████████▍| 120/128 [00:37<00:04,  1.98it/s, 2024-12-17 → 2025-01-07]
 95%|█████████▍| 121/128 [00:38<00:04,  1.66it/s, 2024-12-31 → 2025-01-21]
 96%|█████████▌| 123/128 [00:38<00:02,  2.47it/s, 2025-02-06 → 2025-02-26]
 98%|█████████▊| 126/128 [00:39<00:00,  4.01it/s, 2025-03-20 → 2025-04-10]
100%|██████████| 128/128 [00:40<00:00,  3.02it/s, 2025-04-03 → 2025-04-25]
100%|██████████| 128/128 [00:40<00:00,  3.20it/s, 2025-04-03 → 2025-04-25]
2025-05-13 21:16:00 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:430 - [v9] 优化前的夏普率: 1.00784
2025-05-13 21:16:00 | INFO | metric_online:run_optimize_portfolio_new_with_sector_constraints:431 - [v9] 优化后的夏普率: 0.6496
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21:16: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)
2025-05-13 21:16: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:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:16: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)
/root/project/auto/auto/functions/func_backtester_hf.py:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:16: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-13 21:16: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:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21: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-13 21: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:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21: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:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

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

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

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21:16: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-13 21: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:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  signal.fillna(0, inplace=True)
2025-05-13 21: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)
2025-05-13 21:16: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-13 21:16: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-13 21:16: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)
2025-05-13 21: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:1061: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/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-13 21:16:20,426][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-13 21:16:20,427][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-13 21:16:20,434][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-13 21:16:20,435][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-13 21:16:20,442][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-13 21:16:20,443][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-13 21:16:24,131][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-13 21:16:24,132][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-13 21:16:24,139][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-13 21:16:24,140][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-13 21:16:24,147][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-13 21:16:24,148][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-13 21:16:32 | INFO | metric_online:run_with_hydra:1006 - {'action': 'parallel_done', 'success_count': 1, 'fail_count': 0}