adshao / go-binance

A Go SDK for Binance API
MIT License
1.48k stars 664 forks source link

Missing `commissionRates` in `GET /api/v3/account` #492

Closed MartinTheCzechGuy closed 1 week ago

MartinTheCzechGuy commented 1 year ago

Current response from GET /api/v3/account is ignoring the commissionRates object from the response. Would be nice to add it.

{ "makerCommission": 15, "takerCommission": 15, "buyerCommission": 0, "sellerCommission": 0, "commissionRates": { "maker": "0.00150000", "taker": "0.00150000", "buyer": "0.00000000", "seller": "0.00000000" }, "canTrade": true, "canWithdraw": true, "canDeposit": true, "brokered":false, "requireSelfTradePrevention": false, "updateTime": 123456789, "accountType": "SPOT", "balances": [ { "asset": "BTC", "free": "4723846.89208129", "locked": "0.00000000" }, { "asset": "LTC", "free": "4763368.68006011", "locked": "0.00000000" } ], "permissions": [ "SPOT" ] }

xyq-c-cpp commented 1 week ago

completed, close this.