修复加载历史数据的bug

This commit is contained in:
Jokers 2019-06-29 01:17:10 +08:00
parent fcaec7d838
commit 85c72c51bd

View File

@ -235,14 +235,14 @@ class BacktestingEngine:
self.exchange,
self.interval,
start,
end
min(end, self.end)
)
else:
data = load_tick_data(
self.symbol,
self.exchange,
start,
end
min(end, self.end)
)
self.history_data.extend(data)