Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt

Use this file to discover all available pages before exploring further.

Unsubscribe

Cancel subscription to one or more channels

Unsubscribe Message Format

{"action": "unsubscribe", "args": ["<topic>"]}

Parameter Instruction

  • action = unsubscribe
  • args = The content of the args array is the subscribed topic
  • topic is composed of <channel>:<filter>
    • channel is composed of business/name
    • filter can filter data, refer to the description of each channel for details

Example

  1. Send message to WOO X Pro server {"action": "unsubscribe", "args": ["futures/klineBin1m:BTCUSDT"]}
  2. The WOO X Pro server returns the subscription result, success=true means the subscription is successful {"action":"unsubscribe","group":"futures/klineBin1m:BTCUSDT","success":true,"request":{"action":"unsubscribe","args":["futures/klineBin1m:BTCUSDT"]}}