From 60331c1c67b3efd69be78561ecabb21757224a2f Mon Sep 17 00:00:00 2001 From: edwin Date: Sun, 29 Sep 2024 21:42:35 +0800 Subject: [PATCH] ss --- pkg/exchange/bybit/exchange.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/exchange/bybit/exchange.go b/pkg/exchange/bybit/exchange.go index 894f76611..a325e9d4d 100644 --- a/pkg/exchange/bybit/exchange.go +++ b/pkg/exchange/bybit/exchange.go @@ -465,6 +465,8 @@ func (e *Exchange) QueryTrades(ctx context.Context, symbol string, options *type req.EndTime(options.EndTime.UTC()) } + log.Infof("bbgo QueryTrades start time: %s, end time: %s, limit: %d, tradeid: %d", options.StartTime.String(), options.EndTime.String(), options.Limit, options.LastTradeID) + limit := uint64(options.Limit) if limit > defaultQueryLimit || limit <= 0 { log.Debugf("the parameter limit exceeds the server boundary or is set to zero. changed to %d, original value: %d", defaultQueryLimit, options.Limit)