Skip to content

mshavliuk/markowitz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Current program allows to estimate the Sharp ratio for the given stocks by using the Markowitz algorithm

Setup

  1. clone project
git clone https://github.com/mshavliuk/markowitz.git
  1. Project relies on direnv files to automate python virtualenv creation, but you can use your main python executable environment and set env vars manually.
cd markowitz
direnv allow
direnv reload
  1. Install dependencies
pip3 install -r requirements.txt
  1. Run the script
python3 markowitz.py

Example plot

About

📈Markowitz optimization for stocks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors