dparlevliet / node.bittrex.api

Node Bittrex API is an asynchronous node.js library for the Bittrex API, the data can be received either via GET request or Stream.
MIT License
253 stars 100 forks source link

add unsubsribe websocket option #106

Open sagivo opened 6 years ago

sagivo commented 6 years ago

good if you want to stop the ws connection.

dparlevliet commented 6 years ago

I don't disagree with this but I think unsubscribe as the function name might be confusing. Since subscribe is used to attach to one or more markets, one would assume unsubscribe is to detach.