rwa_hyperliquid.perp_metrics_daily is the daily rollup of perp_metrics_hourly. Grain: one row per market per day, keyed on (block_month, block_date, perp_dex, coin). This is the right table for trend charts, day-over-day comparisons, and market league tables.
Table schema
Flow versus stock
Two different kinds of measure share this table, and they aggregate differently:- Flows —
volume_usd,volume_units,buy_volume_usd,sell_volume_usd,trades_count. Sum these across days. - Stocks —
open_interest_units,open_interest_usd,open_positions. These are point-in-time end-of-day snapshots. Take the last value or an average; never sum them across days.
unique_takers is a distinct count within each day, so summing it across days double-counts anyone who traded on more than one day.
Open interest is both-sides
open_interest_units and open_interest_usd sum longs and shorts to match the Hyperliquid UI. One-sided open interest, the convention most traditional venues report, is half:
The current day is always partial
Today’s row is incomplete until the day closes. Filter it out for trend work:Example query
open_interest_usd across markets within one day is valid — those are distinct positions at the same instant. Summing it across days is not.