diff --git a/v2/delivery/position_service.go b/v2/delivery/position_service.go index 0a7faa3b..8a5c89e1 100644 --- a/v2/delivery/position_service.go +++ b/v2/delivery/position_service.go @@ -119,7 +119,7 @@ func (s *UpdatePositionMarginService) Amount(amount string) *UpdatePositionMargi return s } -// Type set action type: 1: Add postion margin,2: Reduce postion margin +// Type set action type: 1: Add position margin,2: Reduce position margin func (s *UpdatePositionMarginService) Type(actionType int) *UpdatePositionMarginService { s.actionType = actionType return s diff --git a/v2/futures/order_service.go b/v2/futures/order_service.go index 89a6ff2e..5a484f85 100644 --- a/v2/futures/order_service.go +++ b/v2/futures/order_service.go @@ -226,7 +226,7 @@ type CreateOrderResponse struct { ClosePosition bool `json:"closePosition"` // if Close-All PriceProtect bool `json:"priceProtect"` // if conditional order trigger is protected PriceMatch string `json:"priceMatch"` // price match mode - SelfTradePreventionMode string `json:"selfTradePreventionMode"` // self trading preventation mode + SelfTradePreventionMode string `json:"selfTradePreventionMode"` // self trading presentation mode GoodTillDate int64 `json:"goodTillDate"` // order pre-set auto cancel time for TIF GTD order CumQty string `json:"cumQty"` // OrigType OrderType `json:"origType"` // diff --git a/v2/futures/position_service.go b/v2/futures/position_service.go index 37c5bf55..a9708e1b 100644 --- a/v2/futures/position_service.go +++ b/v2/futures/position_service.go @@ -119,7 +119,7 @@ func (s *UpdatePositionMarginService) Amount(amount string) *UpdatePositionMargi return s } -// Type set action type: 1: Add postion margin,2: Reduce postion margin +// Type set action type: 1: Add position margin,2: Reduce position margin func (s *UpdatePositionMarginService) Type(actionType int) *UpdatePositionMarginService { s.actionType = actionType return s