Files
catalyst/tests
Andrew Daniels 52667b4a90 MAINT: Handle gaps in input to daily bars writer (#1778)
Previously, a dataframe passed into BcolzDailyBarWriter.write that was
missing an expected session between its first and last sessions would be
written incorrectly. Upon converting the dataframe to a ctable, the
values for all days following the gap would be shifted backwards, and
nans would be shifted in at the end.

This commit handles the issue by asserting that the number of rows in
the input table matches the number of sessions in the calendar between
the table's first and last sessions.

Also fixes a test that was mistakenly using minutes_in_range where it
should have been using sessions_in_range (uncovered by this change).
2017-05-03 20:49:22 -04:00
..
2017-03-26 15:54:14 -07:00
2012-05-09 13:34:13 -04:00
2017-04-26 10:47:27 -04:00
2016-08-02 23:12:07 -04:00
2017-04-24 15:41:23 -04:00