diff --git a/trade/jsontypes/types.go b/trade/jsontypes/types.go index 7a4caac..3b3e92c 100644 --- a/trade/jsontypes/types.go +++ b/trade/jsontypes/types.go @@ -71,6 +71,7 @@ type AccountBalance struct { InitMargin string `json:"init_margin"` MaintenanceMargin string `json:"maintenance_margin"` Currency string `json:"currency"` + BuyPower string `json:"buy_power"` CashInfos []*CashInfo `json:"cash_infos"` } diff --git a/trade/types.go b/trade/types.go index c1630b1..3904232 100644 --- a/trade/types.go +++ b/trade/types.go @@ -246,6 +246,7 @@ type AccountBalance struct { InitMargin *decimal.Decimal // initial margin MaintenanceMargin *decimal.Decimal // maintenance margin Currency string + BuyPower *decimal.Decimal CashInfos []*CashInfo }