Merge pull request #2177 from 1122455801/fix_bug_bybit20191104
[Fix] query_history
This commit is contained in:
commit
4e94e22625
@ -550,6 +550,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