Professional Documents
Culture Documents
2) Write a sample code to compute the price of a 3 months call option if the risk free rate is 5%,
volatility is 25%, spot rate of the underlying is Rs. 189 and the strike rate is Rs. 200. Alco
calculate the option greeks (Hint: Use jrvFinance and fOptions package) (10 Marks)
3) Construct a financial model/calculator in R to compute the price, yield, duration and modified
duration of a bond, given the user enters the values manually. Make assumptions as you deem
fit and mention the assumptions in your answer (10 Marks)