How do i retrieve the current index constituents using Eikon API ?

How do i retrieve the current index constituents using Eikon API ?

Best Answer

  • Yes, you can also use AdxRtChain object to retrieve the constituents of an index chain.
    I'm not sure which example you refer to, but I would expect you to receive an out of range exception if you try to access AdxRtChain.Data[0] because the enumeration returned by the Data property has a base of 1, not zero. In any case, if you're using Visual Studio you can easily examine the content within AdxRtChain.Data, and this should hopefully help you figure out how to extract the data from it.

Answers