Routing Cashflows
Overview
Once you have calculated the cashflows by date, you can apply logic to allocate those cashflows to specific targets.
That is, the structure will pay out interest and principal to the holders of the structure, as well
as fees.
The way to accomplish the routing of cashflows is to keep track of additional information at each paydate, including
the amount paid out and to who.
Example Code