Interface Description
Cancel quote subscription.Request - Protocol Number: 22006
Data Definition
Data Structure (JSON)
Response - Protocol Number: 22007
Data Structure (JSON)
AllTick Website
Official website: https://alltick.co/
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
This documentation explains how to use AllTick’s stock WebSocket cancel quote subscription interface, including unsubscribe message format, parameters, and examples, allowing developers to stop receiving tick or order book updates for specific symbols and optimize bandwidth and quota usage.
| Field | Name | Type | Required | Description |
|---|---|---|---|---|
| cancel_type | Cancel type | uint32 | Yes | 0: cancel all quote subscriptions, 1: cancel order book quote subscription, 2: cancel trade quote subscription, 3: cancel exchange rate subscription |
{
"cmd_id": 22006,
"seq_id": 123,
"trace": "3baaa938-f92c-4a74-a228-fd49d5e2f8bc-1678419657806",
"data": {
"cancel_type": 1
}
}
{
"ret": 200,
"msg": "ok",
"cmd_id": 22007,
"seq_id": 123,
"trace": "3baaa938-f92c-4a74-a228-fd49d5e2f8bc-1678419657806",
"data": {}
}
