Skip to content
HALOWERK

Financial Market Data

depth book top withdrawal

Liquidity withdrawal stress recalculates a sweep after removing the entire best price level. Use it when an agent needs help testing dependence on top-of-book liquidity.

POST https://finanz.halowerk.com/v1/depth-book-top-withdrawal

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
levelsarrayYes
sideSee schemaYes
quantityintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "levels": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1000000
        },
        "maxItems": 2,
        "minItems": 2
      },
      "maxItems": 50,
      "minItems": 1
    },
    "side": {
      "enum": [
        "buy",
        "sell"
      ]
    },
    "quantity": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000
    }
  },
  "required": [
    "levels",
    "side",
    "quantity"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "levels": [
    [
      81599,
      75
    ],
    [
      81600,
      100
    ]
  ],
  "side": "buy",
  "quantity": 90
}

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