How do I get index constituents in DSWS via Python?

I need to pull the index holdings (constituents) for a set of indices, how do I do this in Python/DSWS? The documentation lists ds.get_data(tickers="MSEAFE$",fields =["MNEM", "NAME"], kind=0), but this only returns the name of the index, not the names of the underlying holdings. Thanks

Best Answer

  • James.Bright1
    Answer ✓

    Hi,

    You need to use the constituent code LMSEAFED. This is in fact a content question and I would advise you to speak with the Refinitiv helpdesk to ensure a faster resolution for similar queries.

    Best regards

    James