list_0 = [] list_1 = [] def sort_data(): trades = client.get_recent_trades(symbol=\'BTCUSDT\', limit=50) for t in trades: id_zero = [int(t["id&quo