Query editor
with trading_volume as (selectdate_trunc('day', block_time) as dt,sum(amount_usd) as amount_usdfrom dex.tradeswhere blockchain = 'base'and (token_bought_address = 0x621E87AF48115122Cd96209F820fE0445C2ea90e ortoken_sold_address = 0x621E87AF48115122Cd96209F820fE0445C2ea90e)group by 1order by 1 desc)select*,sum(amount_usd) over(order by dt asc) as total_trading_volumefrom trading_volumeorder by dt desc