For the complete documentation index, see llms.txt. This page is also available as Markdown.
delisted

dYdX

dYdX historical market data details - currency pairs, data coverage and data collection specifics

dYdX exchange historical data for all its instruments is available since 2021-04-06 until 2024-10-30.

See dYdX historical data coverage: available symbols, channels, date ranges and incidents
  • Currently there's a problem with occasional order book crossed state (best bid>=best ask) when reconstructing the book from dYdX WS updates, it's something dYdX team is aware of and working on a fix.

  • nextFundingRate published via v3_markets channel does not exactly match the funding rates that dYdX ends up paying for open positions, it's also something dYdX team is aware of and working on a fix.

Downloadable CSV files

Historical CSV datasets for the first day of each month are available to download without API key. See downloadable CSV files documentation.

data type
symbol
date

incremental_book_L2

BTC-USD

2021-09-01

trades

BTC-USD

2021-09-01

derivative_ticker

BTC-USD

2021-09-01

API Access and data format

Historical data format is the same as provided by real-time dYdX WebSocket Market Data API v3 (wss://api.dydx.exchange/v3/ws) with addition of local timestamps. If you'd like to work with normalized data format instead (same format for each exchange) see downloadable CSV files or official client libs that can perform data normalization client-side.

Tardis-machine is a locally runnable server that exposes API allowing efficiently requesting historical market data for whole time periods in contrast to HTTP API that provides data only in minute by minute slices.

See tardis-machine docs.

Captured real-time channels

See dYdX WebSocket v3 API docs providing documentation for each captured channel's format

Click any channel below to see HTTP API response with historical data recorded for it.

  • v3_trades Trade executions stream

  • v3_orderbook Order book snapshots and incremental updates stream

  • v3_markets Market metadata, funding rate and index price updates stream

Market data collection details

Market data collection infrastructure for dYdX was located in GCP europe-west2 region (London, UK).

Real-time market data was captured via multiple WebSocket connections to wss://api.dydx.exchange/v3/ws.

dYdX servers are located in AWS ap-northeast-1 region (Tokyo, Japan).

Last updated

Was this helpful?