Subscribe 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"]}}