Hello , How to get S&P500 all stock by eikon python API ? thank you.

Hello , How to get S&P500 all stock by phthon API ? thank you.

Best Answer

  • m.bunkowski
    Answer ✓

    Hi @ethan.hayashi

    You can retrieve index RIC constituents along with their names using the syntax

    ek.get_data("0#.SPX","TR.COMMONNAME")

Answers