Update bybit_gateway.py
This commit is contained in:
parent
18a1c6e247
commit
f76952f979
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user