Pull weight of Stock?

Hi,

I need to Pull of weight of stock in an ETF given RIC of stock, RIC of ETF and time period.For this i am using 'TR.ETPConstituentRIC','TR.ETPConstituentWeightPercent' fields.Below is the code:

image

'TR.ETPConstituentRIC' field values alone display. Did i do anything wrong?. How can i get stock weight? Am i referring correct fields?

Thank You,

Priya

Best Answer

  • chavalit-jintamalit
    Answer ✓

    Hi @priyanka

    You should use "Data Item Browser" to check the fields you are requesting as the same suggestion in your previous question.

    Here is the tutorial on how to use "Data Item Browser".

    'TR.ETPConstituentRIC','TR.ETPConstituentWeightPercent' fields do not support timeseries as in a series however it supports "As of"

    image


    From the field formula from "Data Item Browser"

    You can use it on Eikon Data API as this:

    Note that this is a demo for only 1 day, you can loop your code to request the data from different dates.

    image

Answers