price_new_loan
Calculate a new loan's break-even interest rate, cost components, RAROC, and yearly value added using portfolio, Basel, or fixed capital measures.
Instructions
What one new loan has to earn in this book: cost components, hurdle rate (the break-even
interest rate) and, if terms has a rate, RAROC and the yearly value added. The capital the
loan ties up is measured three ways and priced for each: from this portfolio (it costs more
where the book is already heavy), from the formula behind the Basel risk weights, and from a
fixed risk weight if given.
`new_loan` is {"loan_id", "exposure", "pd", "lgd"} with optional "sector". `terms` needs "years",
"funding" (a yearly rate, or [[years, rate], ...]) and "target_return"; optional
"operating_cost", "capital_return", "tax_rate", "payments_per_year" (1, 2, 4, 12), "repayment"
("bullet" or "equal_principal"), "rate", "pd_cumulative", and "risk_weight" with "capital_ratio".
Rates are yearly decimals (0.25 is 25%). The tool does not recommend a price.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"loans": "<loans>",
"settings": "<settings>",
"new_loan": "<new_loan>",
"terms": "<terms>"
},
"name": "price_new_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loans | Yes | ||
| terms | Yes | ||
| new_loan | Yes | ||
| settings | Yes | ||
| overrides | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||