add report header

This commit is contained in:
c9s 2022-05-10 01:10:36 +08:00
parent f4991dbbfa
commit 2ddff59de6
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -421,7 +421,9 @@ var BacktestCmd = &cobra.Command{
// put the logger back to print the pnl
log.SetLevel(log.InfoLevel)
log.Infof("BACK-TEST REPORT")
log.Infof("===============================================")
log.Infof("START TIME: %s", startTime.Format(time.RFC1123))
log.Infof("END TIME: %s", endTime.Format(time.RFC1123))
for _, session := range environ.Sessions() {