Skip to content

Commit

Permalink
Add QuoteAssetPrecision field to the Symbol struct (#316)
Browse files Browse the repository at this point in the history
As mentioned in the [Binance changelog](https://binance-docs.github.io/apidocs/spot/en/#change-log) from 2020-04-25, a new field `quoteAssetPrecision` was added; a duplicate of the `quotePrecision` field. `quotePrecision` will be removed in future API versions (v4+).
  • Loading branch information
icamys committed Oct 7, 2021
1 parent e13d55c commit baffa0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v2/exchange_info_service.go
Expand Up @@ -77,6 +77,7 @@ type Symbol struct {
BaseAssetPrecision int `json:"baseAssetPrecision"`
QuoteAsset string `json:"quoteAsset"`
QuotePrecision int `json:"quotePrecision"`
QuoteAssetPrecision int `json:"quoteAssetPrecision"`
OrderTypes []string `json:"orderTypes"`
IcebergAllowed bool `json:"icebergAllowed"`
OcoAllowed bool `json:"ocoAllowed"`
Expand Down

0 comments on commit baffa0c

Please sign in to comment.