update cron job

This commit is contained in:
MuslemRahimi 2024-10-30 22:00:57 +01:00
parent 48d99fc644
commit d4ccc0ab99

View File

@ -71,10 +71,6 @@ def main():
item['ticker'] = item['ticker'].replace('BRK.A','BRK-A').replace("BRK.B","BRK-B")
symbol = item['ticker']
if symbol in stock_symbols:
item['assetType'] = "stocks"
else:
item['assetType'] = "etf"
try:
with open(f"json/quote/{symbol}.json") as file:
quote_data = orjson.loads(file.read())