From b6f1d939fae6be9105da7c145618349dc44ac84d Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Wed, 15 Sep 2021 12:25:50 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=20=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2K?= =?UTF-8?q?=E7=BA=BF=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy_ctabacktester/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy_ctabacktester/engine.py b/vnpy_ctabacktester/engine.py index 57acb2c..108e167 100644 --- a/vnpy_ctabacktester/engine.py +++ b/vnpy_ctabacktester/engine.py @@ -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)