cex_spot_get_spot_candlesticks
Get candlestick/OHLCV data for a currency pair
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End time of K-line in Unix timestamp (seconds). Defaults to current time if not specified | |
| from | No | Start time of K-line in Unix timestamp (seconds). Defaults to to - 100 * interval if not specified | |
| limit | No | Maximum number of data points to return. Mutually exclusive with from/to parameters | |
| interval | No | Time interval of data points. Note: 30d represents natural month, not 30 days | |
| currency_pair | Yes | Currency pair |