Skip to content

Commit

Permalink
[Fix] 修改查询K线函数
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Sep 15, 2021
1 parent adb4c6e commit b6f1d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vnpy_ctabacktester/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def run_downloading(
)
# Otherwise use RQData to query data
else:
data = self.datafeed.query_history(req)
data = self.datafeed.query_bar_history(req)

if data:
self.database.save_bar_data(data)
Expand Down

0 comments on commit b6f1d93

Please sign in to comment.