Skip to content
HALOWERK

Finopswerk

finite transaction cost no trade policy

Finite ONE-period transaction-cost optimal cash/stock rebalance and no-trade policy from ORIGINAL cash x, stock y, root bid b/ask a, two strictly positive terminal liquidation bids d/u and caller physical probability weights. Own exact synthetic specialization of Kallsen-MuhleKarbe arXiv0911.4801v2 section2 self-financing2.2/terminal utility2.3: cash has zero interest, one root trade then compulsory terminal liquidation, no borrowing/shorting, no intermediate consumption, caller chooses log.

POST https://finops.halowerk.com/v1/finite-transaction-cost-no-trade-policy

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
cash_nSee schemaYes
stock_nSee schemaYes
bid0See schemaYes
ask0See schemaYes
terminal_bidSee schemaYes
probability_weightsSee schemaYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "cash_n",
    "stock_n",
    "bid0",
    "ask0",
    "terminal_bid",
    "probability_weights"
  ],
  "properties": {
    "cash_n": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000
        },
        {
          "type": "null"
        }
      ]
    },
    "stock_n": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000
        },
        {
          "type": "null"
        }
      ]
    },
    "bid0": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 1000
        },
        {
          "type": "null"
        }
      ]
    },
    "ask0": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 1000
        },
        {
          "type": "null"
        }
      ]
    },
    "terminal_bid": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 2,
          "maxItems": 2,
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "probability_weights": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 2,
          "maxItems": 2,
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Open original schema

Published input example

{
  "cash_n": 349,
  "stock_n": 1,
  "bid0": 9,
  "ask0": 11,
  "terminal_bid": [
    1,
    20
  ],
  "probability_weights": [
    1,
    3
  ]
}

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 โ†’