GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - RHarmit/Portfolio-Optimization

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
Portfolio Optimization.PY
Portfolio Optimization.PY
 
 
README.md
README.md
 
 

Repository files navigation

Portfolio-Optimization

Overview This Python project optimizes stock portfolio allocations by maximizing the Sharpe Ratio to achieve the best risk-adjusted returns. It uses real historical data from Yahoo Finance and showcases the efficient frontier for various portfolio combinations.

Features Fetches historical stock price data for user-selected or predefined stocks (e.g., TSLA, META, SPY, MSFT). Calculates key portfolio metrics: expected returns, volatility, and Sharpe Ratio. Identifies the optimal portfolio using scipy.optimize. Visualizes the efficient frontier, highlighting the portfolio with the highest Sharpe Ratio. Technologies Used Python Libraries: pandas: For data manipulation and analysis. numpy: For numerical operations. matplotlib: For data visualization. yfinance: For fetching real-time stock data. scipy: For portfolio optimization.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.