adjust pnl timer

This commit is contained in:
c9s 2020-08-10 13:27:28 +08:00
parent 4f3432d4bf
commit 094da9d3d3

View File

@ -212,7 +212,7 @@ func (trader *Trader) RunStrategy(ctx context.Context, strategy Strategy) (chan
trader.reportTimer.Stop()
}
trader.reportTimer = time.AfterFunc(5*time.Second, func() {
trader.reportTimer = time.AfterFunc(1*time.Minute, func() {
trader.ReportPnL()
})
})