mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 01:01:56 +00:00
MINOR: [session] remove environment nil validation log
This commit is contained in:
parent
a2eca66af5
commit
f44486447e
|
@ -405,11 +405,7 @@ func (session *ExchangeSession) initSymbol(ctx context.Context, environ *Environ
|
||||||
return fmt.Errorf("market %s is not defined", symbol)
|
return fmt.Errorf("market %s is not defined", symbol)
|
||||||
}
|
}
|
||||||
|
|
||||||
if environ == nil {
|
session.logger.Infof("environment config: %+v", environ.environmentConfig)
|
||||||
session.logger.Info("environment is nil")
|
|
||||||
} else {
|
|
||||||
session.logger.Infof("environment config: %+v", environ.environmentConfig)
|
|
||||||
}
|
|
||||||
|
|
||||||
disableMarketDataStore := environ.environmentConfig != nil && environ.environmentConfig.DisableMarketDataStore
|
disableMarketDataStore := environ.environmentConfig != nil && environ.environmentConfig.DisableMarketDataStore
|
||||||
disableSessionTradeBuffer := environ.environmentConfig != nil && environ.environmentConfig.DisableSessionTradeBuffer
|
disableSessionTradeBuffer := environ.environmentConfig != nil && environ.environmentConfig.DisableSessionTradeBuffer
|
||||||
|
|
Loading…
Reference in New Issue
Block a user