mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +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)
|
s.updateQuote(ctx, orderExecutionRouter)
|
||||||
|
|
||||||
case <-reportTicker.C:
|
case <-reportTicker.C:
|
||||||
bbgo.Notify(&s.ProfitStats)
|
bbgo.Notify(s.ProfitStats)
|
||||||
|
|
||||||
case <-tradeScanTicker.C:
|
case <-tradeScanTicker.C:
|
||||||
log.Infof("scanning trades from %s ago...", tradeScanInterval)
|
log.Infof("scanning trades from %s ago...", tradeScanInterval)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user