Introduction to Financial Concepts in Python
Dakota Wixom
Quantitative Finance Analyst
Situation 1
Situation 2
Your Options
Calculate the present value of $100 received 3 years from now at a 1.0% inflation rate.
import numpy as np
np.pv(rate=0.01, nper=3, pmt=0, fv=100)
-97.05
Calculate the future value of $100 invested for 3 years at a 5.0% average annual rate of return.
import numpy as np
np.fv(rate=0.05, nper=3, pmt=0, pv=-100)
115.76
Introduction to Financial Concepts in Python