batch: show trade sync time range in the message

This commit is contained in:
c9s 2021-12-31 13:56:53 +08:00
parent 20c6c7eb9a
commit 2a8caa3780

View File

@ -45,7 +45,7 @@ func (e TradeBatchQuery) Query(ctx context.Context, symbol string, options *type
logrus.WithError(err).Error("rate limit error")
}
logrus.Infof("querying %s trades from id=%d limit=%d", symbol, lastTradeID, options.Limit)
logrus.Infof("querying %s trades from id=%d limit=%d between %s <=> %s", symbol, lastTradeID, options.Limit, startTime, endTime)
var err error
var trades []types.Trade