Query editor
with trading_volume as (selectdate_trunc('hour', block_time) as dt,sum(amount_usd) as amount_usd,count (*) as txns,count (distinct tx_from) as traderfrom dex.tradeswhere blockchain = 'base'and (token_bought_address = 0x7C101A0e141517009D3138743213e3e835a809DE ortoken_sold_address = 0x7C101A0e141517009D3138743213e3e835a809DE)group by 1order by 1 desc)select*,sum(amount_usd) over(order by dt asc) as total_trading_volumefrom trading_volumeorder by dt desc