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_1
mark_price_candles_minute_5
mark_price_candles_minute_10
mark_price_candles_minute_15
mark_candles_minute_30
mark_candles_hour_1
mark_candles_hour_2
mark_candles_hour_4
mark_candles_hour_12
mark_candles_day_1
mark_candles_day_3
mark_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]
]
}