fix kline log space

This commit is contained in:
c9s 2021-12-27 00:54:10 +08:00
parent f7c39290a0
commit a31e2743ee

View File

@ -338,7 +338,7 @@ func (session *ExchangeSession) Init(ctx context.Context, environ *Environment)
} }
session.MarketDataStream.OnKLine(func(kline types.KLine) { session.MarketDataStream.OnKLine(func(kline types.KLine) {
log.WithField("marketData", "kline").Infof("kline : %+v", kline) log.WithField("marketData", "kline").Infof("kline: %+v", kline)
}) })
session.MarketDataStream.OnKLineClosed(func(kline types.KLine) { session.MarketDataStream.OnKLineClosed(func(kline types.KLine) {