update
This commit is contained in:
parent
7fc71b947f
commit
7bddf19976
@ -38,6 +38,7 @@ async def run():
|
|||||||
total_symbols = stocks_symbols + etf_symbols + crypto_symbols
|
total_symbols = stocks_symbols + etf_symbols + crypto_symbols
|
||||||
|
|
||||||
for symbol in tqdm(total_symbols):
|
for symbol in tqdm(total_symbols):
|
||||||
|
try:
|
||||||
table_name = None
|
table_name = None
|
||||||
if symbol in etf_symbols: # Fixed variable name from symbols to symbol
|
if symbol in etf_symbols: # Fixed variable name from symbols to symbol
|
||||||
query_con = etf_con
|
query_con = etf_con
|
||||||
@ -63,6 +64,8 @@ async def run():
|
|||||||
await save_ta_rating(symbol, res_dict)
|
await save_ta_rating(symbol, res_dict)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
con.close()
|
con.close()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user