AnyLearn
All lessons
Businessadvanced

Margin, Leverage, and the Spiral

Leverage does not simply scale returns. It introduces a lender who can demand cash at the worst moment, which converts a paper loss into a forced sale. This lesson works through margin mechanics, shows why the liquidation price rather than the loss is what matters, and follows the feedback loop that makes market and funding liquidity reinforce each other.

Updated · AI-authored, review-gated · how lessons are made

Not signed in: your progress and quiz score won't be saved.
Progress1 / 8

Leverage is a lender, not a multiplier

Leverage is usually introduced as a multiplier: borrow to hold a larger position, and both gains and losses scale up. That description is arithmetically correct and it omits the part that causes failures.

Borrowing introduces a counterparty with rights. The lender requires collateral, revalues it continuously, and may demand more at any time. If the demand is not met, they close the position themselves.

That changes the nature of the risk rather than its size. An unleveraged holder facing a 40% decline has a loss and a decision. A leveraged holder facing the same decline may have no decision, because the position was closed at the bottom by someone else acting under a contract.

So the question a leveraged book must answer is not how much it might lose. It is at what price it stops being allowed to hold the position, which is a different quantity with a different sensitivity.

Full lesson text

All 8 steps on one page, for reading, reference, and search.

Show

1. Leverage is a lender, not a multiplier

Leverage is usually introduced as a multiplier: borrow to hold a larger position, and both gains and losses scale up. That description is arithmetically correct and it omits the part that causes failures.

Borrowing introduces a counterparty with rights. The lender requires collateral, revalues it continuously, and may demand more at any time. If the demand is not met, they close the position themselves.

That changes the nature of the risk rather than its size. An unleveraged holder facing a 40% decline has a loss and a decision. A leveraged holder facing the same decline may have no decision, because the position was closed at the bottom by someone else acting under a contract.

So the question a leveraged book must answer is not how much it might lose. It is at what price it stops being allowed to hold the position, which is a different quantity with a different sensitivity.

2. Initial and variation margin

Two distinct payments are both called margin, and confusing them is a common source of error.

Initial margin is collateral posted when the position opens. It is sized to cover a plausible adverse move over the time it would take to close the position out, so it scales with volatility and with expected liquidation time. It is a buffer, not a payment: it comes back when the position closes.

Variation margin is the daily settlement of gains and losses. If the position loses, cash moves to the counterparty. This is not a buffer and it does not come back. It is the loss, realised in cash, every day, whether or not the position is eventually profitable.

The distinction produces the classic failure. A position that is correct over six months but loses heavily in month one generates real cash outflows in month one. A trader who is right and cannot fund the interim variation margin is liquidated before being proved right.

Solvency and liquidity are separate conditions, and the second one binds first.

3. The number that actually matters

Given a maintenance margin requirement, the price at which the position is closed is arithmetic, and it is worth computing before entering rather than during.

def liquidation_price(entry, equity, notional, maintenance=0.25):
    """Long position. Returns the price at which equity falls to the
    maintenance fraction of position value."""
    units = notional / entry
    # equity(P) = units*P - debt ; debt = notional - equity
    debt = notional - equity
    return debt / (units * (1 - maintenance))

liquidation_price(100.0, equity=50_000, notional=100_000)   # 66.67
liquidation_price(100.0, equity=25_000, notional=100_000)   # 100.00
liquidation_price(100.0, equity=20_000, notional=100_000)   # 106.67

Read the three results together. At 2x leverage the position survives a 33% decline. At 4x it is at the liquidation threshold on day one. At 5x the required price is above the entry price, meaning the position cannot be opened at all under that requirement.

The relationship is not linear. Doubling leverage does not halve the survivable move; it collapses it toward zero, and the collapse accelerates.

4. Margins rise exactly when you cannot afford it

The calculation above treated the maintenance requirement as fixed. It is not, and the way it moves is the heart of the problem.

Margin requirements are set from estimated volatility and estimated liquidation cost. Both rise in a stress episode. So the requirement increases at the same moment the position is losing.

The two effects compound in the same direction. Equity is falling because of the loss, and the required equity is rising because of the volatility. A position comfortably within limits can breach them without any further price movement, purely because the requirement was raised.

This is procyclical margining, and it is the mechanism connecting the previous lesson's estimated-distribution problem to actual forced selling. The risk model that understated danger in calm conditions was also setting the margin requirement, and its correction arrives as a cash demand rather than as a revised report.

Anyone planning leverage on current requirements is planning on the calm-period value of a number that moves against them precisely when it matters.

5. The loop that feeds itself

Markus Brunnermeier and Lasse Heje Pedersen modelled this in "Market Liquidity and Funding Liquidity", Review of Financial Studies, volume 22, issue 6, 2009, pages 2201 to 2238. Their result is that under certain conditions margins are destabilising, and market liquidity and funding liquidity become mutually reinforcing, producing liquidity spirals.

Two distinct things are being connected. Market liquidity is how easily an asset trades. Funding liquidity is how easily a trader raises cash. Ordinarily these look like separate concerns.

The loop ties them. Falling prices tighten funding, which forces selling, which worsens market liquidity, which raises the cost of the next liquidation, which tightens funding further.

The branch to the right matters as much as the main loop. Market makers are leveraged too, so the same margin call that forces a fund to sell also reduces the capacity of the participants who would normally absorb that selling. Supply of liquidity falls at the exact moment demand for it spikes.

flowchart TD
A["Prices fall"] --> B["Losses reduce equity"]
A --> C["Volatility rises, margins raised"]
B --> D["Margin call"]
C --> D
D --> E["Sell to raise cash"]
E --> F["Selling pushes prices down further"]
F --> A
E --> G["Liquidity providers pull back too"]
G --> F

6. Why the crowded trade is the dangerous one

The spiral has an implication that no single-portfolio risk model can produce, because it depends on positions the model cannot see.

If many participants hold the same position with similar leverage, they receive margin calls simultaneously and sell the same asset at the same time. The price impact each of them causes is inflicted on all the others, and each one's forced selling triggers the next.

This is why concentration in a crowded position is more dangerous than the position's own volatility suggests. The relevant question is not how volatile the asset has been but who else owns it, at what leverage, and what would force them to sell.

It also explains a pattern that looks paradoxical from the outside: positions that appear low risk by historical measures can be the most dangerous ones. Low measured volatility attracts leverage, leverage attracts more participants, and the crowd is the risk. The measured calm is not evidence of safety; it is part of the cause.

A risk model computed from your own book alone is structurally blind to this.

7. What survives a spiral

Since the loop cannot be avoided, the practical question is what makes a book able to sit through one.

Unused borrowing capacity. Leverage held below the maximum available is not idle capital; it is the ability to meet a call without selling. This is the single most effective defence and the most expensive in quiet periods.

Cash that is genuinely cash. Collateral that must itself be sold to be useful is not a buffer, because it is worth least at the moment it is needed.

Sizing to the liquidation price, not the expected loss. The relevant question is not what happens on a typical bad day but at what price the decision leaves your hands.

Diversity of funding. A single lender able to raise requirements unilaterally is a concentration even when the positions are not.

Each of these costs money continuously and pays only rarely, which is why they erode during long calm periods. That erosion is not usually a decision anyone makes. It is the cumulative result of many reasonable-looking optimisations, each of which improves returns in the environment that has been observed.

8. Two views of the same position

UnleveragedLeveraged
A 30% declineA loss, and a choicePossibly a liquidation
Time horizonYoursThe lender's
Being right eventuallySufficientOnly if you are still holding
Volatility risingUncomfortableA cash demand
Others selling the same assetIrrelevant to your survivalDirectly relevant
Worst caseThe position goes to zeroWorse: you exit at the low and owe the difference

The second row is the compressed version of the whole lesson. Leverage transfers the choice of when to exit from the holder to the lender, and the lender exercises it under a rule that fires in the worst conditions.

Everything else follows. Being right about the direction is insufficient if the path passes through your liquidation price. The relevant risk measure for a leveraged book is not a loss distribution but the distance to that price, and how that distance behaves when volatility rises.

Which leaves the question of how large a position should be in the first place. That is the last lesson.

Check your understanding

The lesson ends with a 5-question quiz. Take it in the player above to see your score.

  1. What does leverage change about a position beyond scaling gains and losses?
    • It introduces a lender who can force the exit, so the choice of when to close leaves the holder
    • It increases the volatility of the underlying asset
    • It shortens the settlement cycle
    • It requires the position to be marked at the bid rather than the mid
  2. What is the practical difference between initial and variation margin?
    • Initial margin is paid daily; variation margin is paid once
    • Initial margin is a returnable buffer; variation margin is the loss settled in cash and does not come back
    • Initial margin applies to derivatives only; variation margin to cash positions
    • They are two names for the same payment
  3. Why can a position breach its margin requirement without the price moving?
    • Because interest accrues on the borrowed amount
    • Because the notional is revalued at the bid rather than the mid
    • Because rising volatility raises the requirement itself, so required equity increases while equity is unchanged
    • Because variation margin is netted only weekly
  4. What did Brunnermeier and Pedersen show about margins?
    • That they are destabilising under certain conditions, making market and funding liquidity mutually reinforcing
    • That they should be set from expected shortfall rather than VaR
    • That central clearing eliminates funding risk
    • That initial margin is always sufficient to cover liquidation costs
  5. Why is a crowded position more dangerous than its own volatility suggests?
    • Because crowded assets have wider quoted spreads
    • Because exchanges raise margin faster on popular instruments
    • Because historical volatility is measured with more error when volume is high
    • Because similarly leveraged holders get margin calls at the same time and sell into each other, and each one's impact triggers the next

Related lessons

Business
intermediate

Practical Portfolio Construction: Minimum Variance, Risk Parity and Rebalancing

When expected returns cannot be trusted, portfolios are built from risk instead. Learn how to measure each holding's risk contribution, how minimum variance and equal risk contribution portfolios work and differ, what leverage does to them, and how rebalancing and turnover turn a weight rule into a real strategy.

10 steps·~15 min
Business
intermediate

Estimation Error: Why Optimized Portfolios Disappoint

Mean-variance optimization treats its inputs as facts, and they are estimates. See why expected returns are nearly impossible to estimate, how optimizers magnify the noise, why simple 1/N weighting is so hard to beat out of sample, and how shrinkage and constraints recover much of the loss.

10 steps·~15 min
Business
intermediate

Mean-Variance Optimization: The Mathematics of Diversification

Portfolio risk is not the average of the risks inside it. Learn Markowitz's mean-variance framework, how correlation sets the limit of diversification, how the minimum-variance and tangency portfolios are computed, and what the model quietly assumes about its inputs.

10 steps·~15 min
Business
intermediate

Does it work? Testing supply and demand zones honestly

Decades of research on support, resistance and chart rules find effects that are real, small and fragile. This lesson reviews that evidence, shows why a bounce rate is not a profit, and builds a mechanical zone detector in Python so the method's own predictions can be tested.

10 steps·~15 min