- python -m venv venv
- source venv/bin/activate
- pip install -r requirements.txt
- deactivate // leave the virtual environment
Problem 1 - equal weight portfolio
python Markowitz.py --score eqw
Problem 2 - risk parity portfolio
python Markowitz.py --score rp
Problem 3 - mean variance portfolio
python Markowitz.py --score mv
All Problems
python Markowitz.py --score all
Problem 1 - equal weight portfolio
python Markowitz.py --allocation eqw
Problem 2 - risk parity portfolio
python Markowitz.py --allocation rp
Problem 3 - mean variance portfolio
python Markowitz.py --allocation mv
Problem 3 - mean variance portfolio
python Markowitz.py --performance mv
Problem 3 - mean variance portfolio
python Markowitz.py --report mv
Problem 1 - Sharp Ratio > 1
python Markowitz_2.py --score one
Problem 2 - Sharp Ratio > SPY
python Markowitz_2.py --score spy
All Problems
python Markowitz_2.py --score all
My portfolio
python Markowitz_2.py --allocation mp
Big portfolio
python Markowitz_2.py --allocation bmp
My portfolio
python Markowitz_2.py --performance mp
Big portfolio
python Markowitz_2.py --performance bmp
My portfolio
python Markowitz_2.py --report mp
Big portfolio
python Markowitz_2.py --report bmp
My portfolio
python Markowitz_2.py --cumulative mp
Big portfolio
python Markowitz_2.py --cumulative bmp