This repository contains three Jupyter notebooks designed to analyze and rank Indian stocks using fundamental indicators such as market capitalization, valuation ratios, and dividend performance β all powered by Python and yfinance.
| Notebook | Focus | Description |
|---|---|---|
| fin1.ipynb | Market Cap & Allocation | Fetches top 50 Indian stocks, retrieves market capitalization and prices, and calculates how many shares to buy for a given investment. |
| fin2.ipynb | Value Investing | Screens undervalued stocks using valuation ratios like P/E, P/B, P/S, EV/EBITDA, and EV/GP. |
| fin3.ipynb | Dividend Analysis | Ranks top dividend-paying stocks using yield, payout ratio, and earnings growth metrics. |
- Python 3
- pandas, numpy, scipy
- yfinance
- math
- Fetches real-time stock data from Yahoo Finance
- Cleans and normalizes missing data
- Ranks companies by valuation and dividend metrics
- Generates equal-weighted investment allocation
- Ready-to-use for retail investors or finance students