Merge pull request #2177 from 1122455801/fix_bug_bybit20191104

[Fix] query_history
This commit is contained in:
vn.py 2019-11-12 15:17:44 +09:00 committed by GitHub
commit 4e94e22625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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