How to do it...

The steps that you are about to embark upon will allow you to screen stocks:

  1. First, choose some stock screening criteria, that is, a way to select the stocks within the finviz dataset that we feel have the potential to be good investments. Here is some sample criteria to start with:
    • Only US companies
    • Price per share between $20 and $100
    • Volume greater than 10,000
    • Positive earnings per share currently and projected for the future
    • Total debt to equity ratio less than 1
    • Beta less than 1.5
    • Institutional ownership less than 30 percent
    • Relative valuation index value greater than 8
  2. As mentioned, these are just examples. Feel free to remove criteria, add criteria, or make changes based on what you think will give you the best ...

Get Practical Data Science Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.