switch from ujson to orjson
This commit is contained in:
parent
49bb27cede
commit
02afc2ca81
723
app/main.py
723
app/main.py
File diff suppressed because it is too large
Load Diff
@ -267,7 +267,6 @@ async def get_earnings_calendar(con, symbols):
|
||||
data = await response.json()
|
||||
filtered_data = [{k: v for k, v in stock.items() if stock['symbol'] in symbols and '.' not in stock['symbol'] and '-' not in stock['symbol']} for stock in data]
|
||||
#filtered_data = [entry for entry in filtered_data if entry]
|
||||
print(filtered_data)
|
||||
for entry in filtered_data:
|
||||
try:
|
||||
symbol = entry['symbol']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user