mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-03 15:10:49 +00:00
Fixed some typos in binance types and updated binance trading symbols in config example (#148)
* Added marcofranssen to contributors * Added missing doc for binance type Response * Fixed some typos in binance_types and aligned the doc blocks * Updated binance trading pairs in config_example.json * Enable all USDT trading pairs in example config for binance exchange
This commit is contained in:
committed by
Adrian Gallagher
parent
dd757a738e
commit
f920298d1a
@@ -1,5 +1,6 @@
|
||||
package binance
|
||||
|
||||
// Response holds basic binance api response data
|
||||
type Response struct {
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
@@ -208,22 +209,22 @@ type QueryOrderData struct {
|
||||
IsWorking bool `json:"isWorking"`
|
||||
}
|
||||
|
||||
// QueryOrderData holds query order data
|
||||
type Blance struct {
|
||||
// Balance holds query order data
|
||||
type Balance struct {
|
||||
Asset string `json:"asset"`
|
||||
Free string `json:"free"`
|
||||
Locked string `json:"locked"`
|
||||
}
|
||||
|
||||
// AccountInfo holds the account data
|
||||
// Account holds the account data
|
||||
type Account struct {
|
||||
MakerCommission int `json:"makerCommission"`
|
||||
TakerCommission int `json:"takerCommission"`
|
||||
BuyerCommission int `json:"buyerCommission"`
|
||||
SellerCommission int `json:"sellerCommission"`
|
||||
CanTrade bool `json:"canTrade"`
|
||||
CanWithdraw bool `json:"canWithdraw"`
|
||||
CanDeposit bool `json:"canDeposit"`
|
||||
UpdateTime int64 `json:"updateTime"`
|
||||
Blances []Blance `json:"balances"`
|
||||
MakerCommission int `json:"makerCommission"`
|
||||
TakerCommission int `json:"takerCommission"`
|
||||
BuyerCommission int `json:"buyerCommission"`
|
||||
SellerCommission int `json:"sellerCommission"`
|
||||
CanTrade bool `json:"canTrade"`
|
||||
CanWithdraw bool `json:"canWithdraw"`
|
||||
CanDeposit bool `json:"canDeposit"`
|
||||
UpdateTime int64 `json:"updateTime"`
|
||||
Balances []Balance `json:"balances"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user