Code to print the list of tickers from an ETF called XBI

Options

can you give me the code to print the list of tickers from an ETF called XBI

Tagged:

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    Hi Joseph,

    Try this:

    rd.get_data('XBI', 
    ["TR.FundHoldingRIC", "TR.FundHoldingName", "TR.FundCountryOfDomicile",
    "TR.FundLatestFilingDate", "TR.FundNumberOfShares", "TR.FundNumberOfSharesChanged",
    "TR.FundPercentageOfFundAssets"],
    parameters={"EndNum": 100000, "StartNum": 1})

    1720483512353.png

Answers