Skip to content

Mark price updated

SEND Server to Client on wss://api.valr.com/ws/trade

Sent approximately every 5 seconds with the current mark price for futures (perpetual) pairs.

Subscription

This event requires an explicit subscription. Send a SUBSCRIBE message after connecting:

json
{
    "type": "SUBSCRIBE",
    "subscriptions": [
        {
            "event": "MARK_PRICE_UPDATE"
        }
    ]
}

Message

Event type: MARK_PRICE_UPDATE

Payload Schema

PropertyTypeRequiredDescription
pricestringYes-

Example

json
"{\n    \"type\": \"MARK_PRICE_UPDATE\",\n    \"currencyPairSymbol\": \"BTCUSDTPERP\",\n    \"data\": {\n        \"price\": \"33000\"\n    }\n}"

Channel

Channel: trade Address: wss://api.valr.com/ws/trade