Skip to content

Shaishavi545/Portfolio-Optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio Optimizer

A Python-based financial portfolio optimization tool leveraging Markowitz Mean-Variance Analysis and live AI news sentiment scoring.

Live Demo

(https://portfolio-optimizer-m29d.onrender.com/)

Project Structure

Portfolio-Optimizer/
│
├── app.py                  # Main Streamlit application
├── requirements.txt        # Pinned Python dependencies
├── .gitignore              # Git ignore file
├── .streamlit/
│   └── config.toml         # Custom Streamlit theme configuration
│
├── data/
│   ├── __init__.py
│   └── nifty50.py          # Nifty 50 constituents and sector mappings
│
└── news/
    ├── __init__.py
    ├── fetcher.py          # RSS feed aggregator
    ├── macro.py            # Macroeconomic event detection
    └── sentiment.py        # FinBERT sentiment analysis engine

How to Run Locally

  1. Create and activate a virtual environment:
python -m venv venv
venv\Scripts\activate
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run the Streamlit application:
streamlit run app.py
  1. Open your browser and navigate to the local server address provided in the terminal (usually http://localhost:8501).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages