diff --git a/vnpy/gateway/bybit/bybit_gateway.py b/vnpy/gateway/bybit/bybit_gateway.py index a0d096fc..78461aee 100644 --- a/vnpy/gateway/bybit/bybit_gateway.py +++ b/vnpy/gateway/bybit/bybit_gateway.py @@ -550,9 +550,6 @@ class BybitRestApi(RestClient): ) buf.append(bar) - if not buf: - continue - history.extend(buf) begin = buf[0].datetime