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. ...
Get Python for Finance - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.