sort list

This commit is contained in:
MuslemRahimi 2024-12-02 16:51:41 +01:00
parent b8b43071d2
commit 80ca68846d

View File

@ -116,6 +116,8 @@ async def run():
crypto_con.close()
total_symbols = stocks_symbols + etf_symbols + crypto_symbols
total_symbols = sorted(total_symbols, key=lambda x: '.' in x)
market_open = check_market_hours()