name change for positions_value

This commit is contained in:
fawce
2012-06-21 22:08:25 -04:00
parent a82d3852bd
commit 2a8e19b22f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -553,7 +553,7 @@ class PerformancePeriod(object):
# cumulative_capital_used, max_leverage, max_capital_used
portfolio['cash'] = portfolio['ending_cash']
portfolio['start_date'] = portfolio['period_open']
portfolio['position_value'] = portfolio['ending_value']
portfolio['positions_value'] = portfolio['ending_value']
del(portfolio['ending_cash'])
del(portfolio['period_open'])
+1 -1
View File
@@ -327,7 +327,7 @@ class SimulatedTrading(object):
@property
def is_success(self):
return self.sim.read() and not self.sim.exception
return self.sim.ready() and not self.sim.exception
#--------------------------------
# Component property accessors