add marketData label

This commit is contained in:
c9s 2021-02-10 22:40:36 +08:00
parent 68e9da15da
commit 57435419b4

View File

@ -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