A Term Loan is a simple loan. It requires a maturity date, allows all amortization types (bullet, annual, semi-annual, etc) and allows all fee & income types. A Risk Amount on a Term Loan is calculated as follows: outstanding amount plus percentage of unused (50% for facility rating 1-4, 95% for 5-8). A Term Loan's commitment amount reduces with principal repayments.
The following assumes a simple Term Loan for a Customer with a risk rating of 2.
| ActionFixture | ||
| start | Raroc | |
| check | customers | 0 |
| press | new customer | |
| enter | full name | xyz corp |
| enter | short name | xyz |
| enter | rating | 2 |
| press | ok | |
| check | customers | 1 |
| press | new facility | |
| enter | customer | xyz |
| enter | facility rating | 1 |
| enter | currency | USD |
enterjava.lang.NoSuchMethodException at ActionFixture.method(ActionFixture.java:56) at ActionFixture.enter(ActionFixture.java:29) at java.lang.reflect.Method.invoke(Native Method) at ActionFixture.doCells(ActionFixture.java:16) at Fixture.doRow(Fixture.java:79) at Fixture.doRows(Fixture.java:73) at Fixture.doTable(Fixture.java:68) at Fixture.doTables(Fixture.java:58) at Fixture.main(Fixture.java:26) | date of calculation | 09/03/02 |
enterjava.lang.Exception: can't yet parse class java.util.Date at Fixture.parse(Fixture.java:147) at TypeAdapter.parse(TypeAdapter.java:76) at ActionFixture.enter(ActionFixture.java:32) at java.lang.reflect.Method.invoke(Native Method) at ActionFixture.doCells(ActionFixture.java:16) at Fixture.doRow(Fixture.java:79) at Fixture.doRows(Fixture.java:73) at Fixture.doTable(Fixture.java:68) at Fixture.doTables(Fixture.java:58) at Fixture.main(Fixture.java:26) | maturity date | 09/03/03 |
| enter | commitment amount | 1000 |
| enter | initial usage percentage | 100 |
| enter | amortization type | bullet |
| enter | base rate | LIBOR |
enterjava.lang.IllegalArgumentException: argument type mismatch at java.lang.reflect.Method.invoke(Native Method) at ActionFixture.enter(ActionFixture.java:33) at java.lang.reflect.Method.invoke(Native Method) at ActionFixture.doCells(ActionFixture.java:16) at Fixture.doRow(Fixture.java:79) at Fixture.doRows(Fixture.java:73) at Fixture.doTable(Fixture.java:68) at Fixture.doTables(Fixture.java:58) at Fixture.main(Fixture.java:26) | spread | 10.0 |
| press | calculate | |
| check | risk amount | 1000 expected 0 actual |
| check | income | 1.0 expected 0.0 actual |
| check | duration | 0.98 expected 0.0 actual |
| check | capital | 6 expected 0 actual |
| check | RAROC | 13.4 expected 0.0 actual |