Query editor
-- Daily DEX Volume ($) — daily total across all agents (base + ethereum + robinhood + solana)-- Solana INCLUDED since 2026-08-27 via a solana arm in the substrate (sql/daily.sql, query 8009326);-- no change was needed here. Solana-only view: query 8498504.-- Rebuilt 2026-07-17: reads the day-grain matview result_lifetime_dex_volume_daily-- (src/lifetime_dex_volume/) instead of re-scanning every arm + a 2-year VWAP (timed out at 30 min).-- Parameterized by {{year}}, so it stays a query (matviews can't take params) but is now instant.selectdate_trunc('day', date_time) as day,cast(year(date_time) as varchar) as year,sum(volume) as "$ Volume"from dune.virtual_protocol.result_lifetime_dex_volume_dailywhere year(date_time) = {{year}}group by 1, 2order by 1