Skip to content

Markowitz Portfolio Theory

Welcome to our Knowledge Base

Markowitz Portfolio Theory

You are here:
< last topic

Markowitz Portfolio Theory

Harry Markowitz introduced and later won the Nobel Prize for the Modern Portfolio Theory in his 1952 article and 1959 book. His theory attempts to maximize portfolio expected return for a given amount of portfolio risk, or equivalently minimize risk for a given level of expected return, by carefully choosing the proportions of various assets.

The mathematical formulation is the following.

We solve a quadratic programming problem to find the portfolios weights (ω’s) that maximize this objective function, where λ is the risk-adverse coefficient between 0 and ∞.

\(R^T w – \lambda \times w^T \Sigma w\)

One (unity) constraint is:

\(\sum_i w_i = 1\)

In additional, AlgoQuant lets you put any (reasonable) constraints on the ω’s as you like. For example, one common constraint is to disallow short selling. That is,

\(w_i \ge 0\)

References

​http://en.wikipedia.org/wiki/Modern_Portfolio_Theory

Demo

An online demo is available.

Code

http://redmine.numericalmethod.com/projects/public/repository/svn-algoquant/show/core/src/main/java/com/numericalmethod/algoquant/model/portfoliooptimization/markowitz

http://redmine.numericalmethod.com/projects/public/repository/svn-algoquant/entry/core/src/main/java/com/numericalmethod/algoquant/model/portfoliooptimization/markowitz/MarkowitzUtils.java

http://redmine.numericalmethod.com/projects/public/repository/svn-algoquant/entry/core/src/main/java/com/numericalmethod/algoquant/model/portfoliooptimization/markowitz/MarkowitzPortfolio.java

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents