forked from openware/gocryptotrader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bitstamp: Websocket API upgrade to v2 (thrasher-corp#307)
* Subscribe/Unsubscribe methods added * migration to v3 * removed orderbook from rest * WsUpdateOrderbook updated to reflect changes to v2 * Added comment for exported func * removed logging * unexported structs that are not used globally moved seed to own function * unexported functions not used outside package * Support reconnection message from bitstamp * moved from range key/val * using ticket.Spot instead of string * Seperated out WsReadData & WsHandleData to allow for better testing of websocket messages * ah should continue to next iteration and not break execution on json decode * code formatting clean up * reworded connection message * return out of method instead of just breaking loop * formatting changes and replaced SPOT with ticket.Spot type
- Loading branch information
Showing
5 changed files
with
205 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.