gs_quant.markets.index.Index.get_latest_constituent_instruments

Index.get_latest_constituent_instruments()[source]

Fetch the latest constituents of the index as instrument objects.

Return type:

Tuple[Instrument]

Returns:

A Tuple of instrument objects

Usage

Get the latest constituents of the index

Examples

Get latest index constituent instruments:

>>> from gs_quant.markets.index import Index
>>>
>>> index = Index.get("GSMBXXXX")
>>> index.get_latest_constituent_instruments()