diff --git a/freqtrade/strategy/interface.py b/freqtrade/strategy/interface.py index eff4f3b32..400997baf 100644 --- a/freqtrade/strategy/interface.py +++ b/freqtrade/strategy/interface.py @@ -327,6 +327,7 @@ class IStrategy(ABC): latest_date = dataframe['date'].max() latest = dataframe.loc[dataframe['date'] == latest_date].iloc[-1] + # Explicitly convert to arrow object to ensure the below comparison does not fail latest_date = arrow.get(latest_date) # Check if dataframe is out of date