From f3a6ce3f58a51a129ae843ee5034302ab928491c Mon Sep 17 00:00:00 2001 From: Dane Isburgh Date: Wed, 28 Feb 2024 11:41:36 -0500 Subject: [PATCH] fix: update historical fear greed index dataframe --- invaas/schwab/schwab_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,