Stocks · buy and sell volume per day

Query by @astrolabe-rwa, updated 2026-10-04. #rwa #stocks #xstocks

Example query

SQL (ClickHouse)

SELECT block_date AS day, side, round(sum(usd_amount)) AS volume_usd
FROM ref.rwa_trades
WHERE block_date >= today() - {{days}} AND asset_class IN ('stock', 'ETF')
GROUP BY day, side
ORDER BY day

Charts: Stock tokens: buys vs sells, USD.

Result

daysidevolume_usd
2026-11-09buy23317050.0
2026-11-09sell21319356.0
2026-11-10buy20686138.0
2026-11-10sell21135832.0
2026-11-11sell28715514.0
2026-11-11buy27116683.0
2026-11-12buy40762105.0
2026-11-12sell39483023.0
2026-11-13buy23093249.0
2026-11-13sell25234436.0
2026-11-14sell17986086.0
2026-11-14buy17303955.0
2026-11-15sell12866282.0
2026-11-15buy16126919.0
2026-11-16sell22228216.0
2026-11-16buy19944925.0
2026-11-17sell22335719.0
2026-11-17buy23141221.0
2026-11-18buy37905409.0
2026-11-18sell37879449.0
2026-11-19buy22732751.0
2026-11-19sell25385202.0
2026-11-20buy23361287.0
2026-11-20sell25770144.0
2026-11-21buy11417602.0
2026-11-21sell10953170.0
2026-11-22buy102919.0
2026-11-22sell107393.0

28 rows. Computed 2026-11-23T11:09:51Z.