Adjusts start date of test algo gen to account for market dates.

When date_gen changed to use market dates, the end of this env
was run over by the date_gen.
This commit is contained in:
Eddie Hebert
2013-01-31 13:20:11 -05:00
parent 69b87b859b
commit e43dfef65d
+1 -1
View File
@@ -86,7 +86,7 @@ class AlgorithmGeneratorTestCase(TestCase):
"""
algo = TestAlgo(self)
trading_environment = factory.create_trading_environment(
start=datetime(2012, 1, 3, tzinfo=pytz.utc),
start=datetime(2011, 7, 30, tzinfo=pytz.utc),
end=datetime(2012, 7, 30, tzinfo=pytz.utc)
)
trade_source = factory.create_daily_trade_source(