Skip to content
HALOWERK

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-cone

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
depthSee schemaYes
bidSee schemaYes
askSee schemaYes
claimSee schemaYes
cps_probabilitySee schemaYes
cps_stockSee schemaYes
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
}

Open original schema

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

All endpoints in this hub โ†’