question

Upvotes
Accepted
2 0 0 0

Dears, We are integrating the Retrieve_item_3 service to get the MSCI index. In this, we need to get the Total Stocks in the index. But in the response, we don't find any field which is matching the 'Total Stocks' in the index .

rkd-apirkd
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.

@a94efcb4-8cfc-4cc8-9c1d-226f64573c73

Hi

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

@a94efcb4-8cfc-4cc8-9c1d-226f64573c73, please be informed that a reply has been verified as correct in answering the question, and has been marked as such. Thanks, AHS

1 Answer

· Write an Answer
Upvotes
Accepted
381 1 3 3

getchaincomponents-request-1.txtgetchaincomponents-response.txt

Hello,

I suggest using 'Quote Chain' service instead of RetrieveItem_3 for getting constituents information for indices. You can just get the list of constituents with RIC codes as well as data for all the constituents. The GetChainComponents_1 service also contains a flag 'instrumentcount' indicating the total number of records in the response. The request also allows you to paginate the response. So for index chains like S&P 500 <0#.SPX> you can make multiple requests by changing page number and get the total no. of records that are part of the index. I have attached sample request and response.

thank you,
Waseem


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.

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.