Risk manager for mutual funds

Calculates risk metrics using RiskMetrics 1996 paper by J.P. Morgan methodology
530 Downloads
Updated 5 May 2015

View License

It serves as a tool for calculating risk metrics for a portfolio made of single positions in mutual funds.
Positions are composed by aggregating the operations recorded in "Operations" sheet.

Market data is obtained from ft.com by using the next function:

getTableFromWeb_mod from Sven Koerner

http://www.mathworks.com/matlabcentral/fileexchange/29642-get-html-table-data-into-matlab-via-urlread-and-without-builtin-browser/content/getTableFromWeb_mod.m

Using the RiskMetrics algorithm for forecasting volatilities and correlations by EWMA method, it gives data of:

- Volatility sets.
- Correlation matrix.
- Undiversified Value at Risk.
- Diversified Value at Risk.
- Marginal VaR.
- Component VaR.

All these calculations are given for 1 day and 1 month horizon, using about 130 days of recent quotes and lambda values of 0.94 and 0.97 respectively.

In addition, it shows the global position of the portfolio and the VaR calculated by simple historical simulation.

I will be pleased to answer any usability question and any suggestion at mariosantossanz89@gmail.com.

Cite As

Mario Santos (2024). Risk manager for mutual funds (https://www.mathworks.com/matlabcentral/fileexchange/50745-risk-manager-for-mutual-funds), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Risk Management Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0