/* ]]> */
Sep 302014

This application is interactive. Be patient as it loads.

Example: Unconstrained Maximum Sharpe Ratio portfolio
Notice the Contributions to Risk are proportionate to the Contributions to Returnmax-sharpe-portfolio

Example: Unconstrained Minimum Variance portfolio
Notice the Weights and Contributions to Risk are Equal

Example: Risk Parity portfolio
Contributions to Risk are equal


Asset ClassVolatilityExpected_Return
US Stocks20%8%
Int'l Stocks25%8%

Correlation matrix
US StocksInt'l StocksBondsREITsCommodities
US Stocks1.000.950.150.850.60
Int'l Stocks0.951.000.300.800.70

Weight: Asset Value divided by the greater of 1 and the sum of all Asset Values
Valuei / max(1, \Sigma Valuei )

Risk Contribution: Product of Asset’s Weight and its covariance with the Portfolio, scaled by the Portfolio’s variance
weighti\sigma i,Portfolio / \sigma 2Portfolio

Return Contribution: Product of Asset’s Weight and its Expected Return
weighti\mu i

Sharpe Ratio: Ratio of Expected Return to Volatility
\mu i / \sigma i

Note this is simply a “Return/Risk ratio,” which is not exactly the true definition of a Sharpe Ratio. However in the investment world vernacular the terms are interchangeable and for the purpose of this application their meanings are similar enough.

If you would like to know the precise definition of “Sharpe Ratio,” consult the source.

I created a slightly more elaborate version of this app in the Coursera course, Developing Data Products, the ninth of ten courses I took as part of the Johns Hopkins University Data Science certification.

 Posted by on September 30, 2014 Asset Allocation, Portfolio Risk  Add comments

  One Response to “Visualize Portfolio Risk”

Leave a Reply

Bad Behavior has blocked 286 access attempts in the last 7 days.

%d bloggers like this: