Skip to content
vdntrthiPublic

About

PF Radar is a web-based portfolio analytics tool that uses real NSE/BSE data and financial models to evaluate returns, risk, and diversification, helping users optimize portfolios through an intuitive dashboard.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

PfRadar

Portfolio analytics and optimization project focused on Indian equities (NSE/BSE).

Tech stack

  • Python
  • pandas, numpy, scipy
  • yfinance
  • matplotlib
  • pydantic
  • pytest

Folder structure

PfRadar/
├─ README.md
├─ .gitignore
└─ engine/
   ├─ README.md
   ├─ requirements.txt
   ├─ main.py
   ├─ pytest.ini
   ├─ conftest.py
   ├─ data/
   │  └─ .gitkeep
   ├─ models/
   │  ├─ __init__.py
   │  ├─ constants.py
   │  ├─ exceptions.py
   │  └─ schemas.py
   ├─ services/
   │  ├─ __init__.py
   │  ├─ market_data.py
   │  ├─ optimizer.py
   │  ├─ frontier.py
   │  ├─ report.py
   │  └─ capm.py
   ├─ utils/
   │  ├─ __init__.py
   │  ├─ logging_config.py
   │  ├─ returns.py
   │  ├─ risk.py
   │  └─ visualization.py
   └─ tests/
      ├─ __init__.py
      ├─ test_returns.py
      ├─ test_risk.py
      ├─ test_optimizer.py
      └─ test_integration_nse.py

Quick start

cd engine
python -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt
python main.py demo RELIANCE.NS TCS.NS INFY.NS --plot frontier.png

Testing

cd engine
pytest -m "not integration"
pytest -m integration

For engine-specific details, see engine/README.md.

About

PF Radar is a web-based portfolio analytics tool that uses real NSE/BSE data and financial models to evaluate returns, risk, and diversification, helping users optimize portfolios through an intuitive dashboard.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages