go-binance
go-binance copied to clipboard
A Go SDK for Binance API
Addresses issue #409 - Added `binance.WsCombinedTradeServe(...)` as combined alternative for `binance.WsTradeServe(...)` - Added test for `binance.WsCombinedTradeServe(...)`
Currently `binance.WsTradeServe()` pulls data for only one symbol. Is there a combined alternative like `binance.WsCombinedAggTradeServe()` ?
Addresses issue #406 Added `windowSize` request parameter for `ListSymbolTickerService`
Reopening https://github.com/adshao/go-binance/pull/214
I found you use for loop to traverse. But once it meet err the whole websokcetTick will down. In this situation, how can we run it gain? https://github.com/adshao/go-binance/blob/774259245842dd69ed7731d8ef09a772d9c837b0/v2/futures/websocket.go#L54-L63
We should be able to add a custom `windowSize` to `NewListSymbolTickerService` Reference: https://binance-docs.github.io/apidocs/spot/en/#rolling-window-price-change-statistics
Good day @adshao How can i call and use the trade fee in orders?
Trust everyone is good, adding .Test(context.Background()) is not working ``` order, err := client.NewCreateOrderService().Symbol(model.Symbol). Side(binance.SideTypeBuy).Type(binance.OrderTypeLimit). TimeInForce(binance.TimeInForceTypeGTC).Quantity("5"). Price("200").Do(context.Background()) if err != nil { fmt.Println("gdgh", err) return } fmt.Println(order) ```
WsAllMarkPriceServe not use
It seems that Binance added two more attributes to their Order regarding their built-in strategies. I notices it with the "grid bot" strategy. I am testing it right now with...