Query editor
with allvolume as (selectproject,date_trunc('week',block_time) as _week,token_bought_symbol,sum(amount_usd) as total_usd,count(token_bought_address) as num_transfrom dex.tradeswhere block_time > now() - interval '{{Days}}' dayand project = 'uniswap'and token_bought_symbol in ('USDC', 'USDT', 'DAI','BUSD','TUSD','FRAX','USDP','USDD')and token_sold_symbol is not nullgroup by 1,2,3order by 2 asc, 1 asc, 3 asc)select * from allvolume