Query editor
-- Dune Query: https://dune.com/queries/9152586-- Publishes: query result only-- BEGIN DUNE RELEASE HISTORY-- Previous Dune version: 4-- Previous normalized token count: 40-- Source development commit: 00f0d05503a2f0aeb47fd6ae37944d882a6795ae-- Change document: changes/2026-11-20-tsv-compass-production.md-- -- Dune Query: https://dune.com/queries/9152586-- -- Publishes: query result only---- -- BEGIN DUNE RELEASE HISTORY-- -- Previous Dune version: 3-- -- Previous normalized token count: 64-- -- Source data commit: 6dc1c0c0a3723941a4e277e78346cdf875cf5db7-- -- Change document: changes/2026-11-17-tsv-v2-dbt.md (step 53)-- -- -- Dune Query: https://dune.com/queries/9152586-- -- -- Publishes: query result only-- ---- -- -- BEGIN DUNE RELEASE HISTORY-- -- -- Previous Dune version: 1-- -- -- Source data commit: 0a77cf0472211366f79ec94b3ab3e3dc41375cc9-- -- -- Change document: changes/2026-11-17-tsv-v2-dbt.md (step 47)-- -- -- SELECT * FROM dune.okxweb3wallet.rpt_tsv_users_daily WHERE ticker='ALL' AND flow_type='{{flow_type}}' ORDER BY business_date-- -- -- END DUNE RELEASE HISTORY-- ---- -- SELECT business_date AS est_date,dau AS trader_cnt,cum_unique_users AS cum_trader_cnt-- -- FROM (SELECT * FROM dune.okxweb3wallet__tmp_tsv_phase2_1119.rpt_tsv_users_daily WHERE '{{environment}}'='prod' UNION ALL SELECT * FROM dune.okxweb3wallet__tmp_tsv_phase2_1119__pre.rpt_tsv_users_daily WHERE '{{environment}}'='dev') s-- -- WHERE ticker='ALL' AND flow_type=CASE WHEN '{{flow_type}}'='ALL' THEN 'ALL' ELSE LOWER('{{flow_type}}') END-- -- ORDER BY business_date-- -- END DUNE RELEASE HISTORY---- SELECT-- business_date AS est_date,-- dau AS trader_cnt,-- cum_unique_users AS cum_trader_cnt-- FROM dune.okxweb3wallet__tmp_tsv_launch2_1119.rpt_tsv_users_daily-- WHERE-- ticker = 'ALL'-- AND flow_type = CASE WHEN '{{flow_type}}' = 'ALL' THEN 'ALL' ELSE LOWER('{{flow_type}}') END-- ORDER BY-- business_date-- END DUNE RELEASE HISTORYSELECTbusiness_date AS est_date,dau AS trader_cnt,cum_unique_users AS cum_trader_cntFROM dune.okxweb3wallet.rpt_tsv_users_dailyWHEREticker = 'ALL'AND flow_type = CASE WHEN '{{flow_type}}' = 'ALL' THEN 'ALL' ELSE LOWER('{{flow_type}}') ENDORDER BYbusiness_date