Skip to content

nirajdsouza/quantitative-stock-trader

Repository files navigation

🧠 Quantitative Stock Screener (S&P 500)

This Python script allows you to analyze and rank S&P 500 stocks based on four popular investing strategies:

  • 📉 Value Investing
  • 🚀 Growth Investing
  • 📈 Momentum Trading
  • 💸 Dividend Investing

Each strategy uses a unique scoring model that combines fundamental and technical indicators, including:

  • P/E and PEG Ratios
  • ROE, EPS, Free Cash Flow
  • RSI, Moving Averages, MACD
  • Dividend Yield and Payout Ratio

After choosing a strategy and number of top stocks to return, the script provides a ranked list of investment ideas.

🔧 How to Use

  1. Install required libraries:

    pip install yfinance pandas pandas_ta
  2. Run the script:

    quantitative-stock-tracker.py
  3. Input your desired strategy and number of top picks when prompted.

  4. Output:

    • all_stock_data.csv: Full stock dataset with metrics
    • top_investment_picks.csv: Ranked list of best stocks based on your chosen strategy

⚠️ Disclaimer

This tool is for educational and testing purposes only. It is not financial advice.

Always do your own research (DYOR) and consult a licensed financial advisor before making investment decisions.

📃 License

MIT License.

About

Stock analyser that helps you select the best stocks to buy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages