修复加载历史数据的bug
This commit is contained in:
parent
fcaec7d838
commit
85c72c51bd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user