Pay Down or Invest?
A Google Colab Notebook showing how to use the Mortek API to compare the value of paying down a mortgage vs investing in the S&P 500.
View the notebook on Google Colab: View Notebook
Concepts Demonstrated
- Generate a payment schedule using the
/payment
endpoint - Create different amortization schedules using the
/amortization_schedule
endpoint to compare how much total interest is paid during a mortgage term and the mortgage balance at the end of the term.- A base schedule with no extra principal payment data
- Alternate schedule with extra principal payments applied