bugfixing
This commit is contained in:
parent
bc61f863da
commit
eb35e92885
@ -105,7 +105,6 @@ def run():
|
|||||||
etf_con.close()
|
etf_con.close()
|
||||||
|
|
||||||
total_symbols = stocks_symbols+ etf_symbols
|
total_symbols = stocks_symbols+ etf_symbols
|
||||||
total_symbols = ['CCLD']
|
|
||||||
data = []
|
data = []
|
||||||
weekdays = get_last_7_weekdays()
|
weekdays = get_last_7_weekdays()
|
||||||
for date in weekdays:
|
for date in weekdays:
|
||||||
|
|||||||
@ -3406,7 +3406,6 @@ async def get_dark_pool(data:TickerData, api_key: str = Security(get_api_key)):
|
|||||||
except:
|
except:
|
||||||
res = []
|
res = []
|
||||||
|
|
||||||
print(res)
|
|
||||||
data = orjson.dumps(res)
|
data = orjson.dumps(res)
|
||||||
compressed_data = gzip.compress(data)
|
compressed_data = gzip.compress(data)
|
||||||
redis_client.set(cache_key, compressed_data)
|
redis_client.set(cache_key, compressed_data)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user