screeners.perp_markets, every figure as of as_of, the last complete day. For daily history, see Metrics.
Columns
- Keys
- Aggregations
- Measures
The two key columns, then one FLOAT64 column per measure, window and aggregation. Join to the market registry on
perp_market_id for the market name, venue and chain.| Column | Type | Description |
|---|---|---|
as_of | TIMESTAMP | The last complete day, the same on every row. Every window ends on it. |
perp_market_id | STRING | Market identifier, such as hlbtc-hypercore. |
A window is
1d, 7d, 30d, 90d, 180d or 365d, and spans that many days ending on as_of, while the max_ columns read the whole history. Which aggregations a measure has follows its over_time in Metric definitions: only a measure whose over_time is sum has sum.| Column | What it holds |
|---|---|
<measure>_<window>_avg | Mean of the daily values over the window. |
<measure>_<window>_sum | Total of the daily values over the window. Flows only: the measures ticked under Sum. |
<measure>_<window>_change | A comparison of two aggregations: the value on as_of against the value one window earlier, as (now - then) / abs(then). Null when either value is missing or the earlier one is 0. |
<measure>_<window>_trend | A comparison of two aggregations: the window’s average against the average of the window before it, as (avg - prior) / abs(prior). Null unless the window before has a value on every one of its days, and null when its average is 0. |
<measure>_max_latest | The value on as_of. Null when there is none. |
<measure>_max_ath | The highest daily value over the market’s whole history. |
<measure>_max_atl | The lowest daily value over the market’s whole history. |
Every measure has the
avg, change, trend and max_ columns, and the flows also have sum.| Measure | Sum | What it holds |
|---|---|---|
daily_active_traders | ✗ | Distinct traders active in the perpetual futures market. |
daily_active_traders_long | ✗ | Distinct traders with long positions in the perpetual futures market. |
daily_active_traders_short | ✗ | Distinct traders with short positions in the perpetual futures market. |
funding_rate | ✗ | Daily funding rate paid between long and short positions in the perpetual futures market. |
open_interest | ✗ | Notional value of open positions in the perpetual futures market. |
open_interest_long | ✗ | Notional value of open long positions in the perpetual futures market. |
open_interest_short | ✗ | Notional value of open short positions in the perpetual futures market. |
position_size_average_long | ✗ | Average notional size of long positions in the perpetual futures market. |
position_size_average_short | ✗ | Average notional size of short positions in the perpetual futures market. |
position_size_median_long | ✗ | Median notional size of long positions in the perpetual futures market. |
position_size_median_short | ✗ | Median notional size of short positions in the perpetual futures market. |
price | ✗ | Mark price of the perpetual futures market. |
trader_share_long_top10 | ✗ | Share of long open interest held by the ten largest long traders. |
trader_share_short_top10 | ✗ | Share of short open interest held by the ten largest short traders. |
volume_to_open_interest | ✗ | Notional trading volume divided by open interest. |
fees | ✓ | Fees paid by traders on the perpetual market. |
fees_supply_side | ✓ | Fees passed through on the perpetual market, being the builder-code tip plus the HIP-3 deployer’s cut. |
liquidation_volume_long | ✓ | Notional value of long positions force-closed in the perpetual futures market. |
liquidation_volume_short | ✓ | Notional value of short positions force-closed in the perpetual futures market. |
notional_trading_volume_exchange | ✓ | Notional value traded in the perpetual futures market, attributed to the app whose matching engine settled the trade. |
notional_trading_volume_interface | ✓ | Notional value traded in the perpetual futures market, attributed to the app whose interface the trade was placed through. |
revenue | ✓ | Fees retained by the protocol on the perpetual market, net of the builder tip and HIP-3 deployer cut. |
trade_count | ✓ | Number of trades executed in the perpetual futures market. |
Sample queries
- One market
- Top 25 by volume
- Biggest open interest moves
- Fees per dollar traded
Read the latest open interest, its change from seven days earlier and the fees over the last 30 days for one BTC market.
select
as_of,
open_interest_max_latest,
open_interest_7d_change,
fees_30d_sum
from `screeners.perp_markets`
where perp_market_id = 'hlbtc-hypercore'
Rank markets by the last 30 days of notional trading volume attributed to the exchange that settled the trades.
select
perp_market_id,
markets.name,
screener.notional_trading_volume_exchange_30d_sum
from `screeners.perp_markets` as screener
join `dimensions.perp_markets` as markets using (perp_market_id)
where screener.notional_trading_volume_exchange_30d_sum is not null
order by screener.notional_trading_volume_exchange_30d_sum desc, perp_market_id
limit 25
Rank markets by the size of their 30-day change in open interest. The signed change shows whether open interest rose or fell.
select perp_market_id, open_interest_max_latest, open_interest_30d_change
from `screeners.perp_markets`
where open_interest_30d_change is not null
order by abs(open_interest_30d_change) desc, perp_market_id
limit 25
Divide fees by exchange-attributed notional volume over the same 30 days.
select
perp_market_id,
safe_divide(fees_30d_sum, notional_trading_volume_exchange_30d_sum) as fees_per_dollar
from `screeners.perp_markets`
where notional_trading_volume_exchange_30d_sum > 0
and fees_30d_sum is not null
order by fees_per_dollar desc, perp_market_id
limit 25