Market Data
Use the Java SDK to retrieve Market Data for stocks, futures, options, funds, cryptocurrencies, warrants, and CBBCs, or subscribe to streaming updates.
| Page | Description |
|---|---|
| Common | Market data permissions, token refresh, historical data quota |
| Stocks | US/HK real-time quotes, candlestick bars, trade ticks, depth |
| Futures | Futures contract quotes and candlestick bars |
| Options | Option chains and option quotes |
| Crypto | Cryptocurrency quotes |
| Funds | Fund NAV and quotes |
| Warrants & CBBCs | HK derivative quotes |
| Market Scanner | Multi-condition stock screening |
| Streaming Market Data | WebSocket subscriptions for real-time updates |
API reference
Common
| API | Description |
|---|---|
| Set the Current Market Data Device | Claim market data access for the current device |
| Get Market Data Permissions | List the user's market data permissions |
| Refresh Token | Refresh the token (TBHK license only) |
| Get Historical Data Quota | Check the historical Market Data quota |
Stock Quotes
| API | Description |
|---|---|
| Get Market Status | Get market trading status |
| Get Trading Calendar | Get market trading calendar |
| Get Symbol List | Get all symbols |
| Get Symbol Names | Get codes and names list |
| Get Real-Time Quotes | Get real-time stock quotes |
| Get Depth Quotes | Get depth quotes (order book) |
| Get Trade Ticks | Get trade tick data |
| Get K-Line Data | Get candlestick bars (K-line data) |
| Get Timeline Data | Get latest trading day timeline |
| Get Historical Timeline | Get historical timeline data |
| Get Delayed Quotes | Get delayed stock quotes |
| Get Trade Info | Get stock trading information |
| Get Capital Flow | Get stock capital flow data |
| Get Capital Distribution | Get stock capital distribution |
| Get HK Broker Seats | Get HK broker buy/sell seats |
| Get HK Broker Holdings | Get HK broker holding market cap |
| Get Hot Trading Rankings | Hot trading rankings |
Futures Quotes
| API | Description |
|---|---|
| Get Futures Exchanges | Get futures exchange list |
| Get Tradable Contracts | Get tradable contracts by exchange |
| Get Contract by Code | Get contract by code |
| Get Current Main Contract | Get current main contract for a product |
| Get All Contracts | Get all contracts for a product |
| Get Continuous Contracts | Get continuous contracts for a product |
| Get Trading Hours | Get trading hours for a contract |
| Get Futures Real-Time Quotes | Get latest futures quotes |
| Get Futures Depth | Get futures depth quotes |
| Get Futures Trade Ticks | Get futures trade ticks |
| Get Futures K-Lines | Get futures candlestick bars |
Options Quotes
| API | Description |
|---|---|
| Get Option Expirations | Get option expiration dates |
| Get Option Chain | Get option chain |
| Get Option Quotes | Get real-time option quotes |
| Get Option Depth | Get option depth quotes |
| Get Option Trade Ticks | Get option trade ticks |
| Get Option K-Lines | Get option candlestick bars |
| Get Option Timeline | Get option timeline data |
| Get HK Option Codes | Get HK option codes |
| Get Option Analysis | Get option analysis metrics |
Crypto Quotes
| API | Description |
|---|---|
| Get Code List | Get cryptocurrency codes |
| Get Real-Time Quotes | Get real-time crypto quotes |
| Get K-Line Data | Get crypto candlestick bars (K-line data) |
| Get Timeline Data | Get crypto timeline data |
Fund Quotes
| API | Description |
|---|---|
| Get Fund Codes | Get fund codes |
| Get Fund Contracts | Get fund contract information |
| Get Latest Fund Quotes | Get latest fund quotes |
| Get Historical Fund Quotes | Get historical fund quotes |
Market Scanner
| API | Description |
|---|---|
| Market Scanner | Multi-condition stock screening |
Updated about 13 hours ago
Did this page help you?
