RWA token · hourly price and volume

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

Example query

SQL (ClickHouse)

SELECT
  toStartOfHour(block_time) AS hour,
  round(if(sumIf(usd_amount, venue = 'Raydium CLMM') >= 100, quantileExactWeightedIf(0.5)(price_usd, toUInt64(usd_amount * 100), venue = 'Raydium CLMM'), quantileExactWeighted(0.5)(price_usd, toUInt64(usd_amount * 100))), 2) AS price_usd,
  round(sum(usd_amount)) AS volume_usd,
  count() AS trades
FROM ref.rwa_trades
WHERE block_date >= today() - {{days}} AND symbol = '{{symbol}}'
GROUP BY hour
ORDER BY hour

Charts: Price, USD (hourly, volume-weighted median), Hourly volume, USD.

Result

hourprice_usdvolume_usdtrades
2026-11-09 00:00:00181.13638629.05119
2026-11-09 01:00:00180.68915122.07149
2026-11-09 02:00:00181.05434256.010330
2026-11-09 03:00:00180.24519987.010353
2026-11-09 04:00:00179.53717126.013663
2026-11-09 05:00:00178.98334441.05235
2026-11-09 06:00:00177.69552807.012807
2026-11-09 07:00:00176.44433395.07208
2026-11-09 08:00:00177.78210771.01773
2026-11-09 09:00:00178.33383584.01803
2026-11-09 10:00:00178.85323424.02820
2026-11-09 11:00:00177.88206649.01566
2026-11-09 12:00:00176.38300832.01999
2026-11-09 13:00:00177.03135290.01350
2026-11-09 14:00:00175.231150695.07909
2026-11-09 15:00:00179.02530458.03678
2026-11-09 16:00:00176.83596519.06111
2026-11-09 17:00:00178.08996467.013680
2026-11-09 18:00:00176.84451896.04569
2026-11-09 19:00:00176.97276617.02105
2026-11-09 20:00:00178.35363420.01732
2026-11-09 21:00:00179.25275913.03073
2026-11-09 22:00:00179.65162236.03430
2026-11-09 23:00:00179.6670284.0721
2026-11-10 00:00:00181.14181312.01193
2026-11-10 01:00:00180.893500.0659
2026-11-10 02:00:00181.64293392.02949
2026-11-10 03:00:00179.29199754.02113
2026-11-10 04:00:00179.8274387.0592
2026-11-10 05:00:00180.2132776.0216

First 30 of 336 rows. Computed 2026-11-23T11:23:08Z.