xmaker: fix message

This commit is contained in:
c9s 2023-07-22 17:34:09 +08:00
parent c13a5cdf6e
commit fad8642a59
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -811,7 +811,7 @@ func (s *Strategy) CrossRun(ctx context.Context, orderExecutionRouter bbgo.Order
bbgo.Notify(position)
})
s.tradeCollector.OnRecover(func(trade types.Trade) {
bbgo.Notify("Recover trade", trade)
bbgo.Notify("Recovered trade", trade)
})
s.tradeCollector.BindStream(s.sourceSession.UserDataStream)
s.tradeCollector.BindStream(s.makerSession.UserDataStream)