Candles
candlesOKX crypto exchange OHLC candles for a spot/perp/futures instrument. Bars 1m through 1M. Use for charting and backtesting OKX instruments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | ||
| after | No | ||
| limit | No | ||
| before | No | ||
| instId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||