diff --git a/pkg/cmd/backtest.go b/pkg/cmd/backtest.go index f7cc9ec4a..08978a88f 100644 --- a/pkg/cmd/backtest.go +++ b/pkg/cmd/backtest.go @@ -183,7 +183,7 @@ var BacktestCmd = &cobra.Command{ var prevKLine types.KLine for k := range klineC { if verboseCnt > 1 { - fmt.Print(".") + fmt.Fprint(os.Stderr, ".") } if prevKLine != emptyKLine { @@ -200,7 +200,7 @@ var BacktestCmd = &cobra.Command{ } if verboseCnt > 1 { - fmt.Println() + fmt.Fprintln(os.Stderr) } if err := <-errC; err != nil {