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 /

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by shuang · Sep 27, 2018 at 03:14 PM · eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonr

How can I get all stocks satisfying some conditions and listed in NYSE on a certain date?

I tried to use R package ‘eikonapir’ to get all stocks listed in NYSE with a market cap bigger than 500 million. The code is as follows:

get_data('SCREEN(U(IN(Equity(active,public,primary))/*UNV:Public*/), IN(TR.ExchangeMarketIdCode,"XNYS"),TR.CompanyMarketCap>=500000000)','TR.TURNOVER,TR.CompanyMarketCap',list('Scale'=0,'SDate'='2010-01-04','FRQ'='D','Curn'='USD'))

It seems that the conditions in SCREEN are not based on the information on '2010-01-04'. The result has many stocks that was not listed in NYSE on '2010-01-04'. All I want is that the conditions in SCREEN are based on the information up to '2010-01-04'.

Thank you so much!

dayquant

People who like this

1 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.1 · Sep 28, 2018 at 01:45 PM

It's not possible exactly. The closest you can do is include inactive and non primary issues in the screener, and then filter out issues that have historical market cap below the threshold or null. E.g.

ek.get_data('SCREEN(U(IN(Equity(active or inactive,public))/*UNV:Public*/),IN(TR.ExchangeMarketIdCode,"XNYS"))',['TR.CommonName','TR.CompanyMarketCap(SDate=20100104)']) 

This is not fool proof, but it's the closest I can think of to get you to an exchange listing as of a given day. You'll have to play around with it to see if you can get satisfactory result this way. You may want to employ additional criteria in the screener such as TR.InstrumentTypeCode to filter out unwanted asset types. And you may want to use TR.IssueMarketCap instead of TR.CompanyMarketCap.

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 Alex Putkov.1 · Sep 27, 2018 at 05:37 PM

Equity Screener used in your expression only screens against the most recent value of any field used in criteria. I don't believe there's any way at all in Eikon to search for stocks with a market cap above a given threshold as of a given date. But you may want to verify this by reaching out to Thomson Reuters Helpdesk. The Helpdesk can be reached by either calling the Helpdesk number in your country or by using Contact Us capability in your Eikon application.

Comment

People who like this

0 Show 3 · 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
shuang · Sep 27, 2018 at 10:32 PM 0
Share

how can I get all the stocks on a given date?

avatar image
REFINITIV
Alex Putkov.1 ♦♦ shuang · Sep 28, 2018 at 09:58 AM 0
Share

I'm not sure I understand the question. Assuming you're asking how you can get all the stocks satisfying a criteria as of a given date, then as I said I believe it is not possible in Eikon.

avatar image
shuang Alex Putkov.1 ♦♦ · Sep 28, 2018 at 10:04 AM 0
Share

Hi Alex,

Since Equity Screener can only screens against the most recent value, is that possible that I first get all the stocks listed in NYSE on a given date and retrieve the market cap of them, then I filter them myself

Thank you so much!

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

How to get all investors for a list of stocks, historically with the python API

Eikon R API install error

How to fetch historical "Market Open Interest" using eikon R API?

eikonapir: how to get timeseries data for dividends field?

Trying to get forex forward curve historic, problems with NDA_RAW fields and Spot Date

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges