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 access, 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 with decimal volume for bars and current timelines |
| Funds | Fund NAV and quotes |
| Warrants & CBBCs | HK derivative quotes |
| Market Scanner | Multi-condition stock screening |
| Streaming Market Data | Real-time market data subscriptions over TLS/Protobuf by default |
API reference
Common
| API | Description |
|---|---|
| Set the Current Market Data Device | Claim market data device access for the current device |
| Get Market Data Permissions | List the user's market data permission entries |
| Refresh Token | Refresh the token (TBHK license only) |
| Get Historical Data Quota | Check the historical Market Data quota |
Stocks
| API | Description |
|---|---|
| Get Market State | Get market state |
| 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 Market Depth | Get the order book |
| Get Trade Ticks | Get trade ticks |
| Get Candlestick Bars | 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
| 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 Market Depth | Get the futures order book |
| Get Futures Trade Ticks | Get futures trade ticks |
| Get Futures Candlestick Bars | Get futures candlestick bars (K-line data) |
Options
| 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 Market Depth | Get the option order book |
| Get Option Trade Ticks | Get option trade ticks |
| Get Option Candlestick Bars | Get option candlestick bars (K-line data) |
| Get Option Timeline | Get option timeline data |
| Get HK Option Codes | Get HK option codes |
| Get Option Analysis | Get option analysis metrics |
Crypto
| API | Description |
|---|---|
| Get Code List | Get cryptocurrency codes |
| Get Real-Time Quotes | Get real-time crypto quotes |
| Get Candlestick Bars | Get crypto bars with decimal volumeDecimal |
| Get Timeline Data | Get current crypto timeline with decimal volumeDecimal |
Funds
| 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 1 month ago
Did this page help you?
