From 90fa2a8a4e0678c241d66af73e4436a576908a07 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Tue, 9 Apr 2013 10:58:36 -0400 Subject: [PATCH] MAINT: Stop including progess field with minute performance result. As currently implemented, progress doesn't currently make sense with minutely results. Dropping the field from the results so should help reduce some noise. --- zipline/finance/performance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zipline/finance/performance.py b/zipline/finance/performance.py index 5d5ad5c4..6c09cbcf 100644 --- a/zipline/finance/performance.py +++ b/zipline/finance/performance.py @@ -230,7 +230,6 @@ class PerformanceTracker(object): _dict = { 'period_start': self.period_start, 'period_end': self.period_end, - 'progress': self.progress, 'capital_base': self.capital_base, 'cumulative_perf': self.cumulative_performance.to_dict(), } @@ -238,7 +237,8 @@ class PerformanceTracker(object): _dict.update({'cumulative_risk_metrics': self.cumulative_risk_metrics.to_dict(), 'daily_perf': - self.todays_performance.to_dict()}) + self.todays_performance.to_dict(), + 'progress': self.progress}) if self.emission_rate == 'minute': # Currently reusing 'todays_performance' for intraday trading # result, should be analogous, but has the potential for needing