Finopswerk
finite lookback option running extrema distribution
Computes the exact finite-tree law and model price of a European floating-strike lookback option. A full binary history tree of depth 1..3 supplies node prices and left probabilities q/Q. The joint law keeps terminal S, running MIN and MAX; writer payouts are S-MIN for the call and MAX-S for the put. Returns the merged joint law, marginals, expected losses and discounted prices. The caller law is a risk-neutral model, not inferred market probabilities.
POST https://finops.halowerk.com/v1/finite-lookback-option-running-extrema-distributionInputs
| Field | Type | Required | Description |
|---|---|---|---|
| problem | See schema | Yes |
Show full input schema
{
"type": "object",
"required": [
"problem"
],
"properties": {
"problem": {
"anyOf": [
{
"type": "object",
"required": [
"depth",
"node_price_n",
"price_d",
"left_probability_n",
"probability_d",
"gross_return_n",
"gross_return_d"
],
"properties": {
"depth": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"node_price_n": {
"type": "array",
"minItems": 3,
"maxItems": 15,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"price_d": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"left_probability_n": {
"type": "array",
"minItems": 1,
"maxItems": 7,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 12
}
},
"probability_d": {
"type": "integer",
"minimum": 1,
"maximum": 12
},
"gross_return_n": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"gross_return_d": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}Published input example
{
"problem": {
"depth": 1,
"node_price_n": [
100,
80,
120
],
"price_d": 1,
"left_probability_n": [
1
],
"probability_d": 2,
"gross_return_n": 1,
"gross_return_d": 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