Quant interview toolkit · leverage and liquidation

A 30% price fall can force the sale before the recovery

An investor contributes £100, borrows £100, and buys £200 of an asset. A backtest shows the asset falling 30% and later returning to its original price. “No final loss” sounds plausible only if the investor can keep the position through the trough. A maintenance margin rule may end the trade first.

Equity is the residual

Let the asset value after a price decline dd be A(d)=200(1−d)A(d)=200(1-d), with dd written as a decimal. Debt remains £100 in this toy example. Account equity is E(d)=A(d)−100E(d)=A(d)-100. The equity ratio used in this illustration is

E(d)A(d)=1−100200(1−d).\frac{E(d)}{A(d)} =1-\frac{100}{200(1-d)}.

At the start it is 50%. After a 20% asset decline, assets are £160, equity £60 and the ratio is 37.5%. After a 30% decline, assets are £140, equity £40 and the ratio is about 28.6%. The asset lost 30%; the investor’s equity lost 60%. The denominator of the margin ratio is the current asset value, so the ratio itself changes nonlinearly.

Suppose a simplified agreement requires at least 30% equity. Solve 1−100/[200(1−d)]=0.301-100/[200(1-d)]=0.30 to find d≈28.57%d\approx28.57\%. Below that price, the account breaches the threshold. Real agreements have different definitions, cure periods, collateral rules and liquidation practices. The chart is a model of one rule, not an assertion about a particular broker.

Recovery is conditional on survival

If the asset falls 30% and then climbs from £140 back to £200, an unconstrained two-to-one position would end where it began before interest and fees. A margin-triggered sale near the trough instead locks in a loss and removes the exposure that would have benefited from recovery. The terminal asset price alone cannot describe the investor’s terminal wealth.

Even if an investor can add collateral, that cash has a cost and may not be available during a broader crisis. Forced selling can occur when liquidity is poor, making the fill worse than the midprice used in the margin arithmetic. The stop-order gap example shows the same execution problem from a different trigger.

Simulate the rule, not just the asset

A credible leveraged backtest updates asset value, debt, accrued interest, collateral and margin ratio after every price move at the contract’s monitoring frequency. When a breach occurs, it applies the actual policy: deposit cash, reduce exposure, or liquidate. It must not allow a position to earn later returns after the simulated liquidation. Stress paths with the same final price but different troughs; they can lead to opposite investor outcomes.

How much sale restores the ratio?

Suppose assets have fallen to £140 and debt is still £100. Equity is £40. If selling assets at current value repays debt dollar for dollar, a sale of £20 leaves assets £120 and debt £80, so the equity ratio becomes 40/120=33.3%40/120=33.3\%. Equity itself did not rise; the denominator and debt both fell. In a real forced sale, fees and market impact reduce equity, so the required sale can be larger.

The maintenance rule may also be checked continuously, at set times, or after a broker’s own valuation update. Those details determine when a breach is detected and what prices are available. A stress analysis should not hide them inside a generic “30% drawdown” assumption.

Leverage rises as the asset falls

Equity / asset value (%)
Maintenance threshold (%)
Equity / asset value (%)Maintenance threshold (%)

Buy £200 of assets with £100 equity and £100 debt. The horizontal reference is a 30% maintenance threshold.

Practice

Quarter dropWhat are assets, equity and the equity ratio after a 25% asset decline?
Show answer
Assets are £150, equity £50, and the equity ratio is 50/150=33.3%50/150=33.3\%.
PathWhy can two price paths with the same starting and ending price give different leveraged-account returns?
Show answer
One path may breach maintenance margin and force liquidation or a cash deposit before the common ending price is reached.