bbgo: fix trailing stop binding

This commit is contained in:
c9s 2022-07-06 21:50:38 +08:00
parent d86338d6e6
commit b3e04a68da
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -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)
}
}