Finopswerk
finite tree transaction cost superhedging cone
Computes the exact minimal initial cash that superhedges a supplied terminal cash claim on a finite one- or two-period binary event tree with node bid/ask quotes, unrestricted borrowing and shorting and zero discounted interest. Returns a feasible adapted cash/stock hedge, a matching cone dual certificate and a compact exact parameterization of all optimal holdings. No probability-weighted loss objective, investor utility or claim-indifference price is used.
POST https://finops.halowerk.com/v1/finite-tree-transaction-cost-superhedging-coneInputs
| Field | Type | Required | Description |
|---|---|---|---|
| depth | See schema | Yes | |
| bid | See schema | Yes | |
| ask | See schema | Yes | |
| claim | See schema | Yes | |
| cps_probability | See schema | Yes | |
| cps_stock | See schema | Yes |
Show full input schema
{
"type": "object",
"properties": {
"depth": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 2
},
{
"type": "null"
}
]
},
"bid": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"minItems": 3,
"maxItems": 7
},
{
"type": "null"
}
]
},
"ask": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"minItems": 3,
"maxItems": 7
},
{
"type": "null"
}
]
},
"claim": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"minItems": 2,
"maxItems": 4
},
{
"type": "null"
}
]
},
"cps_probability": {
"anyOf": [
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"minimum": -1000,
"maximum": 1000
},
"minItems": 2,
"maxItems": 2
},
"minItems": 3,
"maxItems": 7
},
{
"type": "null"
}
]
},
"cps_stock": {
"anyOf": [
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"minimum": -1000,
"maximum": 1000
},
"minItems": 2,
"maxItems": 2
},
"minItems": 3,
"maxItems": 7
},
{
"type": "null"
}
]
}
},
"required": [
"depth",
"bid",
"ask",
"claim",
"cps_probability",
"cps_stock"
],
"additionalProperties": false
}Published input example
{
"depth": 1,
"bid": [
10,
10,
10
],
"ask": [
10,
10,
10
],
"claim": [
0,
1
],
"cps_probability": [
[
1,
1
],
[
1,
2
],
[
1,
2
]
],
"cps_stock": [
[
10,
1
],
[
10,
1
],
[
10,
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