MAINT: Reverses polarity on keep transactions default.

So that transactions are kept by default.

This prepares for the addition of the serialize flag added by
@fawce.

Setting the default to True, so that the flags will be aligned.
This commit is contained in:
Eddie Hebert
2013-03-08 15:00:12 -05:00
parent 0113765f70
commit a4e6520137
+3 -2
View File
@@ -187,7 +187,8 @@ class PerformanceTracker(object):
self.capital_base,
# the cumulative period will be calculated over the entire test.
self.period_start,
self.period_end
self.period_end,
keep_transactions=False,
)
# this performance period will span just the current market day
@@ -445,7 +446,7 @@ class PerformancePeriod(object):
starting_cash,
period_open=None,
period_close=None,
keep_transactions=False):
keep_transactions=True):
self.period_open = period_open
self.period_close = period_close