Prepayment Library - Sample Programs

Summary

Use of the AFT Prepayment Library is demonstrated through the enclosed sample applications.  While not exhaustive in their use of the library, the programs show the most frequently used structures and functions in a realistic manner.

This page contains information about the prepayment section of the library. Other sample programs illustrate use of the bond and MBS/OAS related structures, constants and functions.

 
Program
 
Lang
 
Description
 
 C
 
Basic sample program illustrating the call to the primary prepay function, EspPrep_PrepayModelMThread
 
 C
 
More extensive sample program illustrating the call to the primary prepay function, as well as implementation of ARMs, whole loans, prepayment penalties, dynamic adjustment and fine tuning
 

Basic Use

The basic steps for using the library are as follows:

Notes

The following rules apply to using all of the AFT library functions and sample programs.