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 marek.r · Jun 04, 2019 at 09:09 AM · screenerequity screenerbond screener

Which screeners are available in Eikon Data API?

Hi,

I've been testing out to see which instruments from the screener tool can be accessed via the Eikon Data API and have found some that work, while others don't.

For example in R, the following download for public companies works:

get_data(instruments = 'SCREEN(U(IN(Equity(active,public,primary))/*UNV:Public*/), IN(TR.HQCountryCode,"JE"), TR.Revenue(Period=FY0)>=500000000, CURN=USD)',
         fields = list("TR.CommonName"), debug = TRUE)

But when I try the same filter but want to include private companies I receive a 400 Bad Request error:

get_data(instruments = 'SCREEN(U(IN(Equity(active,public,private,primary))/*UNV:PublicPrivate*/), IN(TR.HQCountryCode,"JE"), TR.Revenue(Period=FY0)>=500000000, CURN=USD)',
                        fields = list("TR.CommonName"), debug = TRUE)

Similarly, I can download M&A deals with the following command:

get_data(instruments = 'SCREEN(U(IN(DEALS)/*UNV:DEALSMNA*/), IN(TR.MnANationHQ,"JE"), NOT_IN(TR.MnATRBCEconomicSector,"55"), CURN=USD)',
                        fields = list("TR.MnASDCDealNumber", "TR.MnATarget"), debug = TRUE)

But when I try to download bond deals, the response from the server is that it is returns null fields for the instrument identifiers and says it is "Unable to collect data for the field 'TR.ISIN' and some specific identifier(s)." I assume this is due to the fact the instrument identifiers are null but interestingly, the response is able to pull out some bond deal identifier as well as the issuers' names.

get_data(instruments = 'SCREEN(U(IN(DEALS)/*UNV:DEALSBOND*/), IN(TR.NINationHQ,"JE"), NOT_IN(TR.NITRBCEconomicSector,"55"), CURN=USD)',
                        fields = list("TR.ISIN", "TR.NIIssuer"), debug = TRUE)

Could you please let me know if there are any issues in my searches and if not, which screeners are actually available in the Data API?

Many thanks,

Marek

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.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Alex Putkov. · Jun 04, 2019 at 04:31 PM

@marek.r
All universes listed in the Screener wizard can be used in Screener expressions with Eikon Data APIs.
The best way to construct a Screener expression is by following the Screener wizard in Eikon Excel, which I assume you must have done. But then you must have manually added TR.ISIN field to your screen for bond deals. This field is not available for bond deals, hence the error message you saw. Only the fields that you can find in the Screener wizard when setting up columns for a screen template are valid for use in a screen.
To resolve the "400 Bad Request" error, please upgrade your Eikon Data APIs Python library to v1.0.1 as suggested by @Gurpreet.

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.

avatar image
REFINITIV
Answer by Gurpreet · Jun 04, 2019 at 09:58 AM

Hi @marek.r I would recommend to check your Eikon SDK version and upgrade if needed, before you try.

I was able to post the first query and not get a bad request:

>>> df, err = ek.get_data(instruments = 'SCREEN(U(IN(Equity(active,public,private,primary))), IN(TR.HQCountryCode,"JE"), TR.Revenue(Period=FY0)>=500000000, CURN=USD)', fields = list("TR.CommonName"))
>>>
>>> print(df)
Instrument T R C O M M O N N A M E
0 CEY.L NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
1 PFC.L NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
2 BREE.L NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
3 ENPLq.L NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
4 5052157694 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
>>>
>>> ek.__version__
'1.0.1'
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 >
9 People are following this question.

Related Questions

Missing RICs in screener result for Taiwan exchange

Screener APP and Primariness.

Screener sort and top results

Where to find documentation on Equity Screener API in python for Eikon?

Equity Screener Python

  • 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