Skip to content

Commit 057fb69

Browse files
committed
cmd: skip reports for session has no trade
1 parent 2873394 commit 057fb69

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/cmd/backtest.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,6 @@ var BacktestCmd = &cobra.Command{
526526

527527
for _, session := range environ.Sessions() {
528528
for symbol, trades := range session.Trades {
529-
530529
if len(trades.Trades) == 0 {
531530
log.Warnf("session has no %s trades", symbol)
532531
continue

0 commit comments

Comments
 (0)