This commit is contained in:
hroff-1902 2020-05-26 13:54:45 +03:00
parent 9c76450f59
commit 9f573481a8

View File

@ -327,6 +327,7 @@ class IStrategy(ABC):
latest_date = dataframe['date'].max()
latest = dataframe.loc[dataframe['date'] == latest_date].iloc[-1]
latest_date = arrow.get(latest_date)
# Check if dataframe is out of date
interval_minutes = timeframe_to_minutes(interval)