mexcdevelop / mexc-api-sdk

MIT License
173 stars 70 forks source link

how to subscribe webSocket directly to the list of symbols? #31

Open Freeongoo opened 1 year ago

Freeongoo commented 1 year ago

to subscribe to a single symbol, you need to make a request like:

webSocket.send("{\"op\":\"sub.symbol\",\"symbol\":\"BTC_USDT\"}");

but I need to subscribe to a list of symbols, how to do it?