C++ :: Amortization Of 500,000 Loans

Jun 24, 2014

My task is to find a quick method to calculate the cash flow on nearly 500,000 loans. However, this problem cannot be solved with a simple amortization schedule. The loans have a variety of attributes like periodic reset dates, caps, floors and balloon dates. Some are variable, some fixed rate and nearly all of them are aged to some degree (months or years). Let’s ramp it up a bit, after running the amortization schedules, I need to input different sets of prepayment speed assumptions, then run it all again… 20 more times!

I am very familiar with Excel/VBA and have created a code ‘loop’ which works flawlessly. Trouble is that Excel doesn't have the capacity to perform these tasks quickly. A recent test of 10,000 loans took nearly 5 minutes.

For starters, I’d like to know: Is C++ generally used for financial analysis? Where do I start? (Basics: books, training class, etc.)

View 9 Replies


ADVERTISEMENT

C :: Program To Create Output File Containing Customized Loan Amortization Table

Nov 18, 2013

Write a program to create an output file containing a customized loan amortization table. Your program will prompt the user to enter the amount borrowed (the principal), the annual interest rate, and the number of payments (n). The payment must be rounded to the nearest cent. After the payment has been rounded to the nearest cent, the program will write to the output file n lines showing how the debt is paid off.

Code:

#include <stdio.h>
#include <math.h>
int main (void) {

[Code].....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved