China Futures
Major index, treasury, metals, energy, chemical and agricultural futures, organized by exchange with dated, main and continuous contracts.
IF8888RB8888AU8888SC8888 TickDB covers China and Hong Kong futures with dated and continuous contracts, historical bars, quotes, order books and trades via REST and WebSocket.
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.
Use market=CN or market=HK with type=futures. Dated contracts expire: check the catalog and is_active before choosing a current contract. Commodity futures prices are not physical procurement or spot commodity quotes.
China futures documentation uses AP7777 for secondary-main continuous, AP8888 for main continuous and AP9999 for weighted continuous. These series track market data and are not deliverable contracts; no rollover or price-adjustment algorithm is implied here.
volume represents traded volume; open_interest represents outstanding positions. They are not interchangeable. The bar contract marks open_interest as futures-only, while quote_volume is usually absent for futures.
Bars support 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w and 1M: lowercase m means minutes, uppercase M means months. start_time/end_time use milliseconds; the default is 100 bars, capped at 1,000. The last bar may still be forming. Historical access depends on entitlements and availability.
Use documented symbols as examples; confirm current availability and account permissions in the catalog. Replace YOUR_API_KEY locally; never publish a real key in browser code.
curl --fail-with-body -H "X-API-Key: YOUR_API_KEY" \
"https://api.tickdb.ai/v1/symbols/available?market=CN&type=futures&limit=100&offset=0" curl --fail-with-body -H "X-API-Key: YOUR_API_KEY" \
"https://api.tickdb.ai/v1/market/ticker?symbols=AP8888&type=futures" curl --fail-with-body -H "X-API-Key: YOUR_API_KEY" \
"https://api.tickdb.ai/v1/market/kline?symbol=AP8888&type=futures&interval=1d&limit=100" Free is a 7-day trial for selected instruments, with quotes and permitted bar queries. It does not allow start_time/end_time historical ranges. Depth, trades and specified historical ranges require the appropriate entitlements; check the current plan for symbols and quotas.
# 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)
Free is a 7-day trial for selected instruments, with quotes and permitted bar queries. It does not allow start_time/end_time historical ranges. Depth, trades and specified historical ranges require the appropriate entitlements; check the current plan for symbols and quotas.
Billed annually $950
Billed annually $2870
Billed annually $8630
Hours vary by exchange and contract. Examples in UTC+8: SHFE day sessions are generally 09:00–10:15, 10:30–11:30 and 13:30–15:00; products with night trading start at 21:00, with different closing times. Not all futures have night sessions. HKEX Hang Seng Index futures normally trade 09:15–12:00, 13:00–16:30 and 17:00–03:00 the next day; the expiring contract closes its day session at 16:00 on its last trading day. Other contracts, half-days, holidays and night-session trading-date assignment follow exchange rules.
Official trading rules
The futures category currently covers China Futures and Hong Kong Futures. China contracts are grouped by exchange, while Hong Kong contracts are split into financial and stock futures.
Yes. The catalog includes dated contracts plus main and continuous contract formats for research and monitoring. Refer to the live product catalog in the console for currently available symbols.
Sign in to the console, open Product Search, and select China Futures or Hong Kong Futures to browse the live catalog by exchange and product.
No. Both markets use the same REST and WebSocket contract; only the Symbol codes differ.
Use market=CN or market=HK with type=futures. Dated contracts expire: check the catalog and is_active before choosing a current contract. Commodity futures prices are not physical procurement or spot commodity quotes.
China futures documentation uses AP7777 for secondary-main continuous, AP8888 for main continuous and AP9999 for weighted continuous. These series track market data and are not deliverable contracts; no rollover or price-adjustment algorithm is implied here.
volume represents traded volume; open_interest represents outstanding positions. They are not interchangeable. The bar contract marks open_interest as futures-only, while quote_volume is usually absent for futures.
Bars support 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w and 1M: lowercase m means minutes, uppercase M means months. start_time/end_time use milliseconds; the default is 100 bars, capped at 1,000. The last bar may still be forming. Historical access depends on entitlements and availability.
Free is a 7-day trial for selected instruments, with quotes and permitted bar queries. It does not allow start_time/end_time historical ranges. Depth, trades and specified historical ranges require the appropriate entitlements; check the current plan for symbols and quotas.
Sign up for a free API Key. WebSocket real-time streaming. Get started in minutes.