Query editor
SELECTdate_trunc('day', block_time) AS trade_date, AVG(fee_usd) AS "Average Fee", SUM(fee_usd) AS "Total Fees", SUM(amount_usd) as "Volume", COUNT(*) as "Trades", AVG(amount_usd) AS "Average Trade Size"FROMdex_solana.tradesWHEREblock_month >= now() - interval '3' month-- AND block_time < date_trunc('day', NOW())GROUP BY1ORDER BYtrade_date;