Skip to content
HALOWERK

Finopswerk

finite cross impact liquidation schedule

Computes the complete optimal liquidation schedule family in a finite two-asset model with three equally spaced times 0,1,2 and permanent and transient cross-asset impact. Sells are nonnegative integers q[t,a] that sum to the initial inventory of 0..4 lots per asset; no interim buys. Kernel G(lag) = (Gamma + rho^lag Lambda)/impact_denominator with PSD matrices and rho in [0,1]. Expected cost C = one half sum_ts q[t]^T G(abs(t-s)) q[s].

POST https://finops.halowerk.com/v1/finite-cross-impact-liquidation-schedule

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
inventory_lotsSee schemaYes
permanent_coeffSee schemaYes
transient_coeffSee schemaYes
decay_ninteger, nullYes
decay_dintegerYes
impact_denominatorintegerYes
own_synthetic_numbersbooleanYes
Show full input schema
{
  "type": "object",
  "required": [
    "inventory_lots",
    "permanent_coeff",
    "transient_coeff",
    "decay_n",
    "decay_d",
    "impact_denominator",
    "own_synthetic_numbers"
  ],
  "properties": {
    "inventory_lots": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 2,
          "maxItems": 2,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "permanent_coeff": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 3,
          "maxItems": 3,
          "items": {
            "type": "integer",
            "minimum": -20,
            "maximum": 20
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "transient_coeff": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 3,
          "maxItems": 3,
          "items": {
            "type": "integer",
            "minimum": -20,
            "maximum": 20
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "decay_n": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 1000
    },
    "decay_d": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "impact_denominator": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "own_synthetic_numbers": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}

Open original schema

Published input example

{
  "inventory_lots": [
    2,
    2
  ],
  "permanent_coeff": [
    1,
    0,
    1
  ],
  "transient_coeff": [
    1,
    0,
    1
  ],
  "decay_n": 0,
  "decay_d": 1,
  "impact_denominator": 1,
  "own_synthetic_numbers": true
}

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