mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-28 11:18:19 +08:00
BUG: Fix environment minute date range start and volume.
The bar timestamps for day start and finish, for NYSE traded stocks, should be 9:31 AM EST to 4:00 PM EST, for a total of 390 minutes. Fix starting at 9:30 AM and the creation of 391 bars.
This commit is contained in:
@@ -108,7 +108,7 @@ class AlgorithmGeneratorTestCase(TestCase):
|
||||
# May 7, 2012 was an LSE holiday, confirm the 4th trading
|
||||
# day was May 8.
|
||||
self.assertEqual(results[4]['daily_perf']['period_open'],
|
||||
datetime(2012, 5, 8, 8, 30, tzinfo=pytz.utc))
|
||||
datetime(2012, 5, 8, 8, 31, tzinfo=pytz.utc))
|
||||
|
||||
@timed(DEFAULT_TIMEOUT)
|
||||
def test_generator_dates(self):
|
||||
|
||||
Reference in New Issue
Block a user