Documentation

Developer Resources

Everything you need to integrate with CryptoHFTData. Explore our API endpoints, Python SDK, and historical data format.

Ticker Data

GET
/download

Get Ticker Statistics

Retrieve 24-hour ticker statistics including price changes, volume, and high/low prices.

Python SDK Usage

Data Format - CommonTicker

Ticker data is stored using the CommonTicker structure, which captures comprehensive 24-hour trading statistics including price movements, volume metrics, and trade counts:

Schema Overview

Each ticker event contains timing information, comprehensive price statistics, volume data, and trading activity metrics for a 24-hour period.

Field Definitions

FieldTypeNullableDescription
received_timeINT64NoUnix timestamp (nanoseconds) when our system received the ticker event
event_timeINT64NoUnix timestamp (exchange dependent on timescale) when the exchange generated the ticker
symbolSTRINGNoTrading pair symbol (e.g., 'BTCUSDT')
price_changeSTRINGYesAbsolute price change over 24h period (stored as string for precision)
price_change_percentSTRINGYesPercentage price change over 24h period
weighted_average_priceSTRINGYesVolume-weighted average price over 24h period
last_priceSTRINGYesMost recent trade price
last_quantitySTRINGYesQuantity of the most recent trade
open_priceSTRINGYesOpening price at start of 24h period
high_priceSTRINGYesHighest price during 24h period
low_priceSTRINGYesLowest price during 24h period
base_asset_volumeSTRINGYesTotal volume in base asset (e.g., BTC in BTCUSDT)
quote_asset_volumeSTRINGYesTotal volume in quote asset (e.g., USDT in BTCUSDT)
statistics_open_timeINT64YesUnix timestamp when the 24h statistics period started
statistics_close_timeINT64YesUnix timestamp when the 24h statistics period ended
first_trade_idINT64YesID of the first trade in the 24h period
last_trade_idINT64YesID of the last trade in the 24h period
total_tradesINT64YesTotal number of trades executed during 24h period

Data Categories

Price Metrics
  • last_price - Current market price
  • open_price - 24h period start
  • high_price - 24h maximum
  • low_price - 24h minimum
  • weighted_average_price - VWAP
Volume Metrics
  • base_asset_volume - Base currency volume
  • quote_asset_volume - Quote currency volume
  • last_quantity - Latest trade size
  • total_trades - Trade count
Change Metrics
  • price_change - Absolute change
  • price_change_percent - Relative change
  • statistics_open_time - Period start
  • statistics_close_time - Period end

Important Note

Some exchanges only include fields in updates when their values have changed. For these exchanges, if a column is null, it means the value has not changed since the last non-null update.

Have questions?

Our support team is available to help you with integration.

Contact Support