Skip to content

Main content

Overnight Collateral Haircut Cash Gap Tool

Calculate overnight collateral haircut cash gap from explicit caller-supplied inputs.

Loading tool…

Description

Discount value by one-minus-haircut and clamp cash shortfall at zero.

Risk and sensitivity terms depend on return units, horizon and model structure. A covariance contribution or local price approximation describes only part of a portfolio or instrument's risk and does not establish a safe investment.

Discount value by one-minus-haircut and clamp cash shortfall at zero.

When to use this tool

Use Overnight Collateral Haircut Cash Gap when you need one explicit risk or sensitivity term.

How to use the tool and how it works

  1. Enter marketValue, haircut, cashRequired. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read eligibleValue, shortfall. Use the output convention below.

Require nonnegative market value/cash required and haircut in [0, 1]. Discount value by one-minus-haircut and clamp cash shortfall at zero.1

Input fieldMeaning and unitsAccepted input
marketValueMarket ValueRequired. Finite number; minimum 0.
haircutHaircutRequired. Finite number; minimum 0; maximum 1.
cashRequiredCash RequiredRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
eligibleValueEligible ValueRequired. Finite number.
shortfallShortfallRequired. Finite number.
json
{
  "input": {
    "marketValue": 1000,
    "haircut": 0.1,
    "cashRequired": 950
  },
  "output": {
    "eligibleValue": 900,
    "shortfall": 50
  }
}

Limitations and assumptions

  • Haircut is caller supplied. This one collateral term omits volatility, settlement, eligibility and legal collateral rules.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use the complete portfolio or instrument model, including covariance consistency, nonlinear effects and scenario analysis. Verify scaling and estimation assumptions before interpreting a partial term as total risk.

References

  1. Calculation and input contract: finance/overnight-collateral-haircut-cash-gap — tool.io

Similar or alternative tools