Trading Dev AcademyFree quant education

Free lesson · Arbitrage

Haircuts and survival capital

Open interactive lessonPractice calculationsExplore labs

Start with the idea

A balanced hedge can need cash in one account before its offsetting gain is available in another.

Symbols, units & horizon
  • K: required cash capital USD
  • h: haircut fraction
  • V: collateral value USD
  • M: variation-margin reserve USD
  • B: operational cash buffer USD

When and why to use this

Size basis trades by stressed liquidity rather than terminal profit alone.

A balanced hedge can need cash in one account before its offsetting gain is available in another.

A haircut is the part of eligible collateral value the lender does not advance. Add variation-margin reserves and operational cash to obtain a capital budget.

Stress each account and settlement deadline. A haircut increase consumes cash even at unchanged asset prices; sale of collateral may break the original hedge.

K=hV+M+B
Balance-sheet accounting under specified reserves

Haircuts and survival capital

  1. A loan advancing (1−h)V leaves hV to fund with equity.
  2. Add cash reserve M for margin calls.
  3. Add buffer B and compare with transferable cash before each deadline.
Work it by hand

V=$100,000, haircut .18, margin reserve $12,000, buffer $5,000 give 18000+12000+5000=$35,000. Raising haircut from .10 to .18 consumes another $8,000.

Apply it in a strategy

  • Size basis trades by stressed liquidity rather than terminal profit alone.
  • Record the input timestamp, executable quantity, currency and horizon. Reconcile the result with a cash-flow or state table.
  • Stress this failure condition: Positive total equity does not ensure a particular margin account can meet its immediate demand.

Research deliverable

Build and explain a haircuts and survival capital worksheet. Size basis trades by stressed liquidity rather than terminal profit alone.

Evidence boundary: Synthetic arithmetic and scenarios illustrate mechanics. They are not historical returns, a paper replication, or evidence of an executable edge. Research sources and their access limitations are recorded at the end of this module.

Python implementation

Self-contained teaching example. Python 3.10+; dependencies and input conventions are shown in the code and notation. Run in your own Python environment.

# Python 3.10+; standard library unless NumPy is imported below.
# Inputs and outputs use the units defined in this lesson. Synthetic teaching example.
def capital(value,haircut,margin,buffer):
    if value<0 or not 0<=haircut<=1 or min(margin,buffer)<0: raise ValueError("Invalid collateral inputs")
    return haircut*value+margin+buffer

print(capital(100000,.18,12000,5000))

Continue learning

Arbitrage: Payoffs, Financing and Execution — all lessons
  1. Start with every possible payoff
  2. Bid, ask and the gross-to-net waterfall
  3. Put–call parity from expiration states
  4. Dated cash-and-carry
  5. Triangular currency conversion
  6. ETF baskets and creation access
  7. Haircuts and survival capital
  8. Size, impact and the research decision

Quantitative finance and development glossary · Python resources and libraries · Research sources and limitations