China Futures
Major index, treasury, metals, energy, chemical and agricultural futures, organized by exchange with dated, main and continuous contracts.
IF8888RB8888AU8888SC8888 One API for China and Hong Kong futures, with dated, main and continuous contract market data.
Futures stays simple at the top level, while this page separates contracts by China and Hong Kong markets.
Major index, treasury, metals, energy, chemical and agricultural futures, organized by exchange with dated, main and continuous contracts.
IF8888RB8888AU8888SC8888 HKEX financial and single-stock futures for index tracking, cross-market monitoring and Hong Kong derivatives applications.
HSI8888HCF8888A508888 | Exchange / Category | Symbols | Data Capabilities | Frequency |
|---|---|---|---|
| China Futures | 1,073 |
REST queries plus quote, order-book and trade streaming; depth and time precision vary by contract. | Updates during trading sessions |
| Hong Kong Financial Futures | 57 |
Quote, order-book and trade streaming; selected popular main contracts also support intraday data. | Updates during trading sessions |
| Hong Kong Stock Futures | 182 |
REST queries plus quote, order-book and trade streaming; depth and trade time precision vary by contract. | Updates during trading sessions |
Candlesticks are queried via REST; live subscriptions use supported channels. Endpoints, fields and historical coverage depend on the instrument, plan permissions and available data. Instrument counts do not imply full capability coverage for every instrument.
# pip install websocket-client
import websocket
import json
api_key = 'your_api_key_here'
ws_url = f'wss://api.tickdb.ai/v1/realtime?api_key={api_key}'
def on_open(ws):
ws.send(json.dumps({
'cmd': 'subscribe',
'data': {
'channel': 'ticker',
'symbols': ['IF8888', 'RB8888', 'HSI8888']
}
}))
def on_message(ws, message):
data = json.loads(message)
print('Received:', data)
ws = websocket.WebSocketApp(ws_url, on_open=on_open, on_message=on_message)
ws.run_forever() Full documentation available at API Documentation
Track metals, energy, chemicals and agricultural contracts together for dashboards and market alerts.
Use main and continuous contracts to follow price trends without manually maintaining every dated contract rollover.
Combine China and Hong Kong futures through one interface for index, commodity and derivatives analysis.
All paid plans support monthly / quarterly / semi-annual / annual billing. Prices below are annual (20% off)
Billed annually $950
Billed annually $2870
Billed annually $8630
Sign up for a free API Key. WebSocket real-time streaming. Get started in minutes.