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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
381 1 2 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea