Skip to content

Commit

Permalink
sort list
Browse files Browse the repository at this point in the history
  • Loading branch information
MuslemRahimi committed Dec 2, 2024
1 parent b8b4307 commit 80ca688
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/cron_one_day_price.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 80ca688

Please sign in to comment.