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.
Subscription
Users can subscribe to one or more channels, and the total length of multiple channels cannot exceed 4096 bytesSubscribe Message Format
{"action":"subscribe","args":["<topic>"]}
Parameter Instructions
action= subscribeargs= The content of the args array is the subscribed topictopicis composed of<channel>:<filter>- channel is composed of business/name
- filter can filter data, refer to the description of each channel for details
Example
-
Send message to WOO X Pro server
{"action":"subscribe","args":["futures/klineBin1m:BTCUSDT"]} -
The WOO X Pro server returns the subscription result, success=true means the subscription is successful
{"action":"subscribe","group":"futures/klineBin1m:BTCUSDT","success":true,"request":{"action":"subscribe","args":["futures/klineBin1m:BTCUSDT"]}}