mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-01 18:01:47 +08:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user