Comparing Variable Rate Scenarios
A Google Colab Notebook showing how to use the Mortek API to compare different amortizations using different rate change scenarios. The Mortek API offers the ability to generate rate change data that can be used with the /amortization_schedule endpoint. The notebook shows how you can use this data to plot and evaluate the difference in loan balance if the rate changes according to the provided scenario.
View the notebook on Google Colab: View Notebook
Concepts Demonstrated
- Generate payment information using the /paymentendpoint
- Generate different rate change scenarios using the /rate/scenarioendpoint.
- Create different amortization schedules using the /amortization_scheduleendpoint.- A base schedule with no rate change data
- Multiple alternate schedule with different rate changes throughout the life of the loan
 
- Plotting a graph using matplotlib