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