question

Upvotes
Accepted
1 0 0 2

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

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

#contentcodebook
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
18.9k 85 39 63

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


1720483512353.png (138.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 0 0 1

Thanks now I would like to display only the share price < $15 and market cap < $500M

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @Alphaspace

I would suggest you go through the Workspace Helpdesk - F1 (Get Help & Support). They will bring in a content specialist who should be able to help determine if the filtering within the backend is possible and how it is done.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.