Query editor
SELECTDATE_TRUNC('DAY', block_date) as trading_date, COUNT(distinct tx_id) as daily_dolphin_trades, COUNT(distinct trader_id) as unique_dolphin_traders, SUM(amount_usd) as total_dolphin_volume_usd, AVG(amount_usd) as avg_trade_size_usd, APPROX_PERCENTILE(amount_usd, 0.5) as median_trade_size_usd, COUNT(distinct project) as dex_platforms_used, COUNT(distinct token_bought_symbol) as unique_tokens_bought, COUNT(distinct token_sold_symbol) as unique_tokens_sold, SUM(fee_usd) as total_fees_paid, AVG(fee_usd) as avg_fee_per_tradeFROM dex_solana.tradesWHERE amount_usd BETWEEN 10000AND 99999AND block_date >= CURRENT_DATE - INTERVAL '365' DAYAND NOT amount_usd IS NULLgroup by1order bytrading_date desc