gs_quant.markets.indices_utils.get_flagships_constituents

get_flagships_constituents(fields=[], basket_type=['Custom Basket', 'Research Basket'], asset_class=[Equity], region=None, styles=None, start=None, end=None, **kwargs)[source]

Retrieve flagship baskets constituents

Parameters:
  • fields (List[str]) – Fields to retrieve in addition to mqid, name, ticker, region, basket type, styles, live date, and asset class

  • basket_type (List[BasketType]) – Basket type(s)

  • asset_class (List[AssetClass]) – Asset class (defaults to Equity)

  • region (Optional[List[Region]]) – Basket region(s)

  • styles (Optional[List[Union[CustomBasketStyles, ResearchBasketStyles]]]) – Basket style(s)

  • start (Optional[date]) – Start date for which to retrieve constituents (defaults to previous business day)

  • end (Optional[date]) – End date for which to retrieve constituents (defaults to previous business day)

Return type:

DataFrame

Returns:

flagship baskets constituents

Usage

Retrieve flagship baskets constituents

Examples

Retrieve a list of flagship baskets constituents

>>> from gs_quant.markets.indices_utils import *
>>>
>>> get_flagships_constituents()

See also

get_flagships_with_assets() get_flagships_performance() get_flagship_baskets()