Aperiodic
DataAlpha
CatalogOrder FlowL1 & L2Derivatives & Market Data
Get Started

Derivatives

Perpetual swap analytics for funding, OI, and price dynamics.

Pre-computed derivatives metrics — funding rates, open interest, basis, and mark/index prices — built from high-frequency exchange snapshots and aggregated into research-ready intervals.

Derivatives Datasets

Basis

Tier 1

Perpetual futures mark price premium over index price (basis) and last trade price, in absolute and basis-point terms.

Key fields

BasisBasis (bps)Mark-Price Spread (bps)Mean Basis

Funding

Tier 1

Funding rate and update frequencies for perpetual futures contracts.

Key fields

Funding RateFunding Rate Update FrequencyAvg Funding Rate Update Interval

Open Interest

Tier 1

Open interest values with percentage change, volatility, and OI/price change ratio.

Key fields

Open InterestOpen Interest % ChangeOpen Interest VolatilityOI/Price Change Ratio

Derivative Price

Tier 1

Snapshot of mark, index, and last trade prices with interval percentage changes and pairwise divergence ratios.

Key fields

Last PriceIndex PriceMark PriceMark/Index % Change Ratio

Highlighted Metrics

basis_bps

Basis (bps)

Basis in basis points measures the relative premium or discount of the derivative against its reference market.

This makes it a core signal for carry, positioning pressure, and cross-market dislocations.

mark_price_spread_bps

Mark-Price Spread (bps)

Mark-Price Spread in basis points shows the gap between the exchange mark and the traded market price on a relative scale.

The spread matters because mark prices influence liquidation engines, risk controls, and PnL calculations even when the last trade wanders.

basis_mean

Mean Basis

Mean Basis summarizes the average premium or discount sustained through the interval rather than at a single moment.

That makes it helpful for distinguishing persistent carry conditions from brief spikes or flickers.

basis_bps_std

Basis Std Dev (bps)

Basis Std Dev in basis points measures how unstable the relative pricing relationship was inside the bar.

A high reading suggests basis was moving around materially, which can complicate hedging and carry strategies.

mark_price_spread_bps_std

Mark-Price Spread Std Dev (bps)

This metric tracks the variability of the mark-price gap, not just its average level.

That distinction matters because some markets spend long periods close to fair value but occasionally experience sharp internal repricing.

funding_rate

Funding Rate

Funding Rate is the clearest running price of directional crowding in perpetual futures markets.

Positive rates usually mean longs are paying shorts to hold exposure, while negative rates imply the opposite.

funding_rate_update_frequency

Funding Rate Update Frequency

Funding Rate Update Frequency tells you how often the venue refreshed its funding observations during the interval.

Operational details like this matter because faster or noisier update cadence can affect how traders interpret prediction signals.

open_interest

Open Interest

Open Interest tracks the total outstanding derivatives exposure and serves as the balance-sheet backdrop for price action.

Rising open interest means new positions are being opened or expanded, while falling open interest suggests risk is being reduced or closed out.

open_interest_pct_change

Open Interest % Change

Open Interest % Change shows how quickly positioning expanded or contracted over the interval.

This is often more informative than the raw level because it makes sudden positioning events immediately visible.

open_interest_volatility

Open Interest Volatility

Open Interest Volatility measures how unstable outstanding positioning was inside the bar.

High values can indicate frequent leverage adjustments, position recycling, or stress-driven churn rather than steady accumulation.

oi_price_change_ratio

OI/Price Change Ratio

OI/Price Change Ratio compares how much positioning changed relative to the magnitude of the price move.

It helps answer whether price action was accompanied by substantial leverage participation or happened mostly without new positioning.

mark_price

Mark Price

Mark Price is the exchange reference price used for risk, liquidation, and many internal controls.

It often matters more than the last traded print when you care about margin behavior or the true state of the derivatives venue.

index_price

Index Price

Index Price represents the external reference basket that the derivative is ultimately trying to track.

It provides the cleanest anchor for judging whether the contract is rich, cheap, or simply reacting to the broader market.

last_price_pct_change

Last Price % Change

Last Price % Change gives the immediate traded move seen by market participants on the venue.

It is the most reactive of the price-change measures and therefore tends to pick up local bursts before slower references catch up.

mark_index_pct_change_ratio

Mark/Index % Change Ratio

This ratio compares how quickly the mark price moved relative to the underlying index reference.

Values above or below one indicate that the venue mark is leading or lagging the external market move.

mark_last_pct_change_ratio

Mark/Last % Change Ratio

Mark/Last % Change Ratio compares the stability-focused mark with the more reactive last trade.

When the two diverge meaningfully, the venue is effectively saying that the latest print should not be taken fully at face value for risk purposes.

Use Cases

Funding rate regime analysis

Detect crowded positioning and carry opportunities by monitoring funding rate levels and predicted-vs-realized spread dynamics.

Open interest divergence signals

Identify leverage build-up and potential liquidation cascades from OI/price divergences before they materialize.

Basis trading & arbitrage

Model perp-spot basis and mark-to-trade spread to evaluate and monitor basis trading strategies in real time.

Market stress indicators

Aggregate OI volatility and funding rate extremes into composite stress indicators for risk management overlays.

Directional prediction from mark/index dislocations

Use mark-to-index price change ratios as leading indicators of short-term directional pressure in perp markets.

Get started in minutes

pip install aperiodic
pypi ↗
example.py
from datetime import date
from aperiodic import get_metrics

df = get_metrics(
    api_key="your-api-key",
    metric="flow",
    timestamp="exchange",
    interval="1h",
    exchange="binance-futures",
    symbol="perpetual-BTC-USDT:USDT",
    start_date=date(2024, 1, 1),
    end_date=date(2024, 1, 31),
)

print(df.head())

Use with AI Agents

Query Derivatives datasets programmatically with our Python SDK and REST API — built for autonomous research workflows.

Get Started

Sign up and subscribe to get an API key. Start querying datasets in minutes.

Ready to start building?

Get access to our full catalog of market microstructure data.

Get started free
Get started
Aperiodic

Institutional-Grade Order Flow, Liquidity & Derivative Metrics — Turn market microstructure into actionable signals, alpha and analytics in minutes.

© Copyright 2026 Aperiodic. All Rights Reserved.

Product
  • Data Catalog
  • Pricing
  • API Docs
  • Notebooks
  • Roadmap
  • Changelog
  • FAQ
  • For AI Agents
Metrics
  • Order Flow
  • L1 — Top of Book
  • L2 — Order Book
  • Market Data
  • Derivatives
Channels
  • Research Insights
  • Microstructure Guide
  • Telegram
  • Twitter/X
  • LinkedIn
Company
  • Contact
  • Book a call
  • Terms of Service
  • Privacy Policy
  • LLM? Read this.

NOT INVESTMENT ADVICE

The Content is for informational purposes only, you should not construe any such information or other material as legal tax, investment, financial, or other advice. Nothing contained on our presentation constitutes a solicitation, recommendation, endorsement, or offer by Aperiodic or any third party service provider to buy or sell any securities or other financial instruments in this or in in any other jurisdiction in which such solicitation or offer would be unlawful under the securities laws of such jurisdiction.

All Content on this presentation is information of a general nature and does not address the circumstances of any particular individual or entity. Nothing in the presentation constitutes professional and/or financial advice, nor does any information on the Presentation constitute a comprehensive or complete statement of the matters discussed or the law relating thereto.

Aperiodic is not a fiduciary by virtue of any person's use of or access to the Presentation or Content. You alone assume the sole responsibility of evaluating the merits and risks associated with the use of any information or other Content on the Presentation before making any decisions based on such information or other Content. In exchange for using the Presentation, you agree not to hold Aperiodic, its affiliates or any third party service provider liable for any possible claim for damages arising from any decision you make based on information or other Content made available to you through the Presentation.

INVESTMENT RISKS

There are risks associated with investing in securities. Investing in stocks, bonds, exchange traded funds, mutual funds, and money market funds involve risk of loss. Loss of principal is possible. Some high risk investments may use leverage, which will accentuate gains & losses. Foreign investing involves special risks, including a greater volatility and political, economic and currency risks and differences in accounting methods. A security's or a firm's past investment performance is not a guarantee or predictor of future investment performance.