The resource loading... loading...

How do you know the current exchange is using a websocket?

Author: SamLi, Created: 2018-03-03 20:39:42, Updated:

How do you know the current exchange is using a websocket?


More

SamLiThank you

Inventors quantify - small dreamsWhat's going on? var ret = exchange.IO (("websocket") Log (("ret:", ret) // If printed is a "websocket" button, this indicates that the switch was successful and can be recorded with a variable. var ret2 = exchange.IO (("rest") Log (("ret2:", ret2) // If it is printed as a rest button, then it is switched back to rest mode // Note: ws protocol BotVS currently only supports OKEX and Bitcoin pro. What's going on?