mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 15:25:14 +00:00
cmd: skip reports for session has no trade
This commit is contained in:
parent
a484211aa5
commit
e23e8fde1d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user