added cumulative risk measures to the

datapanel produced from perf frames.
This commit is contained in:
fawce
2015-01-22 22:31:40 -05:00
parent ec055b62bc
commit 9ccb2c571f
+1
View File
@@ -499,6 +499,7 @@ class TradingAlgorithm(object):
perf['daily_perf'].update(
perf['daily_perf'].pop('recorded_vars')
)
perf['daily_perf'].update(perf['cumulative_risk_metrics'])
daily_perfs.append(perf['daily_perf'])
else:
self.risk_report = perf