Query editor
selectblock_date,concat(blockchain, '-', project) as blockchain_project,sum(amount_usd) as volume,count(*) as tradesfrom dex.tradeswhere blockchain in ('arbitrum', 'optimism')and block_time >= cast('{{start_date}}' as timestamp)group by 1,2order by 1 desc