Applied Portfolio VaR Decomposition
19 Jan 2015
To install Systematic Investor Toolbox (SIT) please visit About page.
Pawel Lachowicz published very good tutorial at Applied Portfolio VaR Decomposition. (1) Marginal and Component VaR..
Additional info:
Below I will try to adapt his code:
Portfolio Risk Report as of |
20-Jan-2015 |
|
|
VaR estimation at |
95% confidence level |
|
|
Number of assets: |
7 |
|
|
Current exposure: |
$2,985,822 |
|
|
Portfolio VaR (undiversified): |
$53,389.94 |
|
|
Portfolio VaR (diversified): |
$39,584.48 |
|
|
Component VaR [individual VaR] |
|
|
|
AAPL |
1.39% |
$ 550.53 |
$ 1,611.14 |
DIS |
2.84% |
$ 1,122.53 |
$ 1,831.47 |
IBM |
0.48% |
$ 190.06 |
$ 426.25 |
JNJ |
32.53% |
$12,878.04 |
$16,899.04 |
KO |
2.50% |
$ 987.73 |
$ 2,024.83 |
NKE |
9.77% |
$ 3,865.66 |
$ 7,352.19 |
TXN |
50.50% |
$19,989.94 |
$23,245.03 |
Portfolio Risk Report as of |
20-Jan-2015 |
|
|
VaR estimation at |
95% confidence level |
|
|
Number of assets: |
7 |
|
|
Current exposure: |
$2,985,822 |
|
|
Portfolio VaR (undiversified): |
$48,371.92 |
|
|
Portfolio VaR (diversified): |
$32,915.71 |
|
|
Component VaR [individual VaR] |
|
|
|
AAPL |
6.77% |
$ 2,227.32 |
$ 5,649.27 |
DIS |
1.79% |
$ 588.23 |
$ 982.39 |
IBM |
14.93% |
$ 4,914.08 |
$ 8,070.68 |
JNJ |
43.53% |
$14,329.55 |
$17,075.95 |
KO |
25.24% |
$ 8,306.86 |
$11,403.60 |
NKE |
7.75% |
$ 2,549.66 |
$ 5,190.02 |
TXN |
0.00% |
$ 0.00 |
$ 0.00 |
Risk-Minimising Position scenario:
|
Original position |
Marginal VaR |
New position |
Marginal VaR |
AAPL |
1.93% |
$0.00955 |
6.77% |
$0.01102 |
DIS |
3.33% |
$0.01128 |
1.79% |
$0.01102 |
IBM |
0.79% |
$0.00807 |
14.93% |
$0.01102 |
JNJ |
43.08% |
$0.01001 |
43.53% |
$0.01102 |
KO |
4.48% |
$0.00738 |
25.24% |
$0.01102 |
NKE |
10.97% |
$0.01180 |
7.75% |
$0.01102 |
TXN |
35.41% |
$0.01891 |
0.00% |
$0.01110 |
Portfolio VaR |
$39,584.48 |
|
$32,915.71 |
|
|
|
|
-16.85% |
|
Annulized Vol |
12.79% |
|
10.64% |
|
(this report was produced on: 2015-01-22)