Question: The function simulate_VaR is supposed to, given the stock's drift rate and volatility, simulate stock returns for a certain number of trials and at the

The function simulate_VaR is supposed to, given the stock's drift rate and volatility, simulate stock returns for a certain number of trials and at the specified time horizon in years. It should then return the VaR for the stock by locating the correct percentile from the simulated stock returns. The second block of code tries to use this function on a stock with an annual drift rate of .05 and annual volatility of .1, and wants to simulate the VaR at 5% at a 10 year time horizon and using 100 trials. (Hint: the answer should be -.08118566).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!