Releases
v0.2.0
Added
WebsocketStreamClient
Websocket Client can be initialized with 2 parameters, NewWebsocketStreamClient(isCombined, baseURL)
:
isCombined
is a MANDATORY boolean value that specifies whether you are calling a combined stream or not.
If isCombined
is set to true
, "/stream?streams="
will be appended to the baseURL
to allow for Combining streams.
Otherwise, if set to false
, "/ws/"
will be appended to the baseURL
.
baseURL
is an OPTIONAL string value that determines the base URL to use for the websocket connection.
If baseURL
is not set, it will default to the Live Exchange URL: "wss://stream.binance.com:9443"
.
Fixed
Order Response Types for CreateOrderService
- POST /api/v3/order
Added support for all 3 Order Response Types - ACK
, RESULT
and FULL
Order Response Types for MarginAccountNewOrderService
- POST /sapi/v1/margin/order
Added support for all 3 Order Response Types - ACK
, RESULT
and FULL
Different Response Types for MarginIsolatedAccountInfoService
- GET /sapi/v1/margin/isolated/account
Added support for both Response Types, depending on whether symbols
is set or not.
Changed
Renamed WsAllMiniMarketsStatServe to WsAllMarketMiniTickersStatServe
Renamed WsMarketsStatServe to WsMarketTickersStatServe
Renamed WsAllMarketsStatServe to WsAllMarketTickersStatServe
Updated Github Action UnitTest
Removed
Removed unused setFormParam
, setFormParams
, WithRecvWindow
, WithHeader
and WithHeaders
functions from request.go
You can’t perform that action at this time.