Exercises
If the APR is 5% compounded quarterly, what is its equivalent continuously compounded rate?
The value of a portfolio is $4.77 million today with a beta of 0.88. If the portfolio manager explains the market will surge in the next three months and s/he intends to increase her/ his portfolio beta from 0.88 to 1.20 in just three months by using S&P500 futures, how many contracts should s/he long or short? If the S&P500 index increases by 70 points what will be her/his gain or loss? How about if the S&P500 falls by 50 points instead?
Write a Python program to price a call option.
Explain the empty shell method when writing a complex Python program.
Explain the logic behind the so-called comment-all-out method when writing a complex Python program.
Explain the usage of the return value when we debug a program.
When we write the CND (cumulative standard normal distribution), we could define a1, a2, a3, a4, and a5 separately. What are the differences between the following two approaches...