Skip to content

kunaalk32/Portfolio-Optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock Portfolio Optimizer

This project is my foray into Machine Learning. Using the Sequential Least Squares algorithm in scipy, I maximize the Sharpe Ratio (https://en.wikipedia.org/wiki/Sharpe_ratio) of a given portfolio. This program suggest a new portfolio allocation based off of this new ratio.

Purpose

This program is not designed for actual use to predict the stock market. It is just my first foray into applying some statistics/data science to finance. The Sharpe Ratio is a very rudimentray metric, and likely won't give you an edge in the market. The analysis also suffers from lookback bias so the results can't be used practically.

Getting Started

This project uses python 3.6. To run, simply type:

python optimizer.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages