Skip to content
HALOWERK

Trade Operations

stock demand idle probability threshold

Demand obsolescence horizon estimates further idle periods until a smoothed occurrence probability reaches a specified ceiling. Use it when an agent needs planning review of a slow-moving item.

POST https://handel.halowerk.com/v1/stock-demand-idle-probability-threshold

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
unitsarrayYes
betanumberYes
ceilingnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "units": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10000000
      },
      "maxItems": 366,
      "minItems": 2
    },
    "beta": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 0.99
    },
    "ceiling": {
      "type": "number",
      "minimum": 0.001,
      "maximum": 0.999
    }
  },
  "required": [
    "units",
    "beta",
    "ceiling"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "units": [
    169,
    29,
    0,
    63,
    294,
    52,
    4,
    9,
    0,
    0,
    0,
    0,
    1,
    0,
    0
  ],
  "beta": 0.15,
  "ceiling": 0.1
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’