Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

FINS5542

Assignment 2

1. Backtesting of Value at Risk (VaR) in 1997.

We conducted a backtesting of the Value at Risk (VaR) model on a portfolio of 12 assets in 1997, we held the assets from the ten days before the first day of 1997 (17/12/1996), the calculated realised the losses every ten days thereafter for the entire year 1997. We invested $1,000,000 per stock, totalling $12,000,000 for the portfolio. According to the VaR model, we had 99% confidence level, which means there was a 1% chance that the portfolio loss could fall outside of the predicted range. Therefore, we could expect the portfolio to experience violations for approximately two or three days out of the 253 trading days, which represents approximately 1% of the total trading days.

Definition.

§ Number of violations > 2 or 3 days indicates underestimate the risk.

§ Number of violations< 2 or 3 days indicates overestimate the risk.

§ Number of violations = 2 or 3 days indicates meet expectations.

1.1 VaR Methodology under normality and historical simulation (1997).

We ran the code via Ox and created the .out files to obtain data for Excel. The files contain 253 rows, representing the 253 trading days in 1997. The first row shows the 99% VaR, and the second row indicates the realised loss. We also used the timept file to allocate the dates in 1997. To create a graph to see the violation, we added another row to see difference which calculates VaR minus the realised loss.

In the normality approach (see Graph 1), the blue line represents the 99% VaR and the orange line shows the actual losses incurred. The average VaR in 1997 was calculated to be $1,081,253, indicating a 99% confidence level that the maximum loss of the portfolio will not exceed this amount. There was only one instance of a violation, where the actual losses exceeded the VaR over a one-day period, during the entire year. However, based on the definition of violations, the range of violations should typically be between 2 to 3 days, indicating that the VaR may have overestimated the risk in this particular case.

Summarised the Group 1 violation table as below.

Date

VaR

Average  VaR

Realised loss

Difference

04/03/1997

$1,032,000

$1,081,253

$1,068,710

 -$36,710

     

Graph 1. (overestimated)

In the historical simulation approach (see Graph 2), the blue line represents the 99% VaR and the orange line shows the actual losses incurred. The average VaR in 1997 was calculated to be $1,500,622.  However, no violations occurred under the historical simulation method, which overestimated the risk as well in this case.

        

Graph 2. (overestimated)

2. Backtesting for a portfolio of 6 stocks in 2020.

2.1 The Company

The following six U.S. hotel listed companies were selected for portfolio: Hilton Worldwide (HLT), Hyatt Hotels(H), Las Vegas Sands(LVS), MGM Resorts International(MGM), Vail Resorts(MTN), and Wynn Resorts(WYNN). A total of $1,000,000 was invested in each company, resulting in a portfolio worth $6,000,000. The assets were held from ten days before the first day of 2020 (17/12/2019) and the realised losses were calculated every ten days throughout the year 2020.

To evaluate the portfolio’s value at risk (VaR) and realised losses, two methods were used: normality and historical simulation. The 99% VaR and realised loss were graphed using these methods.

2.2  CRSP Data

The particular companies data used for this exercise was obtained from the CRSP, The raw data was selected for the period between 01/02/2016 and 31/12/2020. Since CRSP provides only raw and unadjusted data, we had to convert it to adjusted data. This was achieved by creating an additional roll and dividing the price by the cumulative factor to adjust price (cfacpr). Once the data for the six companies was downloaded, we combined the adjusted prices into a new single worksheet and saved it as “Q2merged.txt”. The necessary adjustments were also made to the ox code.

2.3 VaR Methodology under normality and historical simulation (2020).

We executed the code using Ox and generated .txt files to extract data for Excel. The files consist of 253 rows, representing the 253 trading days in 2020. In addition, we used the same approach to backtest data from 1997 and added an extra row to compare the difference between VaR and the actual loss incurred.

In Graph 3, the normality approach displays the 99% VaR with a blue line, while the actual losses are represented by an orange line. Based on our portfolio, we calculated the average VaR in 2020 to be $632,939, which indicates a 99% confidence level that the maximum loss of the portfolio will not exceed this amount. However, there were 24 days in 2020 where losses significantly exceeded the VaR, which is 10 times higher than the expected the 2 or 3 days. The sharp decline in stock prices was due to the global pandemic, and we will discuss the details further in the limitations of VaRs.

Summarised the Group 3 violation table as below.

No.

Date

VaR

Realised loss

Difference

1

31/01/2020

$460,538

$533,606

-$73,068

2

03/02/2020

$459,787

$522,487

-$62,700

3

25/02/2020

$478,976

$608.379

-$129,403

4

26/02/2020

$478,158

$825,717

-$347,559

5

27/02/2020

$476,194

$1,066,670

-$590,476

6

28/02/2020

$478,659

$991,389

-$512,730

7

02/03/2020

$479,398

$962,440

-$483,042

8

03/03/2020

$478,819

$1,202,230

-$723,411

9

04/03/2020

$478,356

$1,147,100

-$668,744

10

05/03/2020

$478,692

$1,496,060

-$1,017,368

11

06/03/2020

$480,747

$1,407,090

-$926,343

12

09/03/2020

$491,244

$1,493,890

-$1,002,646

13

10/03/2020

$499,954

$940,179

-$440,225

14

11/03/2020

$502,280

$1,271,970

-$769,690

15

12/03/2020

$505,154

$1,577,430

-$1,072,276

16

13/03/2020

$505,287

$1,274,110

-$768,823

17

16/03/2020

$505,150

$1,904,020

-$1,398,870

18

17/03/2020

$510,340

$1,763,280

-$1,252,940

19

18/03/2020

$509,510

$2,244,720

-$1,735,210

20

19/03/2020

$520,854

$1,771,130

-$1,250,276

21

20/03/2020

$521,428

$1,562,740

-$1,041,312

22

23/03/2020

$536,368

$1,100,860

-$564,492

23

24/03/2020

$537,462

$1,110,880

-$573,418

24

22/06/2020

$653,174

$830,805

-$177,631

        

Graph 3. (underestimated)

In Graph 4, the historical simulation approach representing the 99% VaR using a blue line, while the orange line represents the actual losses. After analysing our portfolio, we determined that the average VaR in 2020 was $696,702, Due to the global pandemic, we can see that there were 25 days in 2020 where losses significantly exceeded the expected VaR. This number is ten times higher than the usual 2 or 3 days.

No.

Date

VaR

Realised loss

Difference

1

29/1/2020

$418,551

$450,613

-$32,062

2

31/1/2020

$477,585

$533,606

-$56,021

3

3/2/2020

$492,036

$522,487

-$30,451

4

25/2/2020

$511,115

$608,379

-$97,264

5

26/2/2020

$565,189

$825,717

-$260,528

6

27/2/2020

$475,292

$1,066,670

-$591,378

7

28/2/2020

$472,063

$991,389

-$519,326

8

2/3/2020

$521,267

$962,440

-$441,173

9

3/3/2020

$441,590

$1,202,230

-$760,640

10

4/3/2020

$509,443

$1,147,100

-$637,657

11

5/3/2020

$488,413

$1,496,060

-$1,007,647

12

6/3/2020

$475,824

$1,407,090

-$931,266

13

9/3/2020

$514,036

$1,493,890

-$979,854

14

10/3/2020

$556,290

$940,179

-$383,889

15

11/3/2020

$541,107

$1,271,970

-$730,863

16

12/3/2020

$579,170

$1,577,430

-$998,260

17

13/3/2020

$540,436

$1,274,110

-$733,674

18

16/3/2020

$513,835

$1,904,020

-$1,390,185

19

17/3/2020

$491,888

$1,763,280

-$1,271,392

20

18/3/2020

$511,163

$2,244,720

-$1,733,557

21

19/3/2020

$590,292

$1,771,130

-$1,180,838

22

20/3/2020

$573,534

$1,562,740

-$989,206

23

23/3/2020

$570,252

$1,100,860

-$530,608

24

24/3/2020

$639,028

$1,110,880

-$471,852

25

22/6/2020

$784,279

$830,805

-$46,526

      

     Graph 4. (underestimated)