Add comment to ensure we're not accidentally removing this again
This commit is contained in:
parent
9f573481a8
commit
27e0c2604c
@ -327,6 +327,7 @@ class IStrategy(ABC):
|
|||||||
|
|
||||||
latest_date = dataframe['date'].max()
|
latest_date = dataframe['date'].max()
|
||||||
latest = dataframe.loc[dataframe['date'] == latest_date].iloc[-1]
|
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)
|
latest_date = arrow.get(latest_date)
|
||||||
|
|
||||||
# Check if dataframe is out of date
|
# Check if dataframe is out of date
|
||||||
|
Loading…
Reference in New Issue
Block a user