Leverage, Liquidity and Crises
A levered fund loses five percent. What must it sell, to whom, and what does that sale do to everyone holding the same thing?
This is the part where the series' crisis files meet. Leverage turns a price fall into a forced sale; the sale moves the price; lenders raise margins because volatility rose; the fund sells again. The loss spiral and the margin spiral are iterated on screen. Fire sales spread losses to institutions with similar holdings, and a network of mutual debts spreads default, with the striking result that the network safest against small shocks is the most dangerous against large ones. Then five crises told with their numbers: LTCM in 1998, the run on the shadow banks in 2007-08, the dash for cash in March 2020, Shanghai in 2015, and the rate shock and bank runs of 2022-23.
What you need. Parts 2, 21 and 40.
What you will be able to do
Undergraduate
- Explain how leverage, margin calls and falling prices reinforce each other.
- Tell the story of one of the five crises with its mechanism and its numbers.
Master's
- Iterate a deleveraging spiral and compute its amplification; compute fire-sale spillovers across institutions.
- Solve for the clearing payments of a network of debts; compute CoVaR, MES and SRISK; find a bank's run threshold.
PhD
- Prove existence and uniqueness of the clearing vector (Eisenberg and Noe), the fictitious default algorithm, and the phase transition in contagion between the ring and the complete network.
Industry
- Run a liquidity stress test on a levered book: which positions are sold first, at what haircut, and who else is selling.
Contents
Each chapter has a home level. Choose a track to see what to read and watch: Undergraduate 16 min · Master's 52 min · PhD 59 min · Industry 40 min.
- 0What must a levered fund sell?Undergraduate3 min
- 1Leverage and its cycleUndergraduate3 min
- 2SpiralsUndergraduate4 min
- 3Fire salesMaster's4 min
- 4NetworksMaster's4 min
- 5Measuring systemic riskMaster's5 min
- 61998: Long-Term Capital ManagementIndustry3 min
- 72007-08: the run on the shadow banksIndustry3 min
- 8March 2020: the dash for cashIndustry3 min
- 92015: a leveraged boom in ShanghaiIndustry3 min
- 102022-23: rates, runs and a rescueIndustry5 min
- 11Rule 41: survive the margin call you have not been sentIndustry6 min
- For the researcher: the clearing vectorPhD8 min
- Recap, desk questions, problemsAll tracks5 min
Also on this page: Lecture · Key results · Try it · Lab · Problems · Reading · 中文 · Build the film.
Lecture
The text of each chapter is the film's narration, as it is spoken, so you can read along or revise without the film. The pictures are in the film.
What must a levered fund sell?Undergraduate3 min
Leverage, liquidity and crises: how borrowed money and short funding turn small losses into forced sales, forced sales into spirals, and one firm's trouble into everyone's. From LTCM to Silicon Valley Bank, with the mathematics of each.
What this part illustrates. In the chosen spiral, a three percent shock ends as a 22 percent fall, 7.3 times larger; these are model outputs, not an estimated universal multiplier. In our symmetric ten-bank complete network, shocks within the half-dollar buffer cause no default; above that buffer and up to 5, only the shocked bank fails; beyond it all ten fail. In a chosen run game with early liquidation value eighty-five percent, the limiting threshold is 1.49, under specified payoff and signal assumptions. Solvency alone need not prevent a run. And during March twenty twenty, the Treasury yield rose from 0.54 to 1.18 percent between March ninth and eighteenth, while stocks fell.
Why it matters. LTCM, Bear Stearns, Lehman, AIG, Archegos, Silicon Valley Bank and Credit Suisse illustrate failures, rescues and acquisitions, with different legal and economic outcomes. Crises helped shape capital and liquidity ratios, central clearing, stress tests and resolution planning; no single event explains every rule. And the proposed House books need financing. Part forty measured potential losses; this part asks how funding terms affect survival.
And what this part is not. It is not prediction: no model here says when the next crisis comes, only how a shock grows and what makes a system fragile. It is not blame: firms appear as the public record describes them. And it is not advice.
Where this sits. Act seven, the system. Part forty measured risk one firm at a time. This part follows leverage and liquidity across firms, into crises. Then Part forty-two lets machines into the market, and Part forty-three asks whether any of it beats the market.
Forty years of crises, and of the theory that followed them. Diamond and Dybvig's bank runs; the crash of nineteen eighty-seven; Shleifer and Vishny's limits to selling; LTCM. Eisenberg and Noe's clearing, Lehman and AIG, Brunnermeier and Pedersen's spirals, Geanakoplos's leverage cycle. Then Shanghai and the contagion threshold, SRISK, the dash for cash, and the runs of twenty twenty-three.
The plan: leverage and its cycle; spirals and fire sales; networks of obligations; systemic risk measured; five crises from public data; bank runs and the House's own liquidity stress; and the theorem behind network clearing, proved.
In the House, the treasury and funding desk joins the risk function, and asks a question no risk number answers on its own: if every lender wanted more at once, what would the House have to sell?
A desk question to start. A fund at five times leverage loses ten percent. Its lender raises the haircut on its collateral from twenty to thirty percent. Pause and predict: how much must it sell?
1Leverage and its cycleUndergraduate3 min
In the chosen example the fund sells 56.7 out of 90, or about sixty-three percent of remaining assets. The initial loss takes equity from twenty to 10; the thirty-percent haircut permits only 33.3 of assets. The amount follows from fixed debt, a binding collateral cap and debt-repaying sales. Real contracts, fees and price impact may change the requirement; the exercise illustrates the mechanism rather than explaining every crisis by one balance sheet.
The arithmetic for a fixed balance sheet. Assets equal equity plus debt. Leverage is assets divided by equity. The equity return is leverage times the asset return, minus leverage less one times the debt return. If debt has zero return and there are no hedges or other claims, an asset fall of one over leverage exhausts equity: twenty percent at five times and about three point three percent at thirty times. This is a balance-sheet approximation, not a complete bank valuation.
The collateral constraint. A secured lender advances one minus the haircut times collateral value. In this single-book model, equity must fund the haircut, giving maximum leverage one over h. A higher haircut forces a sale when the holder exceeds the new cap. A holder already below it need not shrink. Multiple collateral pools, offsets and contractual terms can change the constraint.
The table uses one hundred of assets and twenty of equity. With no loss, moving the haircut from twenty to thirty percent forces a third of the remaining book to be sold. After a ten percent asset loss, assets are ninety and equity ten. A forty percent haircut permits twenty-five of assets, about twenty-eight percent of the ninety remaining. The sale is about seventy-two percent. These two balance-sheet shocks compound.
Hyman Minsky's three kinds of borrower. Hedge finance: income covers interest and principal. Speculative finance: income covers the interest, and the principal must be rolled over, so the borrower depends on lenders. Ponzi finance: income covers neither, and the borrower depends on rising prices. His point was that calm years move borrowers down the list: stability breeds instability.
Charles Kindleberger's anatomy of a crisis. A displacement, a new technology or policy, opens profits; credit expands into a boom; prices outrun income in euphoria. Insiders sell in distress, and then everyone sells in panic. He found the same five stages from the South Sea Bubble onward; this part's crises follow them too.
John Geanakoplos's leverage cycle, in a heterogeneous-belief collateral model. Marginal buyers' valuations and financing constraints jointly help set price. Generous collateral terms let optimistic buyers hold more of the supply. Bad news and tighter haircuts can force those constrained buyers to sell to less optimistic investors, amplifying the price move. This mechanism is conditional on the model's trading and collateral structure; it is not a theorem that every optimist is wiped out.
Two kinds of liquidity. Market liquidity: how much a sale moves the price, Parts thirty-six and thirty-seven. Funding liquidity: how easily a position can be financed, Parts two and twenty-one. And they feed each other: lower prices raise margins, higher margins force sales, and sales lower prices.
Pause and predict. A leveraged holder owns a large share of an asset's market. News knocks three percent off the price. If it must keep its margin, and margins rise as prices fall, how far can the price end up falling?
2SpiralsUndergraduate4 min
And the answer to the pause: in this model, about 22 percent, 7 times the shock. Forced sales alone take the price down 14 percent; margins that rise as the price falls take it further. Markus Brunnermeier and Lasse Pedersen called these the loss spiral and the margin spiral.
A minimal version, in the House's spiral function. A holder at five times. Its margin rises as the price falls, by an amount kappa that measures how nervous lenders become. Each round it cuts its position to what its equity can carry, and its sales push the price down, marking everything it still holds lower.
Two spirals. The loss spiral: a price fall shrinks equity, the holder sells to keep its leverage, and the sale lowers the price again. The margin spiral: lenders facing more uncertainty raise margins, so leverage itself must fall, and the sales are larger still. Both run through the same market, at the same time.
The price, round by round, after a three percent shock. With constant margins, each round's sale is smaller than the last, and the price settles 14 percent down. With margins that rise as it falls, the early rounds are larger, and it settles 22 percent down, in fewer rounds.
By how nervous the lenders are. With fixed margins, a three percent shock becomes 14, and the holder sells 47 of its hundred units. As margins become more sensitive, the fall reaches 23 percent, 7.6 times the news, and the holder sells 87 units: nearly everything, into a market it is itself pushing down.
By the size of the news. A one percent shock: the loss spiral turns it into 8 percent, and with the margin spiral, 19. An eight percent shock ends at 27. With nervous lenders, the outcome barely depends on the size of the news: once the spiral starts, it runs until the leverage is gone. That is a tipping point, not a proportional response.
And by the depth of the market. The deeper the market relative to the forced seller, the smaller the spiral: from 43 percent when the holder is very large to 6 when the market is four times deeper. Crowded trades are dangerous because everyone in them is the large holder.
The evidence. Gary Gorton and Andrew Metrick measured haircuts on repo against securitised bonds rising from near zero in early twenty oh seven to around forty-five percent by late twenty oh eight: a run on repo, as a margin spiral. Futures exchanges raise margins after volatility jumps, and in silver in twenty eleven and across markets in March twenty twenty the increases came during the falls, as reported. And the assets hardest to sell and to finance fall furthest: the flight to quality.
What stops it. A lender of last resort, by Walter Bagehot's rule: lend freely, against good collateral, at a penalty rate. A central bank that accepts the asset at a stable haircut breaks the margin spiral. Margins set through the cycle, so they need not rise as much in the bust. And, in twenty oh eight and twenty twenty, central banks as buyers of last resort, replacing the depth that forced sellers had used up.
Pause and predict. Five chosen banks hold mortgage securities, loans and government bonds at leverage fifteen to thirty. Mortgage values fall five percent. Use the unchanged high-leverage approximation, sales equal leverage times the first loss, and the chosen impact coefficients. How do the resulting second-round marks compare with the first losses? Distinguish this approximation from exact leverage restoration.
3Fire salesMaster's4 min
And the answer to the pause: comparable. The first loss costs the five banks 34 percent of their equity; the fire sales it forces cost another 28 percent. And for the banks that held few mortgage securities, the fire-sale loss is larger than the one the news itself caused them. The loss travelled through prices, not through any contract between them.
Andrei Shleifer and Robert Vishny's insight. When an industry's assets must be sold, the buyers who value them most are the industry's own firms, hit by the same shock. So outsiders buy only at a discount: a fire-sale price, below the asset's value in normal times. And because every holder marks the asset at that price, one firm's sale is every firm's loss.
A stylized implementation inspired by Greenwood, Landier and Thesmar. The first-round change equals holdings times the asset-return shock. The unchanged code sells leverage times the positive loss, allocated proportionally. This is a high-leverage approximation: exact restoration of the original leverage after a dollar loss, with sale proceeds repaying debt, sells leverage minus one times that loss. Linear price impact depends on dollars sold and chosen illiquidity coefficients. The code marks post-shock holdings at the induced price change, producing a stylized second-round loss, not a full multi-round equilibrium.
Five stylised banks. Each holds mortgage securities, loans and government bonds in different proportions, at leverage from fifteen to thirty. Bank D is the most levered and the most exposed to mortgages; bank C holds mostly government bonds. Mortgage securities are the illiquid asset: selling them moves their price ten times more than selling bonds.
A chosen five percent mortgage-security fall. First losses follow the mortgage holdings. Under the unchanged leverage-times-loss approximation, aggregate sales are 1,295 billion dollars. Exact leverage restoration would instead use leverage minus one; we preserve the original outputs and label the approximation. Linear impact then creates second-round marks. Bank E loses 2.5 billion initially and 4.1 in that second round. These are illustrative bank holdings and impact coefficients.
One number for the system. Aggregate vulnerability: the fire-sale loss as a share of all the banks' equity. Here 28 percent, from a five percent move in one asset. If that asset were twice as hard to sell, 50 percent. Greenwood, Landier and Thesmar applied it to European banks' sovereign holdings in twenty eleven.
Evidence from mutual funds. Coval and Stafford studied extreme flows, funds' existing holdings, and the price pressure associated with their forced trades. Subsequent recovery supports the price-pressure interpretation in that research design. Recovery by itself does not identify a purely noninformational discount: common news, selection and changing expected returns must also be considered. Bond-fund stress in March twenty twenty and Archegos block sales provide related episodes, with their own institutions and evidence.
The broader lesson. Common holdings are a network: two banks that never lend to each other are linked if they own the same assets, which Rama Cont and Eric Schaanning call price-mediated contagion. So diversification can concentrate: if every bank diversifies into the same assets, each is safer alone and all are exposed to one fire sale. A bank's own stress test misses the others' sales; a system's must include them.
Pause and predict. Ten banks each owe the others six dollars in total and have a buffer of half a dollar. Bank one suffers a loss. Is the system safer if each bank owes all nine others a little, or owes only its neighbour?
4NetworksMaster's4 min
In the chosen symmetric senior-debt model, the effect of links depends on shock size and interbank debt relative to the buffer. With no more than a half-dollar shock, nobody defaults. Above that and up to five, only the directly hit bank defaults in the complete network. Above five all ten default for our chosen debt level. This phase transition is conditional on the model; it does not rank every real network or imply that one bank must fail after any arbitrarily small loss.
How interbank payments clear, after Larry Eisenberg and Thomas Noe. Each bank owes a total to the others. A defaulter pays its creditors in proportion to what it owes them. And each bank pays in full, or pays everything it has: its outside assets plus what the others pay it. A clearing vector solves every bank's equation at once.
Five banks. Arrows are debts, thicker for larger; each bank also holds some outside assets. The fictitious default algorithm starts by assuming everyone pays, finds who cannot, recomputes, and stops: here after 2 rounds. Bank A, with little outside, pays 3.5 of its 5; the shortfall passes to its creditors, who absorb it.
A sharper version. Each bank holds a project worth a, owes v to senior outside creditors first, and y to other banks; one bank takes a shock epsilon. A minus v is each bank's buffer. And the same total interbank debt can be arranged as a ring, each owing only its neighbour; as a complete network, each owing all the others a little; or as clusters.
Ten banks, each owing six to the others and with a buffer of half a dollar. In the ring, defaults climb step by step with the shock: each failure passes the loss to the next bank. In the complete network, nothing spreads at all, until the shock passes five, and then all ten fail together.
Why five for these chosen parameters. Let b equal a minus v, positive. The hit bank defaults only when epsilon exceeds b. If all other banks pay, its interbank shortfall is the smaller of y and the positive part of epsilon minus b. That shortfall is shared among n minus one creditors. If y exceeds n minus one times b, a sufficiently large hit can breach every creditor's buffer, giving the threshold epsilon above n b. Here y is six, exceeding nine times a half. Below the half-dollar buffer there is no default; up to five, only one; above five, all ten. Without the debt-size condition, this conclusion need not hold.
The third chosen network has two groups of five and a two-percent cross-group share. Over this finite shock grid, the maximum default count is 5. The weak link limits transmission in this example. That is not a universal five-bank cap or a global ranking of all clustered networks. The literature's comparisons depend on the admissible network class, liabilities, buffers and shock regime.
And real networks. They are core and periphery: a few large dealers linked to everyone, robust to random failures and fragile to the failure of a hub. Simulations on supervisors' interbank data found direct contagion rarely large on its own, as surveys reported: it is the combination with fire sales and runs that bites. And central clearing, Part twenty-one, replaced many bilateral links with one hub per market.
Pause and predict. Three financial industries: banks, insurers and other finance. Which matters most for the market in a crash: the one that falls the most, or the one whose distress moves the market the most?
5Measuring systemic riskMaster's5 min
These are different descriptive questions. In the selected market's worst five-percent days, other-finance returns average a 3.8-percent loss and insurers a 2.7-percent loss. Fitted delta CoVaR instead compares the system quantile at an industry's tail and median state, and gives a different ranking. Exposure and conditional association are distinct; neither industry regression identifies a causal contribution to a crisis.
CoVaR, after Adrian and Brunnermeier. In a correctly specified continuous conditional model, it is the system-return quantile at a chosen institution-return state. Conditioning on an exact return is defined through that conditional distribution, not by selecting observations equal to one number. Here a linear quantile regression is approximated by finite iteratively reweighted least squares. Specification and numerical error remain. Delta CoVaR is the fitted difference between institution tail and median states. It is a conditional association, not an identified causal effect.
Retrospective daily data from nineteen ninety to twenty twenty, with industry portfolios standing in for firms. The fitted market five-percent quantile difference is -1.29 percentage points for banks, -1.37 for insurers and -1.45 for other finance. MES instead averages each industry's return on the market's worst days. These rankings differ because the conditioning questions differ. The estimates have sampling and specification uncertainty and are not causal effects of putting an institution into distress.
Over time, in two-year windows. All three are quiet in calm years and plunge together in the crises: the deepest reading, -3.3 percent, comes in the window around twenty oh eight. A systemic measure built from market prices sees the crisis as it arrives, which makes it a thermometer more than a forecast.
Exposure is a different question. This chapter defines MES as average institution return on the market's worst five percent of days, usually a negative number. Its connection to a portfolio ES contribution needs suitable linear-loss and smooth-tail conditions. For the long-run heuristic, switch signs to a positive loss m, then use one minus exp of minus eighteen m. The customary motivation uses a two-percent daily tail; our unchanged illustration feeds it a five-percent industry proxy. A chosen three-percent positive loss maps to roughly forty-two percent. It does not validate a firm-specific six-month crisis forecast.
SRISK, after Brownlees and Engle. For debt D, market equity E and a crisis loss fraction L, shortfall is k D minus one minus k times one minus L times E. The one-minus-k factor is essential. We choose k equal to eight percent; that is a modeling parameter here, not a certification of current capital requirements. For aggregate capital need, sum positive shortfalls rather than netting surpluses across firms. The debt, equity and crisis-loss inputs must match the intended model.
An explicitly approximate Lehman illustration. Its reported fiscal year-end balance sheet has six hundred ninety-one billion dollars of assets and twenty-two point five billion of book equity. We use other-finance industry returns on the market's worst five percent of two thousand seven days, a positive loss input of 4.0 percent. The heuristic maps this to 51 percent. Inserting it and book equity gives 43 billion dollars. Because both industry MES and book equity replace firm-specific market inputs, this is not standard estimated Lehman SRISK or a validated advance capital forecast.
In the historical policy framework. Since twenty eleven the Financial Stability Board has published an annual list of global systemically important banks using five indicator categories: size, interconnectedness, substitutability, complexity and cross-border activity. These are categories containing multiple indicators, not just five measured variables. The Basel bucket framework specifies additional capital surcharges, including levels from one to three and a half percentage points; implementation and occupied buckets are separate questions. Published market measures such as SRISK offer another perspective for listed firms, under their own model and data assumptions.
Limits of these measurements. Our full-sample and two-year windows describe realized stress. Establishing advance predictive information would require a separate past-measurable out-of-sample design; market prices are not inherently devoid of forward-looking information. A high delta CoVaR may reflect transmission or shared exposures; this regression alone cannot separate them. Many funds have observable prices, but coverage, valuation frequency and financing exposures differ. Missing bilateral data and delayed marks remain substantial limits.
Pause and predict. In early nineteen ninety-eight a hedge fund held about a hundred and twenty-five billion dollars of assets on four point seven billion of capital, mostly in trades betting that spreads would narrow. What move would have wiped it out, and who would have had to sell?
61998: Long-Term Capital ManagementIndustry3 min
Dividing reported capital of four point seven billion dollars by assets of one hundred twenty-five billion gives 3.8 percent. A uniform asset-value fall of that size exhausts equity under fixed debt, at 27 times leverage. It is not a spread-basis-point threshold or a full derivatives loss model: those need duration, convexity, offsets and financing terms. Common positions and counterparty exposures made a rapid liquidation dangerous, helping motivate a privately financed recapitalization facilitated by the New York Fed.
The book as historically reported. One hundred twenty-five billion dollars of assets and four point seven billion of capital. That is about 27 times balance-sheet leverage. Gross derivatives notional was about one point two five trillion dollars. Notional measures contractual scale, not net market exposure or a loss amount, and cannot simply be added to balance-sheet assets. Positions included convergence trades between related securities. Their risks depended on sensitivities, basis, crowding and financing, rather than the apparent small spread alone.
Why apparently diversified positions can suffer together. Other funds and dealers held similar relative-value positions, making liquidation crowded. Russia's August nineteen ninety-eight default accompanied a broad flight toward liquidity; many convergence positions lost together. This is not evidence that every spread widened or every correlation equaled one. Shared funding and liquidation exposure can connect positions across countries and asset classes, even without identical underlying cash flows.
One descriptive public yield difference. Baa corporate yields minus the ten-year Treasury were near 1.7 percentage points at the selected early-August observation. The difference reached 2.8, while the Treasury yield's annual minimum was 4.16 percent. Those peaks and lows need not occur on the same day. The series combines credit, liquidity and maturity effects; it is not LTCM's complete book or evidence that every convergence trade had identical exposure.
The resolution. On the twenty-third of September, fourteen banks, convened by the New York Fed, put in three point six billion dollars for ninety percent of the fund, with no public money lent, as the Fed testified. They agreed because liquidating the book at once would have forced all of them to sell the same positions into the same market: a coordinated fire sale avoided. And the Fed cut rates three times that autumn, a precedent debated for a decade.
Three lessons. Thin equity amplifies asset losses. The roughly four-percent uniform-loss calculation is a balance-sheet bridge, not a reconstruction of LTCM's actual trading losses. Each lender saw only part of the aggregate book, complicating counterparty risk management. Funding and liquidation can be common risk factors. Calm-window risk estimates can miss their stressed behavior; neither diversification nor a low recent VaR proves that exit liquidity will remain available.
Pause and predict. The TED spread, the gap between three-month interbank lending rates and Treasury bills, averaged under half a percentage point before twenty oh seven. How high did it go in October twenty oh eight, and what does it measure?
72007-08: the run on the shadow banksIndustry3 min
The TED spread reaches 4.58 percentage points on 20081010, compared with a roughly 0.46 median over the first two hundred fifty observations. It is three-month dollar LIBOR minus the Treasury-bill yield. Bank credit risk, term funding liquidity and demand for Treasury safety all affect it. Calling it pure trust or a default probability would discard those components.
A stylized funding chain. Mortgages were pooled and sliced into different-risk securities and tranches. Dealers, conduits, investment vehicles and funds held different instruments; money funds often supplied short funding rather than holding the same mortgage assets directly. Repo and commercial paper financed longer assets. Ordinary deposit insurance did not cover these wholesale claims, although bank backstops and eventual emergency support varied. Credit derivatives transferred some credit risk. AIG's collateral calls could follow market-value changes as well as rating downgrades, under the contracts' terms.
Two FRED yield differences. TED rose during several funding-stress episodes, including August two thousand seven and the period after Lehman's failure. Its components include bank credit and liquidity risk and Treasury-bill safe-haven demand. Baa yields minus the ten-year Treasury move from a roughly 1.7-point early median to a 6.2-point peak. That difference also contains liquidity and maturity effects; it is not a matched-maturity credit-default-swap spread. Two plotted series do not identify a causal sequence from funding to credit losses.
The sequence, from the public record. August twenty oh seven: BNP Paribas freezes three funds, and interbank rates jump. March twenty oh eight: Bear Stearns cannot roll its repo and is sold to JPMorgan with Federal Reserve support. September: the government takes over Fannie Mae and Freddie Mac, and Lehman files for bankruptcy on the fifteenth. The next day, AIG's collateral calls bring an eighty-five billion dollar Fed loan, and a money market fund breaks the buck. In October, public capital and guarantees.
Two failures, two mechanisms. Lehman, at about thirty-one times, with much of its funding overnight, lost its lenders over a weekend, and its failure froze its prime-brokerage clients' assets in London, as reported. AIG had sold protection on hundreds of billions of senior tranches; downgrades and falling prices triggered collateral calls it could not meet. Both were Chapter one's arithmetic: thin equity, and lenders demanding more exactly when it was scarcest.
Runs can also reach cash-management funds. Many money market funds sought a stable one-dollar net asset value with daily redemption; that target was not an insured bank-deposit promise. The Reserve Primary Fund's Lehman exposure contributed to its breaking the buck in September two thousand eight. Large redemptions from prime funds impaired commercial-paper funding. The Treasury's temporary guarantee and Federal Reserve liquidity programs were separate emergency interventions, rather than proof that fund shares had always been insured.
The response. The Fed lent to dealers, money funds and commercial-paper issuers, then bought mortgage securities outright: lender, then buyer, of last resort. Governments put capital into the banks, and from twenty oh nine stress tests told markets how much each needed. And the rules that followed: Basel three's capital and liquidity ratios, central clearing, resolution plans and surcharges for the systemic banks.
Pause and predict. Between the ninth and the eighteenth of March twenty twenty, American stocks fell sharply. What happened to the yield of the ten-year Treasury, the world's safest asset, and why?
8March 2020: the dash for cashIndustry3 min
The ten-year Treasury yield rises from 0.54 percent on March ninth to 1.18 on March eighteenth, twenty twenty, while stocks fall. Treasuries often attract safe-haven demand, but urgent cash needs can also induce sales of liquid government securities. Official reviews describe several selling sectors and constrained intermediation. This price co-movement motivates those mechanisms; by itself it does not identify every seller or prove one cause.
Two charts from public data. On the right, American stocks: down about 31 percent from the start of February at the low. On the left, the ten-year Treasury yield. Through February it falls, as it should: a flight to safety. Then, in the week of the ninth to the eighteenth of March, it rises as stocks keep falling. The safe asset was being sold.
Official reviews describe several sellers. Foreign official holders sold Treasuries while seeking dollar liquidity. Open-end funds sold liquid holdings to meet redemptions. Some leveraged relative-value funds unwound cash-futures positions. Dealer intermediation capacity faced risk-management, balance-sheet and regulatory constraints. The supplementary leverage ratio was one constraint, not a complete causal explanation, and funding terms did not tighten identically for every trader.
A Treasury cash-futures basis trade. Buy a cash bond using repo financing, often at high leverage. Short Treasury futures with approximately offsetting duration. Futures minus cash minus carry is shorthand: actual pricing needs the conversion factor, cheapest-to-deliver bond, delivery options and repo specials. The residual basis is not a riskless few basis points. Variation margin, basis movements, residual duration and financing rollover can all force cash needs. Some traders faced tighter funding; a universal increase in every repo haircut is not established here.
Funding stress, again. Three-month commercial paper went from 1.59 percent in mid-February to 2.53, even as the Fed cut rates to zero: a market that had stopped working. And the Baa credit spread roughly doubled, to 4.31 points. Prime money funds again lost billions in days, as in twenty oh eight.
The response came in days, not months. On the fifteenth: rates to zero, seven hundred billion dollars of purchases, cheaper dollar swap lines. Then the twenty oh eight facilities, revived in two days. On the twenty-third, purchases in whatever amounts were needed, and for the first time corporate bonds. A repo facility so foreign central banks could borrow against Treasuries rather than sell them. And relief from the leverage ratio, so dealers could hold them. The yield fell back, and stocks bottomed on the twenty-third.
Compare carefully chosen episodes. The acute March twenty twenty disruption included Treasury, money-fund and commercial-paper markets; two thousand eight involved a broader credit and banking crisis. Twenty twenty was not a world without losses: pandemic news changed expected cash flows and asset values while urgent cash needs disrupted trading. Dealer capacity and financing mattered alongside capital, risk management and market structure. Acute Treasury dysfunction eased after extensive interventions, but comparing two weeks with an eighteen-month financial crisis mixes definitions. These charts cannot isolate the interventions' causal effect or certify the status of later market reforms.
Pause and predict. From the middle of twenty fourteen, China's Shanghai Composite index more than doubled in a year, much of the buying done with borrowed money. How far did it fall, and how fast?
92015: a leveraged boom in ShanghaiIndustry3 min
The observed Shanghai Composite peak is 5,166; the subsequent low in the original eighty-observation search is 2,927, a 43 percent fall in roughly eleven weeks. Account-level studies separately document margin constraints and forced selling. This aggregate index chart alone does not identify the fraction of the decline caused by margin calls.
The index, from public data. From about 2,050 in July twenty fourteen it rose 152 percent in eleven months. Then it fell by more than four tenths in under three months, with days of eight percent falls. And in the first week of twenty sixteen, two more: -6.9 and -7.0 percent, the days of the circuit breaker.
How the boom was financed. Brokers' margin loans passed two trillion yuan. And around them a grey market: umbrella trusts and lending platforms that gave retail investors five or ten times leverage, with automatic liquidation. Bian, He, Shue and Zhou later traced it account by account. In June the regulator moved to curb the grey channel. The rest was Chapter three, with a lock on the door: forced sales hit the ten percent daily limit, a seller who could not sell one stock sold another, and the selling spread.
The response, as reported. A national team: state-backed buyers financed through the securities finance company, with central-bank money. Large shareholders were barred from selling, and new listings stopped. And in early July around half the listed companies suspended trading in their own shares. If you cannot sell what you hold, Chapter three says you sell what you can: the stocks that stayed open, and markets abroad.
The short-lived historical circuit breaker used the CSI three hundred, not the Shanghai Composite plotted above. From January fourth, twenty sixteen, a five-percent move in either direction ordinarily triggered a fifteen-minute market-wide halt; at or after two forty-five, it closed trading for the day. A seven-percent move in either direction also ended the day. On January fourth the downward triggers were reached; the separate Shanghai closing return here is -6.9 percent. On January seventh trading ended within roughly half an hour, with Shanghai at -7.0 percent. The mechanism was suspended that evening. Those Shanghai returns are observations, not the CSI trigger values.
Why a trading barrier can attract trading. A trader anticipating future cash needs loses the option to sell while a halt is in force. In some models this encourages earlier selling near the threshold. That can accelerate a decline: a possible magnet mechanism, not a universal empirical law or a causal conclusion from two index returns. Design matters. Historical US market-wide rules use seven, thirteen and twenty percent declines, with lower-level pauses before three twenty-five and a twenty-percent closure. Comparing designs requires their time-of-day exceptions, reopening rules and market conditions.
Pause and predict. In a chosen balance-sheet example, a bank's bonds have book value one hundred but market value eighty-five, and deposit liabilities are ninety. What are book and marked equity, and what additional information is needed to assess its ability to meet withdrawals?
102022-23: rates, runs and a rescueIndustry5 min
In the chosen example, book equity is one hundred minus ninety, or ten. Marked equity is eighty-five minus ninety, or minus five. Holding a bond to maturity can avoid a forced sale, but does not erase its current economic value loss, opportunity cost or funding obligations. Meeting withdrawals requires cash, collateral capacity, operational access and viable funding. This toy calculation illustrates a mechanism; it is not a complete valuation or solvency determination for Silicon Valley Bank.
London, September twenty twenty-two. Some liability-driven investment funds used gilt and derivatives exposures with leverage to hedge pension liabilities. Gilt yields rose sharply around the September mini-budget announcement. Collateral calls and gilt sales amplified market dysfunction. The Bank of England's temporary purchases ran from September twenty-eighth through October fourteenth: thirteen business days, not thirteen calendar days. The initial daily limits and eligible instruments were expanded during the intervention; this is a historical market-functioning episode.
SVB Financial Group's reported end-two-thousand-twenty-two balance sheet provides context. Deposits are 173 billion dollars, mostly uninsured and concentrated among technology firms and investors. The unchanged illustration records 91.3 billion of held-to-maturity securities at cost and 76.2 at fair value. Their 15.1-billion pretax gap is close to 16.0 billion of group book equity. Simply subtracting it omits taxes, other valuations and bank-versus-group differences; it is not a regulatory or economic solvency proof. The Fed review reports over forty billion leaving March ninth, management expecting over one hundred billion more the next day, and closure on March tenth. The actual outflow and expected further outflow are different quantities.
A chosen run-game illustration inspired by Diamond and Dybvig, rather than their complete liquidity-type contract model. Depositors form a continuum, are risk neutral, and each may request one now. Assets pay theta later or r under early liquidation. Early withdrawal pays one while f is at most r, then r divided by f; at f zero use payoff one by convention. Waiting pays theta times one minus f over r, divided by one minus f, for f below r, and zero once f reaches r. The green line includes that zero branch. With theta above one, no-run is an equilibrium. Everyone running is also an equilibrium: an individual who waits receives zero. This illustrates coordination failure under stated payoffs, not every feature of real deposits.
A selected global-games limiting calculation. The payoff structure, a locally flat prior and a vanishing private-noise argument give a uniform rank belief about other depositors' withdrawals. Conditional on those assumptions, the marginal depositor's expected wait-minus-run gap is zero at the threshold. This integral alone is not a general uniqueness proof for all banking games. We choose r equal to 0.85, giving 1.49. This is not a calibration of SVB's securities or funding structure. If half the depositors are assumed insured and never run, the threshold becomes 1.07. The unchanged finite quadrature and bisection give noisy-signal thresholds from 1.34 to 1.48 across the chosen decreasing noise levels. Their approach to the limiting number supports this numerical illustration, not a universal equilibrium theorem.
Two descriptive FRED series. The two-year Treasury yield moves from 0.78 to a 5.19-percent maximum over the selected twenty-twenty-two and twenty-twenty-three window. This two-year extract does not establish a forty-year speed record, and individual bonds differ in duration and hedging. Seasonally adjusted aggregate commercial-bank deposits fall by 352 billion dollars between the selected weekly observations around March first and twenty-second. This is a net aggregate change. Transfers between banks alone do not lower aggregate bank deposits, and this series does not identify a decomposition into money-fund flows, within-bank shifts or other causes.
Historical outcomes in March and May twenty twenty-three. Signature Bank was closed on March twelfth; First Republic was sold to JPMorgan in May after large deposit outflows. Swiss authorities arranged Credit Suisse's acquisition by UBS following sustained losses and severe liquidity pressure. FINMA's March twenty-third statement explained its AT1 write-down decision by reference to the instruments' viability-event clauses and the emergency ordinance. Shareholders receiving consideration did not make every jurisdiction's creditor hierarchy identical. This lesson does not assert a present-day litigation outcome or legal conclusion.
Policy changed funding incentives through concrete institutions. The historical systemic-risk exception protected all depositors of SVB and Signature in resolution, not every deposit at every bank in advance. The BTFP offered eligible institutions recourse advances against eligible securities valued at par, for up to one year, at a stated interest rate. Eligibility, March-twelfth ownership and repayment still mattered. A par collateral loan creates liquidity; it does not erase economic losses or literally set every bank's liquidation payoff to one. Nonbank funds and dealers also require attention. These episodes motivate measuring their financing links, rather than forecasting where the next run must begin.
Pause and predict. A proposed teaching book holds the market at two times leverage with a twenty-five-percent haircut. Replay the worst market day within two thousand eight and double the haircut. What fraction must be sold? If positions equal half a day's normal volume, what volume-equivalent time follows from a ten-percent participation assumption, and why is that not an execution guarantee?
11Rule 41: survive the margin call you have not been sentIndustry6 min
The chosen public-market stress. The worst market return within two thousand eight occurs on December first, a 8.96 percent fall. This assumes the entire teaching book moves like that market, not a sealed strategy's realized path. At two times, equity one becomes 0.82. A fifty-percent haircut caps assets at twice that equity. The required sale is 10 percent of remaining assets. Positions equal to half a normal day's volume imply 0.5 volume-equivalent days at ten-percent participation. Actual depth, prices, volume and trading halts can prevent execution. This calculation is not a liquidity certificate.
Chapter eleven. A proposed treasury and funding rule for a teaching book. Its inputs here are ordinary public market returns and chosen financing assumptions. It does not read a sealed strategy outcome, certify live positions, or establish actual broker commitments. The exercise asks what a specified loss and haircut shock would require, and where the assumed ability to sell can fail.
The same chosen stress across a fixed leverage grid. At a twenty-five-percent initial haircut, leverage above four is already infeasible for this single-book model; the extended curves illustrate hypothetical post-shock funding requirements. A fifty-percent or seventy-five-percent final haircut increases required sales. The dashed line is a chosen volume-equivalent day's sale, assuming ten-percent participation and half-a-day positions. It is not guaranteed stressed capacity. The largest tested quarter-step leverage satisfying the doubled-haircut arithmetic is 2.00. The dot uses that row's actual sale fraction. This discrete maximum is not an exactly solved continuous limit or an approved live leverage ceiling.
Against a real case. Archegos, a family office, held concentrated positions through total-return swaps at several prime brokers, each seeing only its own slice, as reported: LTCM's lesson, unlearned. Run the House's stress at five times, with positions of five days' volume: sell 76 percent of the book, which would take 38 days. In March twenty twenty-one, when one of its stocks fell, the banks did not wait. They sold blocks in a race to be first; Credit Suisse reported a loss of five and a half billion dollars; the founder was later convicted of fraud.
A descriptive simulation on public market returns in two thousand eight and nine, with target leverage two. Volatility-linked haircuts produce 1.51 times starting equity in haircut-attributable sales. That statistic excludes ordinary target-leverage turnover. The book can re-lever toward its target after gains. The fixed haircut is 27 percent, chosen from half a multiplier based on a pre-two-thousand-eight ninety-ninth-percentile volatility estimate, with the coded floor and cap. This creates different headroom; it is not the same funding budget under a controlled intervention. End equity is 0.72 versus 0.53 for this window. That path-specific ordering does not prove forced selling is beneficial or that either policy protects a broker in general.
Private incentives and external effects. Our price-taking path comparison shows a particular equity ordering, not a general benefit from forced selling or proof that a broker avoided loss. Once many holders have price impact, their liquidations can depress collateral values and induce others' sales; this path simulator itself does not estimate that feedback. Models by Lorenzoni and Stein formalize settings where private decisions omit such effects. Anti-procyclicality tools are motivated by these concerns, but applicable requirements and their effects depend on institutions, contracts and historical rules.
A proposed four-part research rule. Use 2.00 as the largest passing tested leverage under this specified two-thousand-eight shock, haircut and normal-volume arithmetic; examine further scenarios before any live limit. Seek legally and operationally reviewed term funding and counterparty diversification. No actual thirty-day margin lock is established here. Hold a separately defined liquidity buffer against additional collateral needs. Limit positions relative to stressed executable depth, rather than treating average volume as a promise. The proposal requires contract, execution and risk review before deployment.
The unchanged crisis library. The forced-sale function marks assets and equity, computes an equity-over-haircut cap and sells the positive excess. In the daily path, assets are reset to the smaller of target-leverage assets and the collateral cap; gains can lead to re-levering. The recorded forced amount is only the haircut-attributable reduction relative to the target, not all purchases and sales. We disclose those semantics rather than changing the financial algorithm.
The chosen run-game code computes early and waiting payoffs, including the zero waiting branch after assets are exhausted. It averages wait-minus-run under a uniform rank belief, then numerically finds a threshold. The assumed flat local prior, payoff structure and insured non-running share are essential. These few lines illustrate a particular limiting construction; they do not prove general global-games uniqueness or model a recourse central-bank loan as a change in asset payoff.
The crisis module supplies teaching tools. Leverage and margin, common-asset price impact, network clearing, systemic proxies and chosen run-game payoffs. These functions have different assumptions and are not one fitted crisis predictor. Proposed Rule forty-one combines stress arithmetic with funding, cash and executable-depth review. The ordinary public-return illustration neither accesses a sealed strategy nor establishes that any live book can liquidate within a day.
Three tests to carry away. When a fund says it is market-neutral, ask what it must sell if its margins double tomorrow, and how many days that takes. When a bank holds bonds to maturity, ask what they are worth today, and how much of its funding can leave in a day. And when a network looks well diversified, ask against how large a shock: past the threshold, the links spread losses instead of sharing them.
For the researcher: the clearing vectorPhD8 min
For the researcher. We state a nonnegative-assets, limited-liability, pro-rata clearing model, prove existence and a sufficient regularity condition for uniqueness, and distinguish exact fictitious-default reasoning from the unchanged finite numerical solver. At most n strict additions to a default set may require n plus one outer checks including termination. We then derive the complete-network threshold with its debt and buffer conditions and compare the chosen numerical examples.
Eisenberg and Noe's model, two thousand and one. Bank i owes L i j to bank j, and p bar i in total. If it cannot pay in full, its creditors share pro rata: pi i j is j's share. A bank can pay its outside assets plus what it receives, but never more than it owes: the map phi. A clearing vector is a fixed point of phi. Each bank pays in full, or pays everything it has.
Theorem one, existence. Phi maps the box from zero to p bar into itself, and it is monotone: if others pay more, you can pay more. So by Tarski's fixed-point theorem, a greatest and a least clearing vector exist, and every other lies between them. And iteration finds them: from full payment downward, or from nothing upward.
The proof, for this map. Start from full payment. The first step can only lower payments, and applying a monotone map to an inequality keeps it, so the sequence falls. It is bounded below by zero, so it converges, and since phi is continuous the limit is a fixed point. Any other fixed point stays below every iterate, so this one is the greatest. From zero upward, the same argument gives the least.
Theorem two, uniqueness. Suppose that from every bank, some chain of obligations reaches a bank with positive outside assets. Then the greatest and least clearing vectors coincide: there is one answer. The condition fails only for a group that owes only to itself and holds nothing else.
The proof. Let d be the difference between the greatest and least vectors, and S the banks where it is positive. A bank in S pays less than it owes under the least vector, so there it pays everything it has; under the greatest it pays at most that. Subtract and sum over S. Banks outside S contribute nothing, and each row of pi sums to at most one. So the chain of inequalities is tight: every bank in S pays only to banks in S.
And the end. Under the greatest vector, the banks in S also pay all they have. Split what they receive into payments from inside S, which add up to S's own payments, and payments from outside. Cancel, and what remains is non-negative and sums to zero: no outside assets in S, and nothing flowing in. That is a closed group with nothing outside, which regularity forbids. So S is empty, and the clearing vector is unique.
Fictitious default in the regular, nonnegative-assets model. Start with all banks paying in full and no defaults. Find newly insolvent banks from outside assets plus incoming payments. With nondefaulters paying in full, solve the defaulting subsystem; under the stated conditions this gives the appropriate reduced payment vector. The unchanged code approximates that step by finite Picard iteration with a tolerance. Payments decrease and the default set grows. At most n strict enlargements are possible, with an additional termination check. Numerical outer-round counts include checks, so the bound is not automatically n total loop evaluations.
The unchanged numerical check. 200 chosen random twelve-bank networks have strictly positive outside assets almost surely, satisfying the sufficient regularity condition; zero-debt rows use zero payment shares. In 200 of 200, fictitious default and monotone iteration from the top and bottom agree within ten to the minus eight. This supports the implementation on these cases and is not the proof of uniqueness. The maximum outer-check count is 5, averaging 3.19. Those counts include the final no-change check and finite numerical stopping; the theorem bounds strict default-set enlargements.
And the counterexample when regularity fails. Two banks owe each other one, and hold nothing else. Paying in full is a clearing vector: each receives one and pays it on. So is paying nothing. Iteration from above finds the first, from below the second. The theorem's condition is not a technicality.
The symmetric complete-network result needs conditions. Let b equal a minus v, positive; each bank owes y to the others equally. Assume y exceeds n minus one times b and use the stated greatest-clearing senior-resource model. Then all banks default exactly when epsilon exceeds n b. Epsilon at most b causes zero defaults. Between b and n b, only the shocked bank defaults. Above n b, all default. At the threshold equality the other banks can still pay in full. These qualifications exclude low-interbank-debt counterexamples.
The derivation with clipping made explicit. When all others pay, the hit bank's interbank payment is its net resources clipped between zero and y. Negative net resources mean a shortfall against senior obligations, not literally negative gross assets. Its shortfall is min of y and the positive part of epsilon minus b. Each other bank loses one over n minus one of that amount. Since y exceeds n minus one times b, the other banks' buffers are breached exactly when epsilon exceeds n b. Symmetry and greatest-payment iteration then imply all-default. If y were too small, saturation at zero would prevent this argument.
The check, on a grid of shocks a twentieth apart. The ring loses one bank at a time as the shock grows. The complete network loses one bank, then all ten, at 5.05: the first grid point above the formula's 5. And two clusters, weakly linked, stop at five: the loss spreads within a cluster, and the thin link between them is a firewall.
Add a chosen common-asset cascade. Each bank owns one asset unit; defaults cause liquidation, and price is exp of minus zero point one five times units sold. The code allows fifty iterations and a finite stopping rule. This is related to the fire-sale literature, not a reproduction or calibration of Cifuentes, Ferrucci and Shin. At the chosen shock four, the complete network has 1 default without price effects and 10 with them. These selected cases demonstrate how common-asset marks can reduce buffers. They do not prove global convergence, uniqueness or a universal size of amplification.
Extensions and their conditions. Rogers and Veraart add default costs, which can change equilibrium multiplicity and incentives for rescues. That is a model mechanism, not proof of individual LTCM creditors' motives. Glasserman and Young derive bounds on network amplification under stated assumptions. Payment redistribution, outside losses and the number of defaults are different quantities; no universal small-contagion theorem follows for our closed-network default counts. Elliott, Golub and Jackson study how integration and diversification affect cascades within specified network models. Their comparisons are not an unrestricted ranking of every topology.
Three open problems. Incomplete bilateral exposures: maximum-entropy reconstruction spreads links but can understate or overstate the selected contagion metric. Reconstruction assumptions must be evaluated, not treated as a universal directional theorem. Networks with prices, defaults and runs together: existence, multiplicity and computation depend on liquidation and contract rules. Links among funds, dealers, clearing houses and other nonbanks remain unevenly observed. Coverage and stressed valuation matter alongside the network equations.
Pause and predict. Three banks in a ring each owe the next one, and hold outside assets of a half. Is the clearing vector unique, and what is it?
Recap, desk questions, problemsAll tracks5 min
Part forty-one in thirteen lines. Leverage magnifies losses under stated balance-sheet assumptions. The chosen five-times fund sells most of its remaining book after its loss and haircut shock. Chosen loss and margin spirals amplify a small initial shock. Common holdings transmit price impact. Network effects depend on buffers, debt and topology. CoVaR is a fitted association; the Lehman shortfall is an explicitly approximate proxy. LTCM illustrates crowded financing exposure; the four-percent calculation is only a uniform-loss balance-sheet bridge.
The two-thousand-eight wholesale-funding crisis and acute March twenty-twenty market dysfunction involved different institutions and losses. China's index observations do not by themselves identify margin-call or circuit-breaker effects. The chosen run game states its payoff and signal assumptions; historical bank funding facilities are separate contracts. Proposed Rule forty-one combines stress arithmetic with financing and executable-depth review. The research chapter proves clearing existence and sufficient conditions for uniqueness, distinguishes numerical checks from strict default-set additions, and qualifies the complete-network threshold.
Three lessons. Accounting equity alone does not establish economic solvency or the cash and collateral needed to meet withdrawals. Funding and valuation must both be examined. Crowded positions and lenders can create common liquidation pressure; one holder's available exit need not remain available when many sell. Backstops can support funding and market functioning while changing incentives and imposing costs. These descriptive episodes do not prove that every intervention alone ended a panic or identify its full causal effect.
The part on one card, under its stated domains. Forced sale uses positive parts for the collateral cap and excess; the geometric multiplier requires feedback below one. The clearing equation assumes nonnegative resources and pro-rata equal-priority payments. The complete-network threshold needs a positive buffer and sufficient interbank debt. Delta CoVaR is a fitted association, and SRISK retains the one-minus-k factor. Waiting is zero after f reaches r; the final integral selects the uniform-rank no-insurance threshold under the chosen payoff and belief assumptions.
How this part connects. Backwards: margin, LTCM, credit, clearing, impact, stablecoin runs and risk numbers all meet in a crisis. Sideways: a fire sale is market impact paid by everyone at once, and a bank run is a depeg with deposits. Forwards: Part forty-two asks what happens when the crowd is machines sharing one model, and Part forty-three whether anyone is paid for bearing this risk.
Six desk questions. The hook's: at five times, down ten percent, with a thirty percent haircut, sell fifty-six point seven of ninety. How can a solvent bank fail? A run, when assets sold early fetch less than they are worth. Loss spirals keep leverage constant; margin spirals lower the leverage allowed.
Is a connected system safer? In the specified symmetric model, buffers and interbank debt determine its zero, one and all-default regimes; no universal topology ranking follows. Measures of systemic risk? Delta CoVaR describes conditional association, MES exposure, and SRISK a modeled shortfall; our Lehman proxy is not standard firm-specific SRISK. And March twenty twenty? Official reviews describe several cash-seeking sellers and constraints on intermediation. These index and yield charts do not identify a single cause or prove the effect of policy alone. Full solutions and limitations are in the notes.
The research chapter's pause, answered. Every bank holds a half outside, so the system is regular and the clearing vector unique. And it is full payment: each bank receives one, holds a half, pays its one and keeps a half. Plugging in confirms the fixed point.
Twelve problems with complete English and Chinese solutions in the notes. Foundations, one through six. Mark equity and leverage after a five-percent loss, then calculate the debt-repaying sale that restores four times. Calculate a forced sale when an eight-times book loses three percent and its haircut doubles. For a local linear-impact spiral derive the geometric multiplier and state its stability condition. Distinguish exact leverage-minus-one restoration from the unchanged high-leverage fire-sale approximation. Solve the fully specified three-bank clearing system and verify each payment and equity. Then apply the complete-network threshold with positive buffers and sufficient interbank debt. Advanced practice, seven through ten. Compute a fitted delta CoVaR without interpreting it as causal. Compute SRISK with the one-minus-k factor. Compare early and waiting payoffs at a chosen withdrawal share. And mark a chosen bond-and-cash balance sheet after a duration-approximated yield shock, identifying omitted convexity and funding effects. Qualifying problems, eleven and twelve. Prove clearing existence and regularity-based uniqueness, with the zero-debt convention and precise default-set bound. Derive the chosen uniform-rank run threshold, show why it exceeds one, and analyze the insured non-running share under the stated payoff and belief assumptions.
Where this comes back. Part forty-two puts machines in the market, and asks whether a crowd sharing one model herds into the same spirals. And Part forty-three asks whether anyone is paid for bearing crash and liquidity risk.
The textbooks this part follows, and the papers it draws on, from Diamond and Dybvig to SRISK. Every number on screen was computed by the House's code from FRED, Kenneth French's daily returns through twenty twenty, public index data and public filings, or from simulation.
The House now has a proposed stress framework and a clearer account of its assumptions. It still needs financing, executable-depth and risk review before any live leverage limit. Next, Part forty-two: machines in the market. We will examine simulated markets, learning traders, pricing algorithms and common-model exposure, distinguishing outcomes in chosen games from claims about real-world intent or market performance.
Where it goes next. If the participants are machines trained on the same data, do they make this worse? Part 42.
Key results
The part's results in one place, for revision.
Try it
Lab 41 · Spirals and contagion
Shock a levered investor's asset and iterate the forced sales: first with a fixed margin (the loss spiral), then with a margin that rises as prices fall (the margin spiral). Then shock one bank in a ring and in a complete network of interbank debts, and solve for who can pay whom.
python -m videos.quant.labs 41
needs numpy, scipy, matplotlib, numba · download lab41.py ·
source on GitHubA 2% shock, leverage 5 loss spiral: price falls 11.1% (x5.6) with rising margins: 20.5% (x10.3)
A 5% shock, leverage 5 loss spiral: price falls 18.5% (x3.7) with rising margins: 24.1% (x4.8)
Bank 1's project loses 0.5 defaults: ring 4, complete network 1
Bank 1's project loses 1.0 defaults: ring 8, complete network 8
Threshold n(a - v) 0.8: below it the complete network shares the loss; above it everyone fails together
Robust yet fragile: spreading claims evenly absorbs small shocks and transmits large ones to everyone at once (Acemoglu, Ozdaglar and Tahbaz-Salehi).
The code (60 lines; it asserts its own result)
"""Lab 41: a levered fund that must sell, and a network of banks that must pay each other."""
import numpy as np
from videos.quant import labs
from explainer.quant.house import crisis
TITLE = "Spirals and contagion"
GOAL = ("Shock a levered investor's asset and iterate the forced sales: first with a fixed margin (the loss "
"spiral), then with a margin that rises as prices fall (the margin spiral). Then shock one bank in a ring "
"and in a complete network of interbank debts, and solve for who can pay whom.")
TASKS = [
"Halve the market's depth. At what shock does the spiral run away?",
"Solve the same networks with crisis.eisenberg_noe and default costs (alpha = beta = 0.7). What changes?",
"Split the banks into two clusters (crisis.clusters_pi). Does a firebreak help against the large shock?",
]
def run(seed=0):
shocks = np.linspace(0.005, 0.08, 16)
loss = [crisis.spiral(s, kappa=0.0) for s in shocks]
both = [crisis.spiral(s, kappa=2.0) for s in shocks]
lab = labs.Lab()
for s in (0.02, 0.05):
i = int(np.argmin(np.abs(shocks - s)))
lab.row(f"A {s:.0%} shock, leverage 5", f"loss spiral: price falls {100 * loss[i]['fall']:.1f}% (x{loss[i]['amplification']:.1f}) "
f"with rising margins: {100 * both[i]['fall']:.1f}% (x{both[i]['amplification']:.1f})")
# eight banks, each with a project worth a, senior outside debt v, and interbank debt y (Acemoglu et al.)
n, a, v, y = 8, 1.0, 0.9, 2.0
hits = np.linspace(0.05, 1.0, 20)
def defaults(Pi):
return [int(crisis.senior_clearing(Pi, np.full(n, y), np.full(n, a), v, np.r_[h, np.zeros(n - 1)])["default"].sum())
for h in hits]
ring, comp = defaults(crisis.ring_pi(n)), defaults(crisis.complete_pi(n))
small, big = int(np.argmin(np.abs(hits - 0.5))), len(hits) - 1
lab.row("Bank 1's project loses 0.5", f"defaults: ring {ring[small]}, complete network {comp[small]}")
lab.row("Bank 1's project loses 1.0", f"defaults: ring {ring[big]}, complete network {comp[big]}")
lab.row("Threshold n(a - v)", f"{n * (a - v):.1f}: below it the complete network shares the loss; above it "
f"everyone fails together")
lab.note = ("Robust yet fragile: spreading claims evenly absorbs small shocks and transmits large ones to "
"everyone at once (Acemoglu, Ozdaglar and Tahbaz-Salehi).")
assert all(b["fall"] >= a_["fall"] - 1e-12 for a_, b in zip(loss, both)) and both[-1]["amplification"] > 2
assert ring[small] > comp[small] == 1 and comp[big] == ring[big] == n
first_all = hits[int(np.argmax(np.array(comp) == n))]
assert abs(first_all - n * (a - v)) < 0.06, "the complete network fails all at once at n(a - v)"
fig, ax = labs.figure(2, size=(11, 4.2))
ax[0].plot(100 * shocks, 100 * shocks, color=labs.MUTED, ls=":", label="the shock itself")
ax[0].plot(100 * shocks, [100 * o["fall"] for o in loss], "o-", color=labs.P, ms=3, label="loss spiral (fixed margin)")
ax[0].plot(100 * shocks, [100 * o["fall"] for o in both], "o-", color=labs.LOSS, ms=3, label="loss + margin spiral")
ax[0].set(title="Total price fall after forced selling", xlabel="initial shock, %", ylabel="total fall, %")
ax[0].legend(fontsize=8)
ax[1].step(hits, ring, where="mid", color=labs.SPOT, label="ring: each owes the next")
ax[1].step(hits, comp, where="mid", color=labs.OPTION, label="complete: each owes all")
ax[1].set(title="Banks in default after one bank is hit", xlabel="loss on the first bank's project", ylabel="defaults (of 8)")
ax[1].legend(fontsize=8)
lab.fig = fig
return lab
Now change it
- Halve the market's depth. At what shock does the spiral run away?
- Solve the same networks with crisis.eisenberg_noe and default costs (alpha = beta = 0.7). What changes?
- Split the banks into two clusters (crisis.clusters_pi). Does a firebreak help against the large shock?
Problems, with solutions
Try each problem before opening its solution; the last two of each set are at qualifying-exam level.
Problems, with worked solutions
Problems and complete solutions — foundations 1–6
-
A=4, E=1; a 5% asset loss; restore 4×. A fund at 4\(\times\) leverage loses 5% on its assets: its new leverage, and the sale that restores 4\(\times\).
Solution
Debt is fixed at 3. Assets become 3.8 and equity .8; leverage is 3.8/.8=4.75. Restoring 4× permits assets 3.2. Sell .6 and repay debt, leaving debt 2.4 and equity .8. The sale is .6/3.8=15.789% of remaining assets. This assumes no fees, financing return or price impact.
-
A=8, E=1, h=.10; lose 3% and double h. At 8\(\times\) with a 10% haircut, assets fall 3% and the haircut doubles: the forced sale, as a share of the book.
Solution
Fixed debt is 7. New assets are 7.76 and equity .76. With h=.20, the cap is .76/.20=3.8; sell 7.76−3.8=3.96, or 51.0309% of remaining assets. Repaying debt leaves 3.04 debt, .76 equity and leverage 5, exactly 1/h. The original 8× position was feasible under the original cap 10.
-
Local spiral multiplier. Local linear spiral: target \(\lambda\), impact \(\gamma\), unit initial price. With \(0\le g=\gamma(\lambda-1)A<1\), derive total fall \(\delta/(1-g)\) and state the approximation.
Solution
At initial unit price, assets A and target λ, a small mark-to-market loss Aδ lowers equity by Aδ. Exact debt-repaying restoration sells
(λ−1)Aδ. With linear marginal impact γ, the next loss fraction is gδ, whereg=γ(λ−1)A. If the approximation holds for each increment and 0≤g<1, total fall isδΣ_k g^k=δ/(1−g). At g≥1 that geometric approximation has no finite convergent sum. It does not prove an actual finite-wealth market falls without bound; nonlinear impact, bankruptcy, holdings and funding can intervene. This local approximation is distinct from the unchanged finite-round spiral implementation. -
A=100, E=5; lose 1%; restore 20×. A bank with assets 100 and equity 5 holds its leverage constant; its assets fall 1%: what does it sell?
Solution
Loss is 1, so assets 99 and equity 4. Target assets are 80, requiring a sale of 19 and debt repayment. Debt falls from 95 to 76 and 80/4=20. Exact sale is
(20−1)×1=19; the original high-leverage GLT approximation would sell 20. State which rule is used. -
Three-bank clearing. A owes B 2, B owes C 2, C owes A 1; outside assets \((0.5, 0, 0.3)\): the clearing vector and each bank's equity.
Solution
A owes B 2, B owes C 2, C owes A 1; outside assets are (.5,0,.3). Thus pbar=(2,2,1), and the equations are
p_A=min(2,.5+p_C),p_B=min(2,p_A),p_C=min(1,.3+p_B). Candidate(1.5,1.5,1)satisfies each: min(2,1.5)=1.5, min(2,1.5)=1.5, min(1,1.8)=1. Equitiese+Πᵀp−pare (0,0,.8). A and B default strictly; C pays in full. Every bank reaches positive outside assets along the ring, so the sufficient regularity condition holds and the clearing vector is unique. Debts and payment bounds are essential to this verification. -
Complete network n=20, a=2, v=1.5, y=12. A symmetric complete network: \(n=20\), \(a=2\), \(v=1.5\), \(y=12\). Derive its all-default shock threshold and the zero/one/all regimes.
Solution
Buffer b=.5 and
(n−1)b=9.5<12, so the stated threshold conditions hold. There are no defaults for ε≤.5; only the hit bank defaults for .5<ε≤10; all default for ε>10. At ε=10 each other bank exactly absorbs .5 and can pay in full. The shortfall cap y does not invalidate the all-default threshold because y exceeds 9.5. Omitting y would leave the problem under-specified.
Problems, with worked solutions
Advanced practice 7–10
-
Conditional quantile slope .5, tail state −4%, median +.1%. System on bank by quantile regression: slope 0.5; the bank's 5% VaR is \(-4\%\), its median \(+0.1\%\): \(\Delta\)CoVaR.
Solution
The fitted difference is
.5×(−4%−.1%)=−2.05percentage points. The fitted system-return quantile is lower in the tail state by that amount. The intercept cancels. This is not a causal loss attributed to the institution, nor a probability or a 2.05% reduction relative to a denominator. -
k=.08, D=500, E=20, LRMES=.5. \(k = 8\%\), debt 500, equity 20, LRMES 50%: SRISK.
Solution
Remaining equity is 10. The ratio-k shortfall is
.08×500−.92×.5×20=40−9.2=30.8. Equivalently, required capital is .08×(500+10)=40.8 against existing capital 10. Its positive part is also 30.8. Negative shortfalls elsewhere are not automatically transferable capital when aggregating system need. The ratio and crisis-loss input are chosen assumptions. -
θ=1.2, r=.8 and f=.5 in the chosen run game. Diamond–Dybvig with \(\theta = 1.2\), \(r = 0.8\): the payoffs of withdrawing and of waiting when half withdraw.
Solution
Withdrawals require f/r=.625 units of liquidation, below the available unit. Early payoff is 1; late payoff is
1.2(1−.625)/(1−.5)=.9. An atomless individual prefers to withdraw when others withdraw at this share. This is a best-response comparison at a chosen aggregate share, not a proof that f=.5 is an equilibrium. For f≥r, late payoff is zero and early payoff is min(1,r/f), using the f=0 convention separately. -
Chosen bank: deposits 100, equity 8, bonds 90 and cash 18.
Solution
The balance sheet balances at assets 108. With bond modified duration 6 and a parallel +.03 yield change, first-order bond loss is
90×6×.03=16.2. Bonds mark to 73.8, total assets to 91.8 and equity to −8.2 if cash and liabilities are unchanged. Omitted convexity usually matters for such a large yield move; a positive-convexity plain bond would lose less than its duration-only approximation, but no exact price follows without cash flows and yields. Taxes, hedges, other assets and funding also matter. This chosen arithmetic is not a real-bank solvency or regulatory-capital determination.
Problems, with worked solutions
Qualifying problems 11–12
-
Existence, regularity-based uniqueness and fictitious default. (qual) Prove that a clearing vector exists, that it is unique when the system is regular, and that fictitious default makes at most \(n\) strict default-set additions; distinguish finite numerical iteration and termination checks.
Solution
For nonnegative e and L with zero-debt rows defined as zero, Φ is a continuous monotone map from the compact order interval [0,pbar] into itself. Tarski gives least and greatest fixed points. Alternatively,
p^(0)=pbarandp^(k+1)=Φ(p^(k))decrease and stay nonnegative. Their limit is fixed by continuity; every fixed q≤pbar stays below all iterates, so this limit is greatest. Iteration from zero gives the least.For uniqueness under the stated path-to-positive-e condition, let
d=p+−p−≥0andS={i:d_i>0}. A bank in S is below its liability cap under p−, sop−_i=e_i+(Πᵀp−)_i; under p+,p+_i≤e_i+(Πᵀp+)_i. ThusΣ_S d_i≤Σ_{j∈S}d_j Σ_{i∈S}Π_ji≤Σ_S d_j. Both inequalities must be equalities. Every j∈S sends all payment shares into S, and both clearing vectors satisfy equality with available resources there. Summing the p+ resource equations on S and canceling internal payments gives0=Σ_S e_i+Σ_{j∉S}p+_j Σ_{i∈S}Π_ji. All terms are nonnegative, so e=0 on S. Since S has no outward obligation path, it cannot reach a positive-e bank, contradicting regularity unless S is empty. Hence p+=p−.For exact fictitious default, begin with no defaults/full payments. Recompute the defaulting subsystem while nondefaulters pay in full and enlarge the default set when needed. Monotonicity keeps payments above the greatest clearing vector and makes default sets grow. There are at most n strict enlargements. When the set stabilizes, the solved payments satisfy Φ(p)=p and remain at least p+, hence equal p+. A final stability check may be additional. This proof assumes exact subsystem solutions under the appropriate regularity conditions. Finite inner Picard limits, numerical tolerances and recorded outer checks in the unchanged implementation are separate implementation facts, not literal finite exact convergence in n floating-point loop evaluations.
-
Chosen uniform-rank run threshold with insurance. (qual) Chosen nonatomic risk-neutral run game, \(0<r<1\), uniform-rank limiting belief; insured depositors never run. Derive \(\theta^*>1\) and its limit as the uninsured share tends to zero.
Solution
Assume nonatomic risk-neutral depositors, unit early claims, liquidation value 0<r<1, late payoff θ, the stated locally flat-prior/vanishing-private-signal construction, and an insured share s assumed never to run. Let a=1−s>0. Rank u is uniform on [0,1], so f=au is uniform on [0,a]. Define
E(f)=min(1,r/f)with E(0)=1, andW(f;θ)=θ w(f), wherew(f)=(1−f/r)/(1−f)for f<r and w=0 otherwise. The expected gap is linear in θ with positive coefficientI_w=∫_0^a w(f)df, so the selected indifference root is unique and equalsθ*=I_E/I_w, withI_E=∫_0^a E(f)df. Root uniqueness of this integral is not a general equilibrium-uniqueness theorem.If 0<a≤r,
I_E=aandI_w=a/r+(1/r−1)log(1−a). If r<a≤1,I_E=r[1+log(a/r)]andI_w=1+(1/r−1)log(1−r). For θ=1, w(f)<E(f) on a positive-measure subset for every a>0, so I_w<I_E and θ*>1. When a≤r, w decreases in f, so its average over [0,a] falls as a grows and θ*=1/average(w) rises. When a>r, I_w is constant and I_E rises, so θ* again rises with a. Therefore increasing the insured non-running share lowers the threshold. As a→0, both integrals are asymptotic to a and θ*→1. At a=0 there is no uninsured marginal depositor; the limiting number is not an indifference equation for an existing runner. Likewise r→1 makes payoffs approach the no-liquidation-loss case. An actual recourse loan at par is not literally r=1: interest, repayment, collateral eligibility and institutional behavior remain.
Reading and notes
The part's papers
from READING.md
- Kindleberger, C. (1978). Manias, Panics, and Crashes; Minsky, H. (1986). Stabilizing an Unstable Economy.
- Diamond, D., Dybvig, P. (1983). "Bank runs, deposit insurance, and liquidity." JPE.
- Shleifer, A., Vishny, R. (1992). "Liquidation values and debt capacity: a market equilibrium approach." Journal of Finance; (2011) "Fire sales in finance and macroeconomics." JEP.
- Edwards, F. (1999). "Hedge funds and the collapse of Long-Term Capital Management." JEP; President's Working Group on Financial Markets (1999). Hedge Funds, Leverage, and the Lessons of Long-Term Capital Management.
- Allen, F., Gale, D. (2000). "Financial contagion." JPE.
- Eisenberg, L., Noe, T. (2001). "Systemic risk in financial systems." Management Science.
- Coval, J., Stafford, E. (2007). "Asset fire sales (and purchases) in equity markets." JFE.
- Brunnermeier, M. (2009). "Deciphering the liquidity and credit crunch 2007–2008." JEP.
- Brunnermeier, M., Pedersen, L. H. (2009). "Market liquidity and funding liquidity." RFS.
- Geanakoplos, J. (2010). "The leverage cycle." NBER Macroeconomics Annual.
- Gai, P., Kapadia, S. (2010). "Contagion in financial networks." Proc. Royal Society A.
- Financial Crisis Inquiry Commission (2011). The Financial Crisis Inquiry Report.
- Gorton, G., Metrick, A. (2012). "Securitized banking and the run on repo." JFE.
- Billio, M., Getmansky, M., Lo, A. W., Pelizzon, L. (2012). "Econometric measures of connectedness and systemic risk in the finance and insurance sectors." JFE.
- Elliott, M., Golub, B., Jackson, M. (2014). "Financial networks and contagion." AER.
- Acemoglu, D., Ozdaglar, A., Tahbaz-Salehi, A. (2015). "Systemic risk and stability in financial networks." AER.
- Greenwood, R., Landier, A., Thesmar, D. (2015). "Vulnerable banks." JFE.
- McDonald, R., Paulson, A. (2015). "AIG in hindsight." JEP.
- Adrian, T., Brunnermeier, M. (2016). "CoVaR." AER.
- Acharya, V., Pedersen, L. H., Philippon, T., Richardson, M. (2017). "Measuring systemic risk." RFS.
- Brownlees, C., Engle, R. F. (2017). "SRISK: a conditional capital shortfall measure of systemic risk." RFS.
- Cont, R., Schaanning, E. (2017). "Fire sales, indirect contagion and systemic stress testing." Norges Bank WP.
- Bian, J., He, Z., Shue, K., Zhou, H. (2018). "Leverage-induced fire sales and stock market crashes." NBER WP (verify: published version).
- Duffie, D. (2020). "Still the world's safe haven? Redesigning the U.S. Treasury market after the COVID-19 crisis." Hutchins Center WP.
- Vissing-Jorgensen, A. (2021). "The Treasury market in spring 2020 and the response of the Federal Reserve." J. Monetary Economics.
- He, Z., Nagel, S., Song, Z. (2022). "Treasury inconvenience yields during the COVID-19 crisis." JFE.
- Tarski, A. (1955). "A lattice-theoretical fixpoint theorem and its applications." Pacific J. Mathematics.
- Carlsson, H., van Damme, E. (1993). "Global games and equilibrium selection." Econometrica.
- Subrahmanyam, A. (1994). "Circuit breakers and market volatility: a theoretical perspective." Journal of Finance.
- Morris, S., Shin, H. S. (1998). "Unique equilibrium in a model of self-fulfilling currency attacks." AER.
- Goldstein, I., Pauzner, A. (2005). "Demand-deposit contracts and the probability of bank runs." Journal of Finance.
- Cifuentes, R., Ferrucci, G., Shin, H. S. (2005). "Liquidity risk and contagion." JEEA.
- Lorenzoni, G. (2008). "Inefficient credit booms." Review of Economic Studies.
- Adrian, T., Shin, H. S. (2010). "Liquidity and leverage." J. Financial Intermediation.
- Mistrulli, P. (2011). "Assessing financial contagion in the interbank market: maximum entropy versus observed interbank lending patterns." J. Banking & Finance.
- Stein, J. (2012). "Monetary policy as financial stability regulation." QJE.
- Rogers, L. C. G., Veraart, L. (2013). "Failure and rescue in an interbank network." Management Science.
- Glasserman, P., Young, H. P. (2015). "How likely is contagion in financial networks?" J. Banking & Finance.
- Anand, K., et al. (2018). "The missing links: a global study on uncovering financial network structures from partial data." J. Financial Stability.
- Chen, H., Petukhov, A., Wang, J. (2018). "The dark side of circuit breakers." Working paper (verify: published version).
- Board of Governors of the Federal Reserve System (2023). Review of the Federal Reserve's Supervision and Regulation of Silicon Valley Bank.
- Paul, Weiss (2021). Report on Archegos Capital Management (to the Board of Credit Suisse Group).
- FINMA (2023). Lessons Learned from the CS Crisis; FSB (2023). Enhancing the Resilience of Non-Bank Financial Intermediation.
- Jiang, E., Matvos, G., Piskorski, T., Seru, A. (2024). "Monetary tightening and U.S. bank fragility in 2023." JFE.
Papers and sources
Primary historical sources and verification
The Federal Reserve SVB review distinguishes the over-$40bn March 9 outflow from management's expectation of over $100bn more on March 10. The March 12, 2023 BTFP announcement and original term sheet state eligible collateral, up-to-one-year loans, the interest rule and recourse beyond collateral. Greenspan's October 1, 1998 testimony describes the private-sector LTCM adjustment and says no Federal Reserve funds were put at risk. FINMA's March 23, 2023 statement explains its historical AT1 decision using contractual terms and the emergency ordinance; this is the authority's dated account, not a current court ruling. Local lookup receipts retain successful bytes/hashes and unsuccessful BoE HTTP403 responses without treating those responses as read evidence. Paper coverage remains in READING.md.
One existing pure crisis test passed. Fresh construction, actual bilingual image inspection, sampled speech signals and final motion review remain pending; successful computation or a source edit is not visual approval.
For the researcher
Clearing theory
Let L≥0 be nominal interbank debts, pbar_i=Σ_j L_ij, outside assets e≥0, and Π_ij=L_ij/pbar_i for pbar_i>0. Set a zero-debt row to zero. The clearing map is Φ(p)=min(pbar,e+Πᵀp) on [0,pbar], with equal priority and no default costs.
The map is monotone, so Tarski gives greatest and least fixed points. Continuity also lets decreasing iteration from pbar and increasing iteration from zero converge to them. A sufficient regularity condition is that every bank has an obligation path to a bank with positive outside assets. Under it the two fixed points coincide. A two-bank zero-outside-asset cycle instead has every (t,t), 0≤t≤1, as a fixed point. Regularity is sufficient, not a claim that every failure of the condition causes multiplicity.
Exact fictitious-default reasoning permits at most n strict default-set additions; a final no-change check can be additional. The unchanged implementation uses finite inner Picard iterations and tolerances, so its recorded outer checks are not identical to strict additions. The 200 chosen random examples agree within 1e-8, supporting those numerical cases without replacing the proof.
In the symmetric complete senior-debt model, write b=a−v>0 and assume y>(n−1)b. The hit bank's shortfall, if others pay, is s=min(y,(ε−b)_+). Every other bank loses s/(n−1). Hence there are zero defaults for ε≤b, one for b<ε≤nb, and all for ε>nb. At equality others can still pay. If y is too small, even a zero-paying hit bank may not exhaust others' buffers. Large negative a−ε is interpreted as a stylized net-resource shortfall against senior obligations, not negative gross assets. The cluster/fire-sale examples use chosen links, finite shock grids and finite iteration; no universal cluster cap or global convergence theorem follows. Maximum-entropy reconstruction and payment-amplification bounds have metric- and model-dependent conclusions.
Data, scope and reproducibilityData and execution scope
All thirteen unchanged ordinary originals were classified by a transitive source audit before output-path inspection. Each was invoked once and succeeded: desk, spiral, firesale, network, systemic, gfc, dash, china, y2023, research, ltcm, dd, house. Their closed output hashes are pinned in common.py. This part's compute_house is an ordinary public-French-return margin simulation; it has no experiment-output dependency. Unknown names and experiment-related names are rejected before counted loading or cache-path access.
The audit identifies twelve possible immutable public keys. French daily factors and 49 industries are frozen through 2020-12-31; FRED supplies TEDRATE, BAA10Y, DGS10, DGS2, DCPF3M and DPSACBW027SBOG over the specified windows; Yahoo supplies Shanghai Composite closes. French, FRED and Yahoo daily readers inspect raw files before their normal checker, so each received an exact-key guard before any raw-file/network access. The unchanged checker verified the inputs. All eleven inherited rejected keys remain barred; none intersects this part's audited inputs. No failed key was retried, no source was refreshed and no replacement fit was made.
Every compute.py, the financial algorithms and all 98 protected files remain unchanged. No registration, new market trial, sealed experiment opening, strategy payload reading or outcome scoring occurred. Existing registrations remain 23,561 through Part 41 and 23,562 globally. The ordinary output called house must not be confused with a strategy cache: its source closure was explicitly classified before access. Do not run an unguarded default computation or use force/refresh to reproduce this review. Missing or changed pins fail before implicit computation.
Data, scope and reproducibilityScientific conventions and limitations
For assets A, equity E and debt D, A=E+D and leverage λ=A/E. A loss x>0 gives assets A−x and equity E−x if debt is fixed. Selling assets to repay debt leaves equity unchanged. Exact restoration of initial leverage therefore sells (λ−1)x. The unchanged glt_firesale implementation instead sells λx, a high-leverage approximation. Its second-round marks use chosen holdings and linear impact on post-shock holdings; this is not a full multi-round calibrated GLT equilibrium. The numerical outputs are preserved and the approximation is disclosed.
A single collateral book financed with equity and a haircut h has cap A≤E/h. A haircut rise forces a sale only if that cap binds. The geometric spiral multiplier is a local linearization requiring a feedback coefficient below one; nonlinear defaults, changing holdings and finite wealth can invalidate a global extrapolation. Minsky's cash-flow categories do not make asset prices or operating cash flows riskless. Collateral-cycle comparisons require their model assumptions.
CoVaR is a conditional system-return quantile at a specified institution-return state. Its probability equality requires an appropriate continuous, correctly specified conditional distribution. The unchanged estimator uses finite IRLS, with specification and numerical error. Delta CoVaR compares fitted tail-state and median-state quantiles; it does not identify a causal institutional contribution. Industry portfolios are proxies for firms. MES here is the typically negative average return on the market's worst 5% of days. The long-run heuristic changes sign to a positive loss m and uses 1−exp(−18m). Its usual motivation uses a 2% daily tail; feeding it a 5% industry MES is an explicit mismatch. The Lehman illustration also substitutes book equity for market capitalization, so its result is not standard firm-specific estimated SRISK. The correct shortfall is kD−(1−k)(1−LRMES)E, with a chosen k=.08; system shortfall sums positive parts.
TED is three-month LIBOR minus the Treasury-bill yield, reflecting bank credit, funding liquidity and safe-haven demand. BAA10Y also mixes credit, liquidity and maturity effects; neither is a default probability. AIG collateral calls depended on valuation as well as rating terms. Stable money-fund NAV was not an FDIC deposit guarantee. LTCM's gross derivatives notional is not net exposure; 4.7/125 is a uniform asset-value-loss bridge, not a spread-basis-point or complete trading-loss calculation. The New York Fed facilitated a privately funded recapitalization; that description does not settle broader debates about rescue incentives.
March 2020 dates use actual days since 2020-02-01: March 1 is day 29, April 1 day 60 and May 1 day 90; March 9–18 spans days 37–46. Other historical plots use actual fractions of their calendar year. Equity wealth is compounded from the first selected February return, relative to the preceding unit base; it is not a peak-to-trough drawdown. The pandemic episode combined economic losses and market dysfunction. Yield/index charts do not identify one causal seller, the effect of policy alone, or a meaningful comparison of a two-week acute episode with an eighteen-month crisis. Treasury basis shorthand needs conversion factors, cheapest-to-deliver, delivery options, repo specials and residual risk. Regulatory balance-sheet constraints were one component of intermediation capacity.
Shanghai Composite returns are not CSI300 circuit-trigger values. The short-lived January 2016 market-wide rules applied to moves in either direction, with late-day closure exceptions. Historical US lower-level pauses likewise have time-of-day qualifications. Index returns alone do not measure how much of a collapse margin calls caused or establish a universal magnet effect.
The chosen run game has nonatomic risk-neutral depositors, unit withdrawal claims, liquidation value r<1 and later asset payoff θ. It is inspired by Diamond–Dybvig, not the complete original liquidity-type contract model. Waiting has a zero branch once f≥r. The uniform-rank threshold additionally assumes a suitable flat/local prior and vanishing-signal construction. A positive root and finite noisy-signal quadrature do not establish general uniqueness for all games. The original r=.85 is chosen, not a calibration of SVB. The pretax HTM fair/book gap subtracted from group book equity omits taxes, other marks and bank/group differences; it is not a complete solvency determination. A historical BTFP par-collateral recourse loan provides liquidity without erasing economic losses, interest or repayment obligations. Historical policy and AT1 descriptions do not certify current law or litigation outcomes.
The House path rebalances daily toward target leverage subject to its haircut cap, and can re-lever after gains. Recorded forced sales are haircut-attributable reductions relative to the target, not all turnover. The fixed haircut is the coded floor/cap applied to half a pre-2008 99th-percentile volatility multiplier; it is not a certified stress quantile. Funding headroom differs between paths. Their realized equity ordering does not identify a causal margin-policy effect or general benefit from forced selling. The shock is the worst day within 2008, not the worst historical day. Leverage above four violates the chosen initial 25% haircut; the extended sweep is hypothetical. Its quarter-step maximum is a discrete grid result. Ten-percent participation in normal volume yields volume-equivalent time, not executable stressed depth. No actual term-funding lock, live strategy financing or deployment approval is established.
Chapter notesChapters
| Scene | Focus |
|---|---|
| Hook | Chosen leverage, network and run examples; a quantitative prediction |
| Cycles | Balance-sheet leverage, binding haircuts, Minsky and collateral cycles |
| Spirals | Chosen loss/margin dynamics, finite rounds and depth sensitivity |
| FireSales | Common holdings; the original high-leverage sales approximation |
| Networks | Pro-rata clearing, senior-resource buffers and conditional topology comparisons |
| Systemic | Conditional CoVaR, MES sign conventions and qualified SRISK proxies |
| LTCM | A uniform-loss balance-sheet bridge, crowding and privately funded recapitalization |
| GFC | Wholesale funding, mixed-component yield spreads and contractual collateral calls |
| Dash | Actual calendar dates in March 2020; basis, funding and intermediation limits |
| China | Shanghai observations versus CSI300 triggers; historical halt rules |
| Y2023 | Historical LDI/bank stress, chosen run payoffs and recourse liquidity facilities |
| House | Public-return margin simulation; grid and volume-arithmetic limits |
| Research | Clearing existence/uniqueness, numerical checks and threshold conditions |
| Outro | Qualified recap and twelve solved problems in 6/4/2 groups |
中文讲义
本讲的中文说明、交易台问题与习题解答(与英文版对应)。
导言第41部分:杠杆、流动性与危机
十四个场景讨论杠杆、抵押品、共同持仓、清算与挤兑。本部分的公司规则是用公开市场收益和选定融资参数构成的教学方案,并非已批准的实盘杠杆或封存策略业绩。十三个经传递源码审计的普通原始计算各运行一次,全部成功;其中house仅使用公开市场收益,不读取策略结果。十二个可能的公开输入键由原检查器验证,十一项继承拒绝键继续在原始读取之前拦截。金融算法、所有compute.py及98个受保护文件不变;无刷新、失败键重试、新市场试验或封存策略读取。第41部分累计登记仍为23,561,全局23,562。
Problems, with worked solutions基础题1—6:完整解答
-
资产4、权益1,资产跌5%,恢复4倍。 固定债务3。资产3.8、权益.8,杠杆4.75;目标资产3.2,卖出.6并还债,债务2.4,权益仍.8。卖出占剩余资产15.789%。忽略费用、融资收益和价格冲击。
-
资产8、权益1,初始折扣率10%,资产跌3%,折扣率翻倍。 债务7,冲击后资产7.76、权益.76。新上限.76/.20=3.8;卖出3.96,占剩余资产51.0309%。还债后债务3.04,资产/权益=5=1/h。初始8倍低于原上限10倍。
-
局部螺旋。 初始单位价格、资产A、目标杠杆λ,小损失Aδ后精确恢复杠杆须卖出(λ−1)Aδ。线性边际冲击γ产生下一轮跌幅gδ,其中g=γ(λ−1)A。假设每个增量都维持此线性近似,0≤g<1时总跌幅δΣg^k=δ/(1−g)。g≥1时几何近似不收敛;并不表示真实有限财富市场会无限下跌,破产、持仓、融资与非线性会改变模型。不要与保留不改的有限轮数值实现混同。
-
资产100、权益5,跌1%,恢复20倍。 损失1,资产99、权益4。目标资产80,卖出19并还债,债务从95减至76;80/4=20。精确式(20−1)×1=19;原高杠杆近似会卖20,须说明使用哪一种。
-
三家清算。 A欠B 2,B欠C 2,C欠A 1;外部资产(.5,0,.3),总债务(2,2,1)。方程为pA=min(2,.5+pC)、pB=min(2,pA)、pC=min(1,.3+pB)。代入(1.5,1.5,1),分别得min(2,1.5)、min(2,1.5)、min(1,1.8),全部成立。权益e+Πᵀp−p=(0,0,.8)。A、B严格违约,C全额支付。各银行沿债务链可达外部资产为正的节点,满足充分正则性条件,所以解唯一。缺少债务上限便无法完成这项验证。
-
完全网络n=20、a=2、v=1.5、y=12。 缓冲b=.5,(n−1)b=9.5<12,阈值条件成立。ε≤.5无违约;.5<ε≤10仅受冲击银行违约;ε>10全部违约。ε=10时其他银行恰好吸收.5,仍能全额支付。短缺上限y足够大,不破坏阈值;若不指定y,题目不充分。
Problems, with worked solutions进阶题7—10:完整解答
-
分位回归斜率.5、机构尾部−4%、中位+.1%。 拟合差为.5×(−4%−.1%)=−2.05个百分点,截距抵消。它是系统收益条件分位数在两种机构状态的差,不是因果损失归因、概率或以某基数计算的2.05%相对变化。
-
k=.08、债务500、权益20、LRMES=.5。 剩余权益10。短缺=.08×500−.92×.5×20=40−9.2=30.8;亦可算要求资本.08×(500+10)=40.8,减已有10。正部仍为30.8。汇总系统资本需求时,其他机构负短缺不能自动转移来填补此数。k和危机损失都是选定假设。
-
θ=1.2、r=.8、f=.5。 需清算f/r=.625单位,未耗尽资产;提前收益1,等待收益1.2×(1−.625)/(1−.5)=.9。无原子的个人在他人处于此提款比例时偏好提前提款;这并不证明f=.5为均衡。f≥r时等待为零,提前为min(1,r/f),f=0另用提前收益1的约定。
-
选定银行:存款100、权益8、债券90、现金18。 资产108,表平衡。修正久期6、平行收益率上升.03时,一阶损失90×6×.03=16.2。债券73.8,总资产91.8,若现金与负债不变,权益−8.2。如此大的利率变化,凸性不可忽略;普通正凸性债券实际损失通常小于纯久期近似,但没有现金流和收益率不能给出精确价格。税、对冲、其他资产与融资也会改变结果;不是现实银行偿付或监管资本判断。
Problems, with worked solutions资格题11—12:完整证明
-
清算存在、充分正则性下唯一及虚拟违约。 令L≥0、e≥0,pbar为各行债务和;正债务行Πij=Lij/pbar_i,零债务行定义为零。Φ(p)=min(pbar,e+Πᵀp)在[0,pbar]上连续、单调且自映射。塔斯基给出最小和最大不动点。或从pbar出发,下一步不大于前一步,序列非负单调下降;连续性使极限为不动点。任一不动点q始终低于各步,所以极限最大;从零向上同理得到最小。
Solution
对唯一性,令d=p+−p−≥0、S={i:di>0}。S内银行在最小解下未达债务上限,故p−_i=e_i+(Πᵀp−)_i;最大解下p+_i≤e_i+(Πᵀp+)_i。相减求和得ΣSdi≤Σj∈S djΣi∈SΠji≤ΣSdj,两处必取等。S内每个j只向S付款,两解在S上都等于全部可用资源。对最大解的资源方程在S求和、抵消内部支付,得到0=ΣS e_i+Σj∉S p+_jΣi∈SΠji。各项非负,故S上外部资产全为零。S又无向外债务链,不可能通往外部资产为正的银行,与所述正则性矛盾,除非S为空。因此p+=p−。这是充分条件;不满足它不必然多解。
精确虚拟违约从无违约、全额支付开始,在非违约者全额支付的条件下解违约子系统并加入新违约者。单调性使支付不低于最大清算解,违约集合只增不减。严格扩张最多n次;集合稳定后,精确解满足不动点方程且不低于最大解,只能等于最大解。最后一次“无变化”检查可能另外需要一次。本证明使用适当正则性与精确子系统解;原代码的有限内层Picard次数、容差和外层检查数是不同概念,不能宣称n次浮点循环必得精确答案。
-
带保险的选定均匀排序阈值。 假设无原子、风险中性、单位提前债权、0<r<1、未来收益θ,并采用所述局部平坦先验与消失私人噪声构造。保险比例s被假设从不挤兑,令a=1−s>0;排序u在[0,1]均匀,则f=au在[0,a]均匀。提前E(f)=min(1,r/f),E(0)=1;等待W(f;θ)=θw(f),其中f<r时w=(1−f/r)/(1−f),f≥r时为零。平均差关于θ线性,系数Iw=∫0^a w df>0,故选定无差异根唯一:θ*=IE/Iw。此积分根唯一不是所有博弈均衡唯一的证明。
Solution
0<a≤r时,IE=a,Iw=a/r+(1/r−1)log(1−a);r<a≤1时,IE=r[1+log(a/r)],Iw=1+(1/r−1)log(1−r)。θ=1时,在正测度区间上w<E,因此θ*>1。a≤r时w随f下降,在[0,a]的平均值随a增大而下降,θ*=其平均值倒数随a上升;a>r时Iw不变、IE上升,θ仍随a上升。所以提高被假设不挤兑的保险比例,会降低阈值。a→0时两积分都等价于a,θ→1;a=0已无未保险的边际挤兑者,此极限不能说成一个实际存在者的无差异方程。r→1亦趋近无清算损失情形。真实按面值计抵押品的有追索权贷款不等于把r改成1:利息、偿还、资格与行为假设仍然存在。
已通过一个既有纯危机测试。新的双语构造、实际画面审阅、语音信号与最终动画检查仍待完成;计算成功不构成视觉批准。
Review log of the earlier QA passes on this part: docs/qa/quant/part41.md.
Data, scope and reproducibility科学约定
固定债务下,资产损失x后,恢复原杠杆λ的精确卖出量为(λ−1)x;原glt_firesale使用λx,是保留不改的高杠杆近似。保证金上升只有在新的权益/折扣率上限约束持仓时才迫使卖出。几何螺旋仅是反馈系数小于一时的局部线性模型。
CoVaR是条件分位数,ΔCoVaR是尾部状态与中位状态的拟合差,不是因果贡献。这里MES是市场最差5%日期的平均行业收益,通常为负;长期启发式先改为正损失m,再用1−exp(−18m),但其常见动机使用2%日尾部,存在明确的代理不匹配。雷曼例子还以账面权益代替市值,因此不是标准的公司级SRISK估计。正确式为kD−(1−k)(1−LRMES)E;本例k=.08,总需求应加总各项正部。
TED混合银行信用、融资流动性和国库券避险需求;Baa减十年期国债还包含期限与流动性差异。AIG追加抵押品取决于估值和评级条款。货币基金的稳定净值目标不是存款保险。LTCM的4.7/125仅是均匀资产价值损失桥梁,不是利差基点或完整衍生品损失模型。2020年图使用真实日历:以2月1日为第0天,3月1日为29、4月1日为60、5月1日为90;3月9—18日为37—46。公开指数与收益率不能单独识别卖方、政策因果效应或整个危机持续期。上证指数不是CSI300熔断触发指数,历史熔断还包含方向和时段例外。
挤兑例子假设无原子、风险中性存款人、单位提前取款、清算价值r和未来支付θ;并非原戴蒙德—迪布维格模型的完整流动性类型合约。f≥r时等待收益为零。均匀排序阈值还需要所述局部平坦先验与私人信号极限;数值根唯一并不证明所有银行博弈的均衡唯一。r=.85不是SVB标定。持有至到期证券税前市值差减集团账面权益,遗漏税、其他估值和实体差异,不能单独判断偿付能力。BTFP按面值计抵押品的有追索权贷款提供流动性,不消除损失、利息和还款义务。
公司日路径会按目标杠杆再平衡,盈利后也可能重新加杠杆;forced只计相对目标的折扣率额外减仓,不是全部成交。固定折扣率与波动关联方案的融资余量不同,某段历史的权益排序不能识别政策因果效应。压力日仅是2008年内最差日期;初始25%折扣率下超过4倍原本就不可行。离散网格最大值不是连续精确边界,正常成交量十分之一只产生“成交量等价时间”,不保证压力执行。没有证明实际三十日融资锁定或实盘可行性。
Build the film
python -m videos.quant.quant41.compute # the part's numbers, into .cache/quant41
python tools/make.py quant41 # the narrated film, English and Chinese
EXPLAINER_TTS=silent python tools/qa_scene.py quant41 Hook # one chapter, silent, with a contact sheet
Scenes: videos/quant/quant41. Setup: see the course page. Source of these notes: the part's README and the scenes' narration.