loan_price
Compute cost components, hurdle rate and RAROC for a single fixed-rate loan from notional, PD, LGD, capital and funding inputs, showing whether the loan clears its target return.
Instructions
Cost components, hurdle rate and RAROC of one fixed-rate loan when you already know the capital
it ties up (capital, per unit lent: 0.08 is 8%). No file needed. Rates are yearly decimals.
Hurdle rate = funding cost + expected loss margin + operating cost margin + capital margin.
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": {
"notional": "<notional>",
"years": "<years>",
"pd": "<pd>",
"lgd": "<lgd>",
"capital": "<capital>",
"target_return": "<target_return>",
"funding": "<funding>"
},
"name": "loan_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pd | Yes | ||
| lgd | Yes | ||
| rate | No | ||
| years | Yes | ||
| capital | Yes | ||
| funding | Yes | ||
| notional | Yes | ||
| tax_rate | No | ||
| repayment | No | bullet | |
| target_return | Yes | ||
| capital_return | No | ||
| operating_cost | No | ||
| payments_per_year | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||