Query editor
-- Venue share of the NVDA/USDG pair, restricted to hours where Deepstate is-- live so the comparison is like for like.-- Source: https://dune.com/queries/8349575WITH v AS (SELECT * FROM query_8349575),live AS (SELECT min(hour) AS t0 FROM v WHERE venue = 'Deepstate CLOB')SELECTv.venue,sum(v.volume_usdg) AS volume_usdg,100.0 * sum(v.volume_usdg) / sum(sum(v.volume_usdg)) OVER () AS pct_of_pair_volume,sum(v.trades) AS trades,sum(v.volume_usdg) / nullif(sum(v.trades), 0) AS avg_trade_usdgFROM v CROSS JOIN liveWHERE v.hour >= live.t0GROUP BY 1-- pin Deepstate to row 1 so the counter visualisation cannot silently relabelORDER BY CASE WHEN v.venue = 'Deepstate CLOB' THEN 0 ELSE 1 END, volume_usdg DESC