Files
catalyst/zipline/utils
Scott Sanderson 4832004c33 TEST: Test fallback to start_date/end_date sorting.
Adds tests asserting that we resolve conflicts in accordance with the
following rules when we have multiple assets holding the same symbol at
the same time:

If multiple SIDs exist for symbol S at time T, return the candidate
SID whose start_date is highest. (200 cases)

If multiple SIDs exist for symbol S at time T, the best candidate
SIDs share the highest start_date, return the SID with the highest
end_date. (34 cases)

It is the opinion of the author (ssanderson) that we should consider
this malformed input and fail here.  But this is the current indended
behavior of the code, and I accidentally broke it while refactoring.
These will serve as regression tests until the time comes that we
decide to enforce this as an error.

See https://github.com/quantopian/zipline/issues/837 for more
details.
2015-11-13 18:26:54 -05:00
..
2015-10-01 18:03:53 -04:00
2015-03-19 17:21:25 -04:00
2015-10-01 18:03:53 -04:00
2015-11-11 14:19:13 -05:00
2014-03-26 20:46:20 +09:00
2015-02-11 06:25:53 -05:00
2015-11-11 14:19:13 -05:00
2015-10-19 16:35:03 -04:00
2015-02-11 06:25:53 -05:00
2015-03-19 17:21:25 -04:00