[Fix]Close #735
This commit is contained in:
parent
5ebe4a67c7
commit
002112c533
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -872,7 +872,8 @@ class BacktestingEngine(object):
|
||||
self.output('setting: %s' %str(setting))
|
||||
self.initStrategy(strategyClass, setting)
|
||||
self.runBacktesting()
|
||||
d = self.calculateBacktestingResult()
|
||||
df = self.calculateDailyResult()
|
||||
df, d = self.calculateDailyStatistics(df)
|
||||
try:
|
||||
targetValue = d[targetName]
|
||||
except KeyError:
|
||||
|
Loading…
Reference in New Issue
Block a user