Update bybit_gateway.py

This commit is contained in:
KeKe 2019-11-04 09:56:13 +08:00
parent 18a1c6e247
commit f76952f979

View File

@ -547,6 +547,9 @@ class BybitRestApi(RestClient):
) )
buf.append(bar) buf.append(bar)
if not buf:
continue
history.extend(buf) history.extend(buf)
begin = buf[0].datetime begin = buf[0].datetime