mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
add marketData label
This commit is contained in:
parent
68e9da15da
commit
57435419b4
|
@ -244,7 +244,7 @@ func (session *ExchangeSession) Init(ctx context.Context, environ *Environment)
|
|||
}
|
||||
|
||||
session.Stream.OnKLineClosed(func(kline types.KLine) {
|
||||
log.Infof("kline closed: %+v", kline)
|
||||
log.WithField("marketData", "kline").Infof("kline closed: %+v", kline)
|
||||
})
|
||||
|
||||
// update last prices
|
||||
|
|
Loading…
Reference in New Issue
Block a user