angshuman-agarwal/P2P-Finance
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is an implementation of the best rate calculation for the P2P lending concept (http://en.wikipedia.org/wiki/Peer-to-peer_lending) There is a need for a rate calculation system allowing prospective borrowers to obtain a quote from our pool of lenders for 36 month loans. This system will take the form of a command-line application. There will be a file containing a list of all the offers being made by the lenders within the system in CSV format, see the example market.csv file provided alongside this specification. The application provides - 1. As low a rate to the borrower as is possible to ensure that Company's quotes are as competitive as they can be against other competitors'. 2. Also it provides the borrower with the details of the monthly repayment amount and the total repayment amount. Repayment amounts should be displayed to 2 decimal places and the rate of the loan should be displayed to one decimal place. Borrowers should be able to request a loan of any £100 increment between £1000 and £15000 inclusive. If the market does not have sufficient offers from lenders to satisfy the loan then the system should inform the borrower that it is not possible to provide a quote at that time. The application should take arguments in the form: cmd> [application] [market_file] [loan_amount] Example: cmd> quote.exe market.csv 1500 The application should produce output in the form: cmd> [application] [market_file] [loan_amount] Requested amount: £XXXX Rate: X.X% Monthly repayment: £XXXX.XX Total repayment: £XXXX.XX Example: cmd> quote.exe market.csv 1000 Requested amount: £1000 Rate: 7.0% Monthly repayment: £30.78 Total repayment: £1108.10 Note: * The monthly and total repayment should use monthly compounding interest
About
Best rate calculation for a borrower from a pool of lenders in a P2P scenario
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published