connectfunction with the channels you want to subscribe to in an array as the parameter. The connection will reconnect on its own unless you call
order(Only available with authentication. Receive order updates for a user of your exchange)
wallet(Only available with authentication. Receive balance updates for a user of your exchange)
trade), you can subscribe to specific symbols as follows:
trade:xht-usdt. Not passing a symbol will subscribe to all symbols.
trade), you must also pass the user's ID on the HollaEx Network as follows:
wallet:23. Not passing an ID will give an error.
onfunction for the
wsproperty of the client. The events available are default WebSocket events e.g.
statusof the order can be
actionof the data determines what caused it to happen. All three are explained below:
partial: All previous and current orders. Is the first order data received when connecting. Max: 50. Descending order.