diff --git a/invaas/schwab/schwab_task.py b/invaas/schwab/schwab_task.py index 2c47011..246030e 100644 --- a/invaas/schwab/schwab_task.py +++ b/invaas/schwab/schwab_task.py @@ -69,7 +69,7 @@ def __get_previous_run_output(self): return previous_run_output def __get_fear_greed_index_data(self, historical_periods: int): - df = pd.DataFrame(data=get_historical_cnn_fear_greed_index()["data"][:-1]) + df = pd.DataFrame(data=get_historical_cnn_fear_greed_index()["data"]) df.set_index( pd.DatetimeIndex([pd.Timestamp(x, unit="ms", tz="UTC") for x in df.x]), inplace=True,