DEP: Removes use of 'count'-defined test sources

Test sources are now defined by the sim_params period_start and period_end, rather than by the period_start and a defined 'count' of bars. This allows us to consider the sim_params.period_end as the canonical definition of the end of a simulation.
This commit is contained in:
jfkirk
2015-05-28 12:29:33 -04:00
parent b24bd561e7
commit 9996502573
7 changed files with 41 additions and 73 deletions
-2
View File
@@ -134,7 +134,6 @@ class AlgorithmGeneratorTestCase(TestCase):
algo = TestAlgo(self, sim_params=sim_params)
trade_source = factory.create_daily_trade_source(
[8229],
200,
sim_params
)
algo.set_sources([trade_source])
@@ -205,7 +204,6 @@ class AlgorithmGeneratorTestCase(TestCase):
algo = TestAlgo(self, sim_params=sim_params)
trade_source = factory.create_daily_trade_source(
[8229],
3,
sim_params
)
algo.set_sources([trade_source])