From 1a1c54017eee167bba17bf37dfa37a3a9471975e Mon Sep 17 00:00:00 2001 From: hirokisan Date: Sun, 18 Jun 2023 05:37:49 +0900 Subject: [PATCH] cosme: because it is not required param --- v5_position_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v5_position_service.go b/v5_position_service.go index a3a0062..1895e62 100644 --- a/v5_position_service.go +++ b/v5_position_service.go @@ -142,7 +142,7 @@ type V5SetTradingStopParam struct { ActivePrice *string `json:"activePrice,omitempty"` TpSize *string `json:"tpSize,omitempty"` SlSize *string `json:"slSize,omitempty"` - TpslMode TpSlMode `json:"tpslMode,omitempty"` + TpslMode *TpSlMode `json:"tpslMode,omitempty"` TpLimitPrice *string `json:"tpLimitPrice,omitempty"` SlLimitPrice *string `json:"slLimitPrice,omitempty"` TpOrderType *OrderType `json:"tpOrderType,omitempty"`