go-binance
go-binance copied to clipboard
A Go SDK for Binance API
Update the WsUserDataEvent struct according to the latest version of Binance documentation and solve the current case sensitivity problem. This update has to make a few changes that break compatibility....
There are should be STRING types in this fields. BOOL type is still working in single order requests, but not is batch ones.
Hi, I see some fixes have been integrated - however latest release is from Avg 4 2023, a long time ago. @adshao is it possible you do a new tag...
for example,I use code: client := binance.NewClient(apiKey, apiSecret) client.SetApiEndpoint(types.Base_binance_url) ret, err := client.NewGetAccountService().Do(context.Background()) to get balance,it return like this:{free:xxx,locked:xxx},I use free to get the balance. but something very weired happen,when...
Binance api return 4xx HTTP StatusCode represent client error, but the code and message not required in response body. So it would be better fill the StatusCode in APIError to...
https://binance-docs.github.io/apidocs/futures/en/#mark-price https://binance-docs.github.io/apidocs/futures/en/#event-order-update https://binance-docs.github.io/apidocs/futures/en/#new-order-trade
is there demo code to use subtoSub?
is threre subToMaster or masterToSub method? I only find subToSub method
When sending a cancel order for spot margin. The response code comes back as 200, but the data of data, err = ioutil.ReadAll(res.Body), seems to be empty and causes this...