strategy: remove TimeInForce when sending trailing stop order

This commit is contained in:
Andy Cheng 2022-04-02 21:19:47 +08:00
parent 861fd84fd4
commit c2747ca9e4
No known key found for this signature in database
GPG Key ID: 936427CF651A9D28

View File

@ -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,