Git Product home page Git Product logo

badal39 / portfolio-analysis-and-optimization-with-sharpe-ratio Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 2.29 MB

Portfolio optimization system that maximizes returns while effectively managing risk.

Home Page: https://badal39-portfolio-analysis-and-optimization-with--finapp-gnmtmj.streamlit.app/

Python 100.00%
modern-portfolio-theory portfolio-optimization python scipy sharpe-ratio stock-analysis

portfolio-analysis-and-optimization-with-sharpe-ratio's Introduction

Investment Portfolio Analysis & Optimization

The project aims to develop a portfolio optimization system that maximizes returns while effectively managing risk. It involves collecting historical data on various assets from Yahoo Finance, conducting a comprehensive analysis of the portfolio, and optimizing asset allocation based on risk-adjusted metrics. The implementation will be done using Python, utilizing libraries such as Scipy and Streamlit.

Demo Images

Here are some demo images for the project:

Image 1 Image 2 Image 3 Image 4 Image 5 Image 6

Problem Statement

The goal is to develop a system that automatically allocates assets in a portfolio based on historical data and risk-adjusted metrics. By doing so, investors can make informed decisions to achieve higher returns while considering the associated risks.

Data Collection Method

  • yfinance Python: Historical data on various assets will be collected from Yahoo Finance.

Model Development

A portfolio optimization model can be developed using Modern Portfolio Theory. The model will aim to maximize returns while managing risk based on the selected features and risk-adjusted metrics.

Model Evaluation

The developed model will be evaluated using Sharpe Ratio and compared to evaluate the effectiveness of the portfolio optimization system. Additionally, backtesting is employed to assess the performance of the optimized portfolios against historical data.

Installation

To run the Portfolio-Analysis-and-Optimization-with-Sharpe-Ratio, follow these steps:

  1. Clone the repository:

    git clone https://github.com/badal39/Portfolio-Analysis-and-Optimization-with-Sharpe-Ratio.git

  2. Create a virtual environment:

    python -m venv env

  3. Activate the virtual environment:

For Windows

env\Scripts\activate

For Linux/Mac

source env/bin/activate

  1. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Run the Streamlit app:

    streamlit run FinApp.py

  2. Open your web browser and go to http://localhost:8501 to access the application.

  3. Follow the instructions on the web interface to use the Baroque-inspired Art Recommendation System.

portfolio-analysis-and-optimization-with-sharpe-ratio's People

Contributors

badal39 avatar beee-badal avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.