get_candlesticks
Retrieve historical candlestick data for any OKX trading instrument to analyze market trends and price movements. Specify time intervals and number of candlesticks for precise insights.
Instructions
Get candlestick data for an OKX instrument
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bar | No | Time interval (e.g. 1m, 5m, 1H, 1D) | 1m |
instrument | Yes | Instrument ID (e.g. BTC-USDT) | |
limit | No | Number of candlesticks (max 100) |