bugfixing

This commit is contained in:
MuslemRahimi 2025-03-24 17:29:33 +01:00
parent 9a15f2002f
commit ca76f7553b

View File

@ -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()