max: update market struct fields

This commit is contained in:
c9s 2022-05-26 20:32:25 +08:00
parent d9e10b7fcd
commit 8721679f74
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -22,12 +22,14 @@ type PublicService struct {
type Market struct {
ID string `json:"id"`
Name string `json:"name"`
Status string `json:"market_status"` // active
BaseUnit string `json:"base_unit"`
BaseUnitPrecision int `json:"base_unit_precision"`
QuoteUnit string `json:"quote_unit"`
QuoteUnitPrecision int `json:"quote_unit_precision"`
MinBaseAmount fixedpoint.Value `json:"min_base_amount"`
MinQuoteAmount fixedpoint.Value `json:"min_quote_amount"`
SupportMargin bool `json:"m_wallet_supported"`
}
type Ticker struct {