Query editor
selectdate_trunc('day', block_time) as day,sum(amount_usd) as daily_volume_usd,round(sum(amount_usd) * 0.0005, 2) as daily_fees_usdfrom dex.tradeswhere blockchain = 'bnb'and (token_bought_address = 0x6050d829f5a5e0ea758d8357ddcdec1381699248or token_sold_address = 0x6050d829f5a5e0ea758d8357ddcdec1381699248)group by 1order by 1