Mark Price K-line Data
Description
Subscribe to candlestick data that marks prices.
Pushing Frequency
The push frequency is the fastest interval 1 second push the data.
Channel
mark_price_candles_minute_1mark_price_candles_minute_5mark_price_candles_minute_10mark_price_candles_minute_15mark_candles_minute_30mark_candles_hour_1mark_candles_hour_2mark_candles_hour_4mark_candles_hour_12mark_candles_day_1mark_candles_day_3mark_candles_week_1
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| event | Yes | String | Operation: subscribe, unsubscribe |
| channel | Yes | Array | Channel |
| symbols | Array | trading pair array |
Request Response
| Parameter | Type | Description |
|---|---|---|
| event | String | Operation: subscribe, unsubscribe |
| channel | String | Channel |
| symbols | Array | trading pair array |
| message | String | Error message |
Push Data
| Parameter | Type | Description |
|---|---|---|
| channel | String | Channel |
| data | Array | The subscribed data |
| > s | String | A trading pair |
| > l | String | Lowest price |
| > h | String | Highest price |
| > o | String | Opening price |
| > c | String | Closing price |
| > sT | Long | Start time |
| > cT | Long | End time |
| > ts | Long | Push time (millisecond) |
Request Example
{
"event": "subscribe",
"channel": ["mark_price_candles_minute_1"],
"symbols": ["BTC_USDT_PERP"]
}
Push Data Example
{
"channel": "mark_price_candles_minute_1",
"data": [
["BTC_USDT_PERP","57800.17","57815.95","57809.65","57800.17",1725264900000,1725264959999,1725264919140]
]
}