Git Product home page Git Product logo

stock-portfolio-optimization's Introduction

Stock Portfolio Optimization Project Objective : This project aims to construct a stock portfolio that balances risk and profit effectively while comparing various investment strategies. The focus will be on Modern Portfolio Theory (MPT) and Momentum Trading (MT).

Strategies Overview Modern Portfolio Theory (MPT) Purpose: Allocate investments in stocks to maximize expected returns, considering individual risk tolerance, which is quantified by volatility. Method: Employ a piecewise approach to optimize the allocation of stocks for each defined risk tolerance level. By evaluating numerous risk levels (e.g., 100 different levels), this method will yield a range of investment allocations, each tailored to a specific risk ceiling.

Outcome: The model will showcase a spectrum of portfolio compositions from low-risk, diversified portfolios with potentially modest returns to high-risk, concentrated investments with the possibility of higher returns. The goal is to illustrate the efficient frontier โ€“ the range of possible profit outcomes across all risk levels.

Momentum Trading (MT)

Approach: Leverage the relationship between short-term (8-day) and medium-term (21-day) moving averages to trigger buy and sell decisions.

Strategy: Execute buy orders when the 9-day moving average surpasses the 21-day average, and sell orders when the reverse occurs.

Integration with MPT: Adapt MT parameters to complement and enhance portfolios developed using the MPT model.

This notebook contains the steps that we took for optimal portfolio allocation using Modern Portfolio Theory (MPT) and Momentum Trading (MT).

The three sectors selected for our group were Consumer Staples, Utilities, and Real Estate.

Our selected stocks for each sector are as follows:

Consumer Staples: Church & Dwight Co. (CHD), Keurig Dr Pepper Inc. (KDP), and Walmart Inc. (WMT).

Utilities: Exelon Corporation (EXC), Pinnacle West Capital Corporation (PNM), and FirstEnergy Corp. (FE).

Real Estate: Avalonbay Communities (AVB), Invitation Homes Inc. (INVH), and Prologis, Inc. (PLD).

stock-portfolio-optimization's People

Contributors

nikhillllllllll 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.