Skip to main content

Mark Price

Subscribe to mark price pushes for a specified trading pair.

  • Channel Format:
    • Default frequency (3-second sampling): {symbol}@markPrice
    • High frequency (1-second real-time): {symbol}@markPrice@1s
  • Access: Public

Subscribe Request

{
"op": "subscribe",
"args": [
"BTC_USDT@markPrice",
"BTC_USDT@markPrice@1s"
]
}

Unsubscribe

{
"op": "unsubscribe",
"args": ["BTC_USDT@markPrice"]
}

Push Example

{
"ch": "BTC_USDT@markPrice@1s",
"d": {
"symbol": "BTC_USDT",
"markPrice": "49012.34",
"t": 1768205315166
}
}

Push Fields

FieldTypeDescription
symbolstringTrading pair
markPricestringMark price
tnumberTimestamp (milliseconds)

Notes

  • @markPrice: pushed every 3 seconds by sampling
  • @markPrice@1s: pushed in real time for each update
  • kafka.topics.markPrice is an optional configuration. If unset or empty, mark price messages are not processed.