Integration
Load historical market microstructure aggregates for backtests and stream them live for trading through the built-in Aperiodic adapter, with order flow, liquidity, and derivatives metrics for crypto and tokenized perpetuals.
Order flow and liquidity metrics
Historical and live aggregates
Crypto and tokenized perpetuals
Written in Rust 🦀
Aperiodic is a market data provider built by the team behind Unravel Finance. It began as the data pipeline of their own systematic trading desk, later served partner institutions, and is now open to any researcher. The pipeline captures every trade and quote on the venues it covers and distills them into point-in-time metrics for order flow, liquidity, trading cost, and derivatives positioning, across crypto perpetuals and tokenized markets. Published intervals are never recalculated, so a backtest reads the same history each time.
NautilusTrader integrates with Aperiodic through nautilus-aperiodic, a data adapter written in Rust with Python bindings and no execution client. It loads typed Parquet history, streams closed aggregates live, and publishes both as custom data. You can pair it with a native venue adapter for market data and execution in the same node.
Microstructure aggregates
Order flow, trade size, price impact, slippage, and order book imbalance and liquidity, each delivered as a closed interval.
Derivatives metrics
Funding, open interest, and basis alongside candles and volume- and time-weighted average prices.
Historical and live
Load typed Parquet history for backtests and subscribe to live aggregates for trading through the same data types.
Exchange and arrival clocks
Request history on the exchange clock or on Aperiodic's arrival clock, which matches how live intervals are assigned.
Replay and gap recovery
Subscriptions replay retained intervals on subscribe and after a reconnect, with bounded recovery from the history archive.
Runs beside native feeds
Aggregates publish as typed custom data, so one node can run Aperiodic alongside a native venue adapter for books, bars, and execution.
Each dataset is available over REST history and the live WebSocket stream at the listed intervals.
Datasets
Intervals
Minimum plan
flow, trade_size, range, impact
15s to 1dPro
updownticks, run_structure, returns, slippage
15s to 1dPro
ohlcv, vtwap, l1_price
15s to 1dPro
basis, funding, open_interest, derivative_price
1m to 1dPro
l1_imbalance, l1_liquidity
15s to 1dPrime
l2_imbalance, l2_liquidity
15s to 1dPrime
flow_indices, positioning
15m to 1dPrime
Asset classes
Crypto perpetuals
Tokenized stock perpetuals
HIP-3 builder markets
Datasets and venues
Binance USD-M
OKX perpetuals
Hyperliquid perpetuals
The adapter attaches a native NautilusTrader instrument ID when a market and its units match a verified mapping. Other markets are identified by Aperiodic's exchange and symbol.
Historical
Typed Parquet over REST
Discovery: list the dataset catalog and symbols, and describe the available files for a series before requesting it.
Requests: bounded ranges of up to 31 days per request, on the exchange clock or the arrival clock.
Backtest workflow: rows load as custom data stamped at the interval close, so backtests consume the same types as live nodes.
Live
Closed aggregates over WebSocket
Subscriptions: one symbol per series, or every symbol in a channel on eligible plans.
Replay: optional snapshots and retained replay from a chosen interval open, for intervals of 1m and longer.
Resilience: automatic reconnection with backoff, replay from the last delivered interval, and bounded recovery over REST.
Adapter crate
History loader
AperiodicDataLoader discovers series and loads typed history.Live client
AperiodicDataClientFactory registers the data client with a live node.Data type
AperiodicAggregate carries a closed interval with typed provider fields.Provider API
Considerations
Aperiodic provides aggregate market data only; use a native venue adapter for bars, ticks, order books, and execution.
Dataset, interval, and history access depend on your Aperiodic plan. 15s and 30s intervals require Institutional access.
Live subscriptions use the arrival clock; history accepts either clock.
Integration guide
Read the full integration guide
The guide covers authentication, dataset discovery, historical requests, live subscriptions, gap recovery, and running Aperiodic beside a native venue adapter.
NautilusTrader® is a product of Nautech Systems Pty Ltd (ABN 88 609 589 237). Nautech Systems provides algorithmic trading software only. We do not operate as a broker, dealer, or exchange, nor offer financial advisory services. Users are solely responsible for compliance with applicable laws and regulations. Subject to non-excludable consumer guarantees, we make no warranties and accept no liability for trading losses or regulatory violations arising from use of the software. Read full disclaimer.
We use essential cookies and, with your consent, optional analytics cookies, as described in our Privacy Policy. Manage your Cookie Preferences.