HTX USDT-M Contracts
HTX USDT-M Contracts historical market data details - instruments, data coverage and data collection specifics
HTX USDT-M Contracts historical data for all its instruments is available since 2020-10-30.
Downloadable CSV files
Historical CSV datasets for the first day of each month are available to download without a Data API key. See downloadable CSV files documentation.
API Access and data format
Historical data format is the same as provided by real-time HTX USDT-M Contracts 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.
See Python client docs.
See Node.js client docs.
See HTTP API docs.
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
trade Trade executions stream
depth Order book snapshots and incremental updates stream. Order book integrity is validated using sequence numbers (
versionfield) — on missed message the WebSocket connection is restarted. Usesdepth.size_150.high_freqwhich natively provides incremental updates with"event":"update"|"snapshot"field.bbo Best bid and ask quote updates stream
liquidation_orders Liquidation events stream
basis Basis and index price updates stream
funding_rate Funding rate updates stream
open_interest — 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":truewithdatafield in the same format as REST API response.detail 24h contract statistics stream
contract_info Contract definition and status updates stream
elite_account_ratio — generated channel Generated elite account long/short ratio snapshots from REST endpoint using 5min period buckets.
elite_position_ratio — 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 USDT-M Contracts is located in GCP asia-northeast1 (Tokyo, Japan).
Real-time market data is captured via multiple WebSocket connections to wss://api.hbdm.vn/linear-swap-ws.
Last updated
Was this helpful?