Query editor
-- Information Exchange — monthly notional trading volume by source (onchain)SELECT month, source, sum(volume_usd) AS volume_usdFROM (SELECT CAST(date_trunc('month', day) AS date) AS month, 'Myriad · ' || chain AS source, notional_usd AS volume_usdFROM dune.ilanhz.result_myriad_trading_volumeUNION ALLSELECT CAST(date_trunc('month', day) AS date), 'Decrypt · ' || product, volume_usdFROM query_9176158WHERE product IN ('Swaps', 'Perps', 'Predictions'))GROUP BY 1, 2ORDER BY 1, 2