{
    "id": "clientID2",
    "event": "subscribe",
    "success": true,
    "ts": 1609924478533
}
{
    "topic":"PERP_NEAR_USDC@orderbookupdate",
    "ts":1618826337580,
    "data":{
        "symbol":"PERP_NEAR_USDC",
        "prevTs":1618826337380,
        "asks":[
            [
                15.15,
                3.92864
            ],
            [
                15.8,
                0
            ],
            ...
        ],
        "bids":[
            [
                14.2,
                1.03895025
            ],
            [
                13.6,
                1.0807
            ],
            ...
        ]
    }
}

{symbol}@orderbookupdate updated orderbook push every 200ms

{
    "id": "clientID2",
    "topic": "PERP_NEAR_USDC@orderbookupdate",
    "event": "subscribe"
}

Parameters

NameTypeRequiredDescription
idstringYid generate by client
eventstringYsubscribe/unsubscribe
topicstringY{symbol}@orderbookupdate