cmd: skip reports for session has no trade

This commit is contained in:
c9s 2023-11-01 15:22:53 +08:00
parent a484211aa5
commit e23e8fde1d
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -540,7 +540,6 @@ var BacktestCmd = &cobra.Command{
for _, session := range environ.Sessions() {
for symbol, trades := range session.Trades {
if len(trades.Trades) == 0 {
log.Warnf("session has no %s trades", symbol)
continue