mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
xmaker: fix profit stats notification
This commit is contained in:
parent
de1b0bccfc
commit
247a22c4fe
|
@ -840,7 +840,7 @@ func (s *Strategy) CrossRun(ctx context.Context, orderExecutionRouter bbgo.Order
|
|||
s.updateQuote(ctx, orderExecutionRouter)
|
||||
|
||||
case <-reportTicker.C:
|
||||
bbgo.Notify(&s.ProfitStats)
|
||||
bbgo.Notify(s.ProfitStats)
|
||||
|
||||
case <-tradeScanTicker.C:
|
||||
log.Infof("scanning trades from %s ago...", tradeScanInterval)
|
||||
|
|
Loading…
Reference in New Issue
Block a user