Unsubscribe from data feeds by sending a message in the following format.
Fields
Field Name | Type | Values |
---|
type | string | unsubscribe |
subscriptions | array | |
-- name | string | l2 , candles_1m , etc. |
-- symbols | array | ["BTCUSD", "ETHBTC", ...] |
Examples
Unsubscribe message
{
"type": "unsubscribe",
"subscriptions": [
{
"name": "l2",
"symbols": ["BTCUSD", "ETHBTC"]
},
{
"name": "candles_1m",
"symbols": ["BTCUSD", "ETHBTC"]
}
]
}
Last modified on