mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
environment: avoid setting UTC on time object
This commit is contained in:
parent
cf5be950e1
commit
09912b3fc3
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue
Block a user