Skip to content
HALOWERK

Finopswerk

collateral rehypothecation flow feasibility

Decides one finite collateral-rehypothecation feasibility job on a fixed acyclic topology with edges 01, 02, 12 and nonnegative pledge flows x01, x02, x12. Constraints: x01+x02<=C0, x12<=C1+r*x01, (1-h01)*x01+(1-h02)*x02>=D0, (1-h12)*x12>=D1, plus a face-value cap per edge. The caller supplies borrowing needs, haircut quotes, free collateral, the permitted reuse fraction r and caps; no legal right, haircut valuation, price or lender liquidity is inferred.

POST https://finops.halowerk.com/v1/collateral-rehypothecation-flow-feasibility

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
own_collateral_nSee schemaYes
edge_caps_nSee schemaYes
haircut_bpsSee schemaYes
rehypothecation_bpsinteger, nullYes
secured_obligations_nSee schemaYes
amount_denominatorintegerYes
caller_qualifiedboolean, nullYes
own_synthetic_numbersbooleanYes
Show full input schema
{
  "type": "object",
  "required": [
    "own_collateral_n",
    "edge_caps_n",
    "haircut_bps",
    "rehypothecation_bps",
    "secured_obligations_n",
    "amount_denominator",
    "caller_qualified",
    "own_synthetic_numbers"
  ],
  "properties": {
    "own_collateral_n": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 2,
          "maxItems": 2,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "edge_caps_n": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 3,
          "maxItems": 3,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "haircut_bps": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 3,
          "maxItems": 3,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9000
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "rehypothecation_bps": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 10000
    },
    "secured_obligations_n": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 2,
          "maxItems": 2,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "amount_denominator": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "caller_qualified": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "own_synthetic_numbers": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}

Open original schema

Published input example

{
  "own_collateral_n": [
    10,
    0
  ],
  "edge_caps_n": [
    20,
    20,
    20
  ],
  "haircut_bps": [
    0,
    0,
    0
  ],
  "rehypothecation_bps": 10000,
  "secured_obligations_n": [
    10,
    10
  ],
  "amount_denominator": 1,
  "caller_qualified": true,
  "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 โ†’