OKX MCP Server
by esshka
get_candlesticks
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) |