Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
63 10 17 19

Derived Asset Type Allocation For Funds/ETF

I was looking to get the attached info using Eikon API

I tried the get_data(TICKER', ['TR.FundAssetAllocation','TR.FundAllocationName']) for 2 ETFs in HK and one in India.


The HK ETFs don't seem to hv any data, but the Indian ETF shows the accurate breakdown by asset class. Is there a way to get the derived Asset Type allocation for 9010.HK? Is there a python desktop RDP api function that would make this process easier. I understand RDP has an endpoint url

'https://api.refinitiv.com/data/funds/v1/assets/9010.HK?properties=DerivedAllocations'

for derived allocations.

eikoneikon-data-apirefinitiv-dataplatform-eikonworkspaceworkspace-data-api
1620879963938.png (292.1 KiB)
1620880273387.png (399.2 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
Accepted
1.6k 3 2 3

Hi again @rajanraju, I noticed you mentioned "RDP". There is a newer Funds API: "RDP Funds API", but it is a separate product, not the ADC based API you are using. The RDP Funds API do have the data you are asking for, and it is updated much more frequently than the ADC based API. Please check the result below I got from the API Playground using Lipper's RDP Funds API.

{
  "assets": [
    {
      "id": "9010.HK",
      "derivedAllocations": [
        {
          "type": {
            "id": "368",
            "code": "ASSTALL",
            "name": "Asset Allocation"
          },
          "values": [
            {
              "date": "2021-04-30",
              "values": [
                {
                  "name": "Equity",
                  "rank": 1,
                  "value": 97.5698,
                  "values": [
                    {
                      "name": "Equities",
                      "rank": 1,
                      "value": 97.5698,
                      "values": [
                        {
                          "name": "Equity",
                          "rank": 1,
                          "value": 82.2558,
                          "values": [
                            {
                              "name": "Common Shares",
                              "rank": 1,
                              "value": 82.2558,
                              "id": 3617
                            }
                          ],
                          "id": 29863
                        },
                        {
                          "name": "Depository Receipts",
                          "rank": 2,
                          "value": 14.4474,
                          "values": [
                            {
                              "name": "Depository Receipts",
                              "rank": 1,
                              "value": 14.4474,
                              "id": 3625
                            }
                          ],
                          "id": 31842
                        },
                        {
                          "name": "Preferreds",
                          "rank": 3,
                          "value": 0.8666,
                          "values": [
                            {
                              "name": "Preferred Stock",
                              "rank": 1,
                              "value": 0.8666,
                              "id": 3627
                            }
                          ],
                          "id": 32441
                        }
                      ],
                      "id": 32450
                    }
                  ],
                  "id": 370
                },
                {
                  "name": "Cash",
                  "rank": 2,
                  "value": 1.7291,
                  "values": [
                    {
                      "name": "Cash/Cash Equivalents",
                      "rank": 1,
                      "value": 1.7291,
                      "values": [
                        {
                          "name": "Cash",
                          "rank": 1,
                          "value": 1.7291,
                          "values": [
                            {
                              "name": "Cash",
                              "rank": 1,
                              "value": 1.7291,
                              "id": 29721
                            }
                          ],
                          "id": 29861
                        }
                      ],
                      "id": 14572
                    }
                  ],
                  "id": 369
                },
                {
                  "name": "Other",
                  "rank": 3,
                  "value": 0.7012,
                  "values": [
                    {
                      "name": "Other Assets",
                      "rank": 1,
                      "value": 0.5807,
                      "values": [
                        {
                          "name": "Other",
                          "rank": 1,
                          "value": 0.5807,
                          "values": [
                            {
                              "rank": 1,
                              "value": 0.5807,
                              "id": 5750
                            }
                          ],
                          "id": 29864
                        }
                      ],
                      "id": 32454
                    },
                    {
                      "name": "Derivative",
                      "rank": 2,
                      "value": 0.1205,
                      "values": [
                        {
                          "name": "Structured Financials",
                          "rank": 1,
                          "value": 0.1205,
                          "values": [
                            {
                              "name": "Linked Notes and Deposits",
                              "rank": 1,
                              "value": 0.1205,
                              "id": 32383
                            }
                          ],
                          "id": 32449
                        }
                      ],
                      "id": 31841
                    }
                  ],
                  "id": 372
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "totalRecords": 1,
  "fromIndex": 0,
  "toIndex": 0,
  "pageNumber": 0
}
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.

@rajanraju, Firstly, focusing on the issue you are having now: if it is not that urgent, I believe you should raise that to support to get it resolved within the Eikon API platform you are using. This should be the easiest and no extra cost to you.

The Eikon API (part of the Eikon platform) is an older service and have less data and less frequent updates. The new RDP Funds API is a separate product/service requires separate fee and license. Talk to your a/c manager for details.

For using RDP Funds API, you need to subscribe a separate license for that first. You need to talk to the account manager serving you, or sales if you are talking to one of them. RDP Funds API is a REST API, once you subscribed the service, you do not need Eikon/Workspace platform to use it. You can use it as long as you have the Internet access. The RDP Funds API is part of the RDP REST API service that I am aware there is Python library to help you to login. But actually you do not really need it as all you need is HTTPS connection to the services. I got it working using Python and also Node.js.

@b.lee thank you. I seem to be having issues logging into the API Playground - so will get that addressed. As the RDP API has this functionality, do I need to subscribe separately for the RDP product (as you have flagged this), or as an Eikon API user, I can access this API as well. If the RDP API is able to access the data, any reason why the Eikon API is not able to access the same dataset?

Upvotes
1.6k 3 2 3

@rajanraju, It is likely an service issue at the backend database that some of the funds (e.g. ETF domiciled in Hong Kong) didn't got updated with the asset type allocations. The Industry sector allocation of these sample Hong Kong ETF are there, but yes, they missed the asset type allocations. You can raise this via client support for them to escalate that to technical team. Or you may wait to coming Monday to see if these are loaded as I believe this kind of data are loaded weekly on Eikon platform.

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.

Many thanks. However, on Eikon the asset type allocations are being shown (my first image). So would this mean that there is another data source used by Eikon in the display? When I raised this, the Helpdesk first advised there was no excel addin to retrieve the derived data, and on my request gave the RDP endpoint.

As a separate point, the Eikon API query should have picked up the last available date ie last month. But as the result was a nan, would there be any way to find the last available asset type allocation?

@rajanraju, I guess I missed your comment earlier. But you can see my 2nd message to you showing that, yes, The newer RDP Funds API is able to provide you the asset allocations of the ETF you asked for.

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.