Finopswerk
finite correlated default tranche loss distribution
Derives the complete two-date joint tranche-loss probability law and exact default/premium cash-flow expectations for a supplied finite correlated-default portfolio of 1..4 names with constant EAD and LGD. Each state gives every name's default stage (0 never, 1 first date, 2 second date) and an integer probability weight. Tranche loss Tt = min(max(Lt-A,0),H), H = B-A, is taken per scenario before expectations. No copula, PD or correlation estimate is invented.
POST https://finops.halowerk.com/v1/finite-correlated-default-tranche-loss-distributionInputs
| Field | Type | Required | Description |
|---|---|---|---|
| exposures_n | array | Yes | |
| LGD_bp | array | Yes | |
| amount_denominator | integer | Yes | |
| attachment_n | integer | Yes | |
| detachment_n | integer | Yes | |
| discount_bp | array | Yes | |
| accrual_bp | array | Yes | |
| scenarios | See schema | Yes |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"exposures_n",
"LGD_bp",
"amount_denominator",
"attachment_n",
"detachment_n",
"discount_bp",
"accrual_bp",
"scenarios"
],
"properties": {
"exposures_n": {
"type": "array",
"minItems": 1,
"maxItems": 4,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"LGD_bp": {
"type": "array",
"minItems": 1,
"maxItems": 4,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 10000
}
},
"amount_denominator": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"attachment_n": {
"type": "integer",
"minimum": 0,
"maximum": 4000000
},
"detachment_n": {
"type": "integer",
"minimum": 1,
"maximum": 4000000
},
"discount_bp": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "integer",
"minimum": 1,
"maximum": 10000
}
},
"accrual_bp": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "integer",
"minimum": 1,
"maximum": 10000
}
},
"scenarios": {
"anyOf": [
{
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"default_stage",
"weight"
],
"properties": {
"default_stage": {
"type": "array",
"minItems": 1,
"maxItems": 4,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 2
}
},
"weight": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
}
}
}
},
{
"type": "null"
}
]
}
}
}Published input example
{
"exposures_n": [
100,
100
],
"LGD_bp": [
10000,
10000
],
"amount_denominator": 1,
"attachment_n": 50,
"detachment_n": 150,
"discount_bp": [
10000,
10000
],
"accrual_bp": [
5000,
5000
],
"scenarios": [
{
"default_stage": [
0,
0
],
"weight": 2
},
{
"default_stage": [
1,
0
],
"weight": 1
},
{
"default_stage": [
2,
1
],
"weight": 1
}
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Finopswerk0.003 USDC
accumulating sick leave liability
POSThttps://finops.halowerk.com/v1/accumulating-sick-leave-liabilityMeasures one closing salary-only liability for non-vesting accumulating sick leave. For N identical employees with unused old carry C and next-year entitlement E (used first), the caller supplies three scenarios of future absence days a_j w
- Finopswerk0.003 USDC
acquisition goodwill nci bridge
POSThttps://finops.halowerk.com/v1/acquisition-goodwill-nci-bridgeReconstructs one acquisition-date business-combination goodwill/NCI bridge from caller-measured identified assets, assumed liabilities, cash and non-cash consideration and previously held interest. NCI mode 0 = proportionate identifiable ne
- Finopswerk0.003 USDC
adjusted coupon cashflow ledger
POSThttps://finops.halowerk.com/v1/adjusted-coupon-cashflow-ledgerFrom a civil start date, tenor, EOM, principal, rate and explicit calendars, derives unadjusted accrual anchors, Following/ModifiedFollowing/Preceding payment dates, ACT365F exact interest and the last principal redemption. Payment adjustme