Skip to content

Commit

Permalink
cmd: skip reports for session has no trade
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Dec 14, 2023
1 parent 2873394 commit 057fb69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/cmd/backtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,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
Expand Down

0 comments on commit 057fb69

Please sign in to comment.