From c2747ca9e4ccf4dc6ada135289b5240b683f09b3 Mon Sep 17 00:00:00 2001 From: Andy Cheng Date: Sat, 2 Apr 2022 21:19:47 +0800 Subject: [PATCH] strategy: remove TimeInForce when sending trailing stop order --- pkg/strategy/support/strategy.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/strategy/support/strategy.go b/pkg/strategy/support/strategy.go index a9a4aacda..91c7deeed 100644 --- a/pkg/strategy/support/strategy.go +++ b/pkg/strategy/support/strategy.go @@ -111,7 +111,6 @@ func (control *TrailingStopControl) GenerateStopOrder(quantity fixedpoint.Value) Type: types.OrderTypeStopMarket, Quantity: quantity, MarginSideEffect: control.marginSideEffect, - TimeInForce: types.TimeInForceGTC, Price: targetPrice, StopPrice: targetPrice,