From ca76f7553b940c1f1473e71ffb939e82b1d697f9 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Mon, 24 Mar 2025 17:29:33 +0100 Subject: [PATCH] bugfixing --- app/cron_one_day_price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cron_one_day_price.py b/app/cron_one_day_price.py index 4c5df75..5569b15 100755 --- a/app/cron_one_day_price.py +++ b/app/cron_one_day_price.py @@ -38,7 +38,7 @@ async def get_todays_data(ticker): start_date = start_date_1d.strftime("%Y-%m-%d") end_date = end_date_1d.strftime("%Y-%m-%d") - url = f"https://financialmodelingprep.com/api/v3/historical-chart/1min/{ticker}?from={start_date}&to={end_date}&apikey={api_key}" + url = f"https://financialmodelingprep.com/stable/historical-chart/1min?symbol={ticker}&from={start_date}&to={end_date}&apikey={api_key}" df_1d = pd.DataFrame()