Update hyperopt.py
This commit is contained in:
parent
c2b9da68e1
commit
6172e67fcd
@ -357,9 +357,9 @@ class Hyperopt:
|
||||
trimed_df = trim_dataframe(df, timerange,
|
||||
startup_candles=self.backtesting.required_startup)
|
||||
if not trimed_df.empty:
|
||||
processed[pair] = trimed_df
|
||||
processed[pair] = trimed_df
|
||||
else:
|
||||
logger.warn(f'Pair {pair} got removed because triming dataframe left nothing')
|
||||
logger.warn(f'Pair {pair} got removed because triming dataframe left nothing')
|
||||
|
||||
self.min_date, self.max_date = get_timerange(processed)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user