获取加密货币历史价格
crypto_pricesFetch historical candlestick (K-line) data for cryptocurrency pairs from OKX, supporting multiple timeframes and returning standardized market fields for analysis.
Instructions
获取OKX加密货币的历史K线数据,输出标准化行情字段
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回数量(int),最大300,最小建议30 | |
| period | No | K线时间粒度,仅支持: [1m/3m/5m/15m/30m/1H/2H/4H/6H/12H/1D/2D/3D/1W/1M/3M] 除分钟为小写m外,其余均为大写 | 1H |
| symbol | No | 产品ID,格式: BTC-USDT | BTC-USDT |