mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
bbgo: fix trailing stop binding
This commit is contained in:
parent
d86338d6e6
commit
b3e04a68da
|
@ -75,4 +75,8 @@ func (m *ExitMethod) Bind(session *ExchangeSession, orderExecutor *GeneralOrderE
|
|||
if m.CumulatedVolumeTakeProfit != nil {
|
||||
m.CumulatedVolumeTakeProfit.Bind(session, orderExecutor)
|
||||
}
|
||||
|
||||
if m.TrailingStop != nil {
|
||||
m.TrailingStop.Bind(session, orderExecutor)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user