update dashboard

This commit is contained in:
MuslemRahimi 2025-01-17 15:57:54 +01:00
parent e0e7d72db7
commit 6ff67161e3

View File

@ -373,7 +373,7 @@ async def get_analyst_report():
async def get_latest_wiim(): async def get_latest_wiim():
url = "https://api.benzinga.com/api/v2/news" url = "https://api.benzinga.com/api/v2/news"
querystring = {"token": benzinga_api_key,"dateFrom":yesterday,"dateTo":today,"sort":"created:desc", "pageSize": 1000, "channels":"WIIM"} querystring = {"token": benzinga_api_key,"dateFrom":today,"dateTo":today,"sort":"created:desc", "pageSize": 1000, "channels":"WIIM"}
res_list = [] res_list = []
async with aiohttp.ClientSession() as session: async with aiohttp.ClientSession() as session: