diff --git a/pkg/types/order.go b/pkg/types/order.go index fe948e80e..34c43fd85 100644 --- a/pkg/types/order.go +++ b/pkg/types/order.go @@ -68,6 +68,11 @@ type SubmitOrder struct { QuantityString string `json:"-"` TimeInForce string `json:"timeInForce" db:"time_in_force"` // GTC, IOC, FOK + + Margin bool `json:"margin"` + IsolatedMargin bool `json:"isolatedMargin"` + IsolatedMarginSymbol string `json:"isolatedMarginSymbol"` + MarginSideEffect string `json:"marginSideEffect"` // AUTO_REPAY, NO_SIDE_EFFECT, MARGIN_BUY } func (o *SubmitOrder) String() string {