Skip to content

Portfolio Pulse is a powerful tool for investors to analyze and optimize their stock portfolios. It offers comprehensive insights into historical performance, risk metrics, and correlations, and provides optimized asset allocation recommendations using modern portfolio theory.

Notifications You must be signed in to change notification settings

iamknownstranger/portfolio-pulse

Repository files navigation

Portfolio Pulse

Portfolio Pulse is an intuitive and comprehensive portfolio analysis tool designed for investors to analyze and optimize their stock portfolios. Leveraging modern portfolio theory, it provides insights into historical performance, risk metrics, correlations, and optimized asset allocation to help you make informed investment decisions.

Features

  • Stock Selection: Easily add stocks from the S&P 500 to your portfolio for analysis.
  • Historical Data Analysis: Visualize historical closing prices, daily returns, and cumulative returns.
  • Correlation Matrix: Examine the correlation between the stocks in your portfolio for effective diversification.
  • Risk and Return Metrics: Analyze daily returns, annualized volatility, and return per unit of risk.
  • Portfolio Optimization: Use the efficient frontier to optimize your portfolio for the maximum Sharpe ratio.
  • Visualizations: Generate interactive charts and plots for better understanding and presentation of data.
  • Performance Metrics: Get key performance indicators like expected annual return, annual volatility, and Sharpe ratio.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/portfolio-pulse.git
    cd portfolio-pulse
  2. Install the required packages:

    pip install -r requirements.txt
  3. Run the Streamlit app:

    streamlit run app.py

Usage

  1. Open the app in your web browser.
  2. Enter the stock symbols in your portfolio from the S&P 500.
  3. Select the desired date range for analysis.
  4. Click on "Analyze" to generate detailed insights and visualizations of your portfolio.

Contributions

Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Portfolio Pulse is a powerful tool for investors to analyze and optimize their stock portfolios. It offers comprehensive insights into historical performance, risk metrics, and correlations, and provides optimized asset allocation recommendations using modern portfolio theory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages