Skip to content

Commit

Permalink
I tweaked the ensure_data_exists function so that it always works wit…
Browse files Browse the repository at this point in the history
…hout parameter
  • Loading branch information
xsa-dev committed Apr 28, 2024
1 parent fce4536 commit 62c64e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freqtrade/freqai/freqai_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ def ensure_data_exists(self, len_dataframe_backtest: int,
:param pair: current pair
:return: if the data exists or not
"""
if self.config.get("freqai_backtest_live_models", False) and len_dataframe_backtest == 0:
if len_dataframe_backtest == 0:
logger.info(f"No data found for pair {pair} from "
f"from {tr_backtest.start_fmt} to {tr_backtest.stop_fmt}. "
"Probably more than one training within the same candle period.")
Expand Down

0 comments on commit 62c64e2

Please sign in to comment.