quantdata.massive.tickers.basics#

quantdata.massive.tickers.basics#

Listing date and basic reference data for tickers via MassiveClient.

quantdata.massive.tickers.basics.MANUAL_LISTING_DATES: dict[str, date] = {'VXX': datetime.date(2019, 5, 1)}#

Overrides for tickers whose Massive-reported list_date is too late to be used as the data start date (e.g. a re-listed product).

quantdata.massive.tickers.basics.get_listing_date(ticker, client=None)[source]#

Return the listing date for ticker.

Applies MANUAL_LISTING_DATES overrides and raises if the ticker is not active.

Parameters:
  • ticker (str) – Ticker symbol, e.g. “AAPL”.

  • client (MassiveClient | None) – Optional pre-constructed client; a new one is created if None.

Returns:

The later of the Massive-reported list_date and any manual override.

Return type:

date