Query editor
with registry as (select output_0 as token_addressfrom robinhood_robinhood.stockfactory_call_deploywhere call_success = true),stock_trades as (select at_timezone(block_time, 'America/New_York') as ny_time, amount_usdfrom dex.tradeswhere blockchain = 'robinhood'and (token_bought_address in (select token_address from registry)or token_sold_address in (select token_address from registry)))selectday_of_week(ny_time) as dow_ny,hour(ny_time) as hour_ny,count(*) as trades,sum(amount_usd) as volume_usdfrom stock_tradesgroup by 1, 2order by 1, 2