HTX COIN Swaps

HTX COIN Swaps historical market data details - instruments, data coverage and data collection specifics

HTX COIN Swaps historical data for all its instruments is available since 2020-03-28.

See HTX COIN Swaps historical data coverage: available symbols, channels, date ranges and incidents

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.

circle-info

Derivative ticker datasets are available since 2020-06-24.

data type
symbol
date

incremental_book_L2

BTC-USD

2020-04-01

trades

BTC-USD

2020-04-01

derivative_ticker

BTC-USD

2020-07-01

API Access and data format

Historical data format is the same as provided by real-time HTX COIN Swaps WebSocket API 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 perform data normalization client-side.

Captured real-time channels

See HTX Coin-M Perpetual WebSocket API docs providing documentation for each captured channel's format
circle-info

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

  • tradearrow-up-right Trade executions stream

  • deptharrow-up-right Order book snapshots and incremental updates stream (depth.size_150.high_freq). Order book integrity is validated using sequence numbers (version field) — on missed message the WebSocket connection is restarted.

  • bboarrow-up-right — available since 2020-08-17 Best bid and ask quote updates stream

  • liquidation_ordersarrow-up-right — available since 2020-06-23 Liquidation events stream

  • basisarrow-up-right — available since 2020-06-23 Basis and index price updates stream

  • funding_ratearrow-up-right — available since 2020-06-23 Funding rate updates stream

  • open_interestarrow-up-right — available since 2020-06-23 — generated channel Generated open interest snapshots from REST endpoint every 4-6 seconds per instrument. Messages marked as "ch":"market.<symbol>.open_interest" and "generated":true with data field in the same format as REST API response.

  • detailarrow-up-right 24h contract statistics stream

  • contract_infoarrow-up-right — available since 2020-06-23 Contract definition and status updates stream

  • elite_account_ratioarrow-up-right — available since 2020-10-29 — generated channel Generated elite account long/short ratio snapshots from REST endpoint using 5min period buckets.

  • elite_position_ratioarrow-up-right — available since 2020-10-29 — generated channel Generated elite position long/short ratio snapshots from REST endpoint using 5min period buckets.

Market data collection details

Market data collection infrastructure for HTX COIN Swaps is located in GCP asia-northeast1 (Tokyo, Japan).

Real-time market data is captured via multiple WebSocket connections to wss://api.hbdm.vn/swap-ws (proxied via Cloudflare).

circle-info

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

Last updated