mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
strategy: remove TimeInForce when sending trailing stop order
This commit is contained in:
parent
861fd84fd4
commit
c2747ca9e4
|
@ -111,7 +111,6 @@ func (control *TrailingStopControl) GenerateStopOrder(quantity fixedpoint.Value)
|
||||||
Type: types.OrderTypeStopMarket,
|
Type: types.OrderTypeStopMarket,
|
||||||
Quantity: quantity,
|
Quantity: quantity,
|
||||||
MarginSideEffect: control.marginSideEffect,
|
MarginSideEffect: control.marginSideEffect,
|
||||||
TimeInForce: types.TimeInForceGTC,
|
|
||||||
|
|
||||||
Price: targetPrice,
|
Price: targetPrice,
|
||||||
StopPrice: targetPrice,
|
StopPrice: targetPrice,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user