From 09912b3fc356529236bc9a9510a23b5ccd2d4ec6 Mon Sep 17 00:00:00 2001 From: c9s Date: Wed, 8 Jun 2022 14:36:26 +0800 Subject: [PATCH] environment: avoid setting UTC on time object --- pkg/bbgo/environment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bbgo/environment.go b/pkg/bbgo/environment.go index cc9023c06..41effc0f5 100644 --- a/pkg/bbgo/environment.go +++ b/pkg/bbgo/environment.go @@ -106,7 +106,7 @@ func NewEnvironment() *Environment { // default trade scan time syncStartTime: time.Now().AddDate(-1, 0, 0), // defaults to sync from 1 year ago sessions: make(map[string]*ExchangeSession), - startTime: time.Now().UTC(), + startTime: time.Now(), syncStatus: SyncNotStarted, PersistenceServiceFacade: &service.PersistenceServiceFacade{