Connect with users of Wolfram technologies to learn, solve problems and share ideas
Mark as an Answer
1 Total Likes
Follow this post
Share this post:
Getting a list of stocks that match certain criteria?
10 years ago
If I wanted to get a list of stocks that matched a certain criteria (timeframe: now), how could I best do that?
For instance, if I wanted to see all the stocks (in the world) with a PE greater than 50 but less than 100, with a positive income growth, positive sales growth, and a market capitalision of greater than 2 billion, is that possible? What would such a thing look like? I know I can use the FinancialData construct to get individual stock data but have no idea how to 'go the other direction' as it were.
I'm new to Mathematica but absolutely capitvated by the possibilities!
10 years ago
Thomas, please check the help for FinancialData.
As part of the examples under Examples > Scope > Stock Screens we can adapt it to your needs. (I left out certain conditions out for you to explore by looking at the available indicators under FinancialData["Properties"]
FinancialData[#, "PERatio"] >50 &&
FinancialData[#, "PERatio"] < 100 && FinancialData[#, "MarketCap"] > 2 10^9&]
Reply to this discussion
in reply to
Community posts can be styled and formatted using the
Tag limit exceeded
Note: Only the first five people you tag will receive an email notification; the other tagged names will appear as links to their profiles.
Add a file to this post
Follow this discussion
Be respectful. Review our
to understand your role and responsibilities.
Wolfram|Alpha Notebook Edition
Volume & Site Licensing
Enterprise Private Cloud
Service Plans Benefits
Wolfram Language Documentation
Wolfram Language Introductory Book
Get Started with Wolfram
Fast Introduction for Programmers
Fast Introduction for Math Students
Webinars & Training
Connected Devices Project
Wolfram Data Drop
Wolfram + Raspberry Pi
. All rights reserved.
Learn how »