mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
print start time and end time
This commit is contained in:
parent
5b443f0aeb
commit
f6d95a49be
|
@ -418,6 +418,9 @@ var BacktestCmd = &cobra.Command{
|
||||||
trader.Graceful.Shutdown(shutdownCtx)
|
trader.Graceful.Shutdown(shutdownCtx)
|
||||||
cancelShutdown()
|
cancelShutdown()
|
||||||
|
|
||||||
|
log.Infof("START TIME: %s", startTime.Format(time.RFC1123))
|
||||||
|
log.Infof("END TIME: %s", endTime.Format(time.RFC1123))
|
||||||
|
|
||||||
// put the logger back to print the pnl
|
// put the logger back to print the pnl
|
||||||
log.SetLevel(log.InfoLevel)
|
log.SetLevel(log.InfoLevel)
|
||||||
for _, session := range environ.Sessions() {
|
for _, session := range environ.Sessions() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user