update cron job
This commit is contained in:
parent
48d99fc644
commit
d4ccc0ab99
@ -71,10 +71,6 @@ def main():
|
|||||||
item['ticker'] = item['ticker'].replace('BRK.A','BRK-A').replace("BRK.B","BRK-B")
|
item['ticker'] = item['ticker'].replace('BRK.A','BRK-A').replace("BRK.B","BRK-B")
|
||||||
symbol = item['ticker']
|
symbol = item['ticker']
|
||||||
if symbol in stock_symbols:
|
if symbol in stock_symbols:
|
||||||
item['assetType'] = "stocks"
|
|
||||||
else:
|
|
||||||
item['assetType'] = "etf"
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(f"json/quote/{symbol}.json") as file:
|
with open(f"json/quote/{symbol}.json") as file:
|
||||||
quote_data = orjson.loads(file.read())
|
quote_data = orjson.loads(file.read())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user