Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by akshay.kaushal · Sep 28, 2020 at 04:06 AM · eikon data api

Access denied when accessing TR field data from Eikon Data API, Excel Add-in working fine

Hi Team,

I am receiving the following error when trying to access DPS value from Eikon Data API for my company say 'Metlife':

(  Instrument  Dividend Per Share  Company Market Cap  Price Close 0        MET                <NA>        3.291184e+10        36.26, [{'code': 221,   'col': 1,   'message': 'The access to field(s) denied.',   'row': 0}])

It's able to retrieve Market Cap and Close price but not the DPS. However, I am able to pull the DPS value easily when using Excel Add-in. My code is as given below:

data = ek.get_data('MET', ['TR.DPS','TR.CompanyMarketCap','TR.PriceClose'])

data


I need to retrieve this data in order to update some files regularly. Could you please help me out with it? Thank you

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jirapongse.phuriphanvichai · Sep 29, 2020 at 03:12 AM

@akshay.kaushal

I got the same error when requesting TR.DPS on both Eikon Excel and Eikon Data API.


(  Instrument  Dividend Per Share  Company Market Cap  Price Close  0        MET                <NA>        3.381043e+10        37.25,  [{'code': 221,    'col': 1,    'message': 'The access to field(s) denied.',    'row': 0}])

Can you try the below formula in Eikon Excel?

=@TR("MET","TR.DPSActValue;TR.DPS","CH=Fd RH=IN",B3)

Moreover, I am unable to find TR.DPS when using the Data Item Browser and Excel Formula Builder tools.



1601349002506.png (17.6 KiB)
1601349357942.png (75.3 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

Hi is there anyway to pull asset swap spread in Eikon API? I am using R History and AST_SWPSPD.Value in Eikon for excel but using this is not does work in the API.

How can i make a distinction between remind news and others when i using EIKON DATA API(get_news_headlines)?

Data point limit for get_data and get_timeseries?

Is there a possibility to retrieve the company lists from Value Chains or Equity Holdings via Eikon Data API?

[Python API] How to fuzzy search for companies by name ?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges