quantlab.dataset.sharadar.permatickers.HolderSpan#
- class quantlab.dataset.sharadar.permatickers.HolderSpan(permaticker, start, end)[source]#
Bases:
objectOne security’s use of one ticker: from
start(None: always) toend(None: still).- held_at_pull(day)[source]#
Return whether a file pulled on
daynames the security by the ticker.A change dated
dayshows only in the vendor’s update that evening, so a file pulled that day still has the ticker’s earlier holder: the span starts the day after its start and ends the day after its end.