OHLCV API Documentation Real-Time & Historical Candlestick Data Get standardized K-line data result sets, including core fields such as opening price, highest price, lowest price, closing price and trading volume. Data covers multiple global markets including A-shares, Hong Kong stocks, and US stocks, providing adjustment factor support, supporting multiple time periods from minute lines to monthly lines
Kline Structure
onumber
Kline opening price
cnumber
Kline closing price
hnumber
Kline highest price
lnummber
Kline lowest price
vnumber
Trading volume
tunumber
Trading amount
snumber
Symbol (exists when subscribing to kline, does not exist in query interface)
Kline Type Definition
| 类型 | 字段含义 | 描述 |
|---|---|---|
| 1 | 1-minute Kline | |
| 2 | 5-minute Kline | |
| 3 | 15-minute Kline | |
| 4 | 30-minute Kline | |
| 5 | 60-minute Kline | |
| 6 | 2-hour Kline | |
| 7 | 4-hour Kline | |
| 8 | 24-hour Kline | |
| 9 | 1-week Kline | |
| 10 | 1-month Kline |
🐳2-hour Kline and 4-hour Kline are only supported for cryptocurrency products
- Error Codes
iTick API complete error code reference center. Quickly search by code or type to get the full meaning of each error, potential causes, detailed troubleshooting steps and solutions. When you encounter issues such as request failures, authentication failures, quota exceeded, etc., you can find immediate help here
- Product List
Covers Real-Time and Historical Data for Global Major Markets Including Chinese, US, and Hong Kong Stocks, Global Forex, Indices, Futures, Funds, and Crypto.