gs_quant.markets.indices_utils.get_constituents_dataset_coverage

get_constituents_dataset_coverage(basket_type=BasketType.CUSTOM_BASKET, asset_class=AssetClass.Equity, as_of=None)[source]

Retrieve a list of baskets covered by constituents datasets

Parameters:
  • basket_type (BasketType) – Basket type

  • asset_class (AssetClass) – Asset class (defaults to Equity)

  • as_of (Optional[datetime]) – Date for which to retrieve coverage

Return type:

DataFrame

Returns:

baskets covered by the constituents dataset

Usage

Retrieve a list of baskets covered by constituents datasets

Examples

Retrieve basket constituent dataset coverage

>>> from gs_quant.markets.indices_utils import *
>>>
>>> GSBASKETCONSTITUENTS_COVERAGE = get_constituents_dataset_coverage()
>>> GIRBASKETCONSTITUENTS_COVERAGE = get_constituents_dataset_coverage(basket_type=BasketType.RESEARCH_BASKET)
>>> GSCREDITBASKETCONSTITUENTS_COVERAGE = get_constituents_dataset_coverage(asset_class=AssetClass.Credit)

See also

get_flagships_constituents()