How Is a Warehouse Margin Call Calculated, and What Does a Mortgage Seller Owe When One Lands?

A warehouse margin call is calculated by subtracting the collateral value the lender assigns to the purchased mortgage loans from the amount the facility requires against the price outstanding. The shortfall is the margin deficit the seller owes. Under the published Master Repurchase Agreement, September 1996 Version, the buyer’s margin amount is “the amount obtained by application of the Buyer’s Margin Percentage to the Repurchase Price for such Transaction as of such date,” and the repurchase price is the purchase price plus the accrued price differential, so on that form the call grows with unpaid pricing. We read the form as filed with the Securities and Exchange Commission (SEC) in 2018 by an agricultural cooperative, as seller, with its bank as buyer, on a facility that finances non-mortgage assets. We also read a 2023 warehouse repurchase facility filed with the SEC between a national bank, as agent, and a homebuilder’s mortgage subsidiary.

What formula produces the margin deficit?

The formula that produces the margin deficit on the 1996 form compares what the buyer holds, at market, against the buyer’s margin amount across the book. A margin deficit exists when “the aggregate Market Value of all Purchased Securities subject to all Transactions in which a particular party hereto is acting as Buyer is less than the aggregate Buyer’s Margin Amount for all such Transactions,” and the seller cures by transferring “cash or additional Securities reasonably acceptable to Buyer” until the total equals or exceeds that amount. Mortgage loans reach the form through paragraph 1, which applies it to transfers of “securities or other assets.” Where the parties agree no percentage, the form supplies one: market value on the purchase date divided by purchase price on the purchase date.

The 2023 facility keeps the architecture and moves the base. There, “Margin Amount” is the applicable margin percentage multiplied by the loan’s market value, and the deficit test compares the aggregate margin amount to the aggregate repurchase price “excluding Price Differential,” net of cash already paid on earlier calls. One formula applies the percentage to the repurchase price and the other to the asset, so the same nominal percentage produces a different call. On the 2023 facility, unpaid pricing does not enlarge it, and no call issues until the deficit exceeds $1,000,000. The mechanic runs both ways there. Above the same floor, and absent a default, existing or resulting from the draw, the seller may on written request draw against the excess in cash or have loans released. That right is subject to the facility’s other limits. The percentage is not in the filed agreement: both “Margin Percentage” and “Purchase Price” are defined in a side letter the filing does not include.

How does the lender determine market value?

The lender determines market value, in the warehouse facility read here, on its own judgment under a standard the agreement states, where the 1996 form assumed a quoted price. The form defines market value as a price “obtained from a generally recognized source agreed to by the parties or the most recent closing bid quotation from such a source,” plus accrued income. The 2023 facility substitutes the agent’s judgment: market value is “what the Agent determines as the market value of any Purchased Loan, using a commercially reasonable methodology that is, in its sole discretion, in accordance with standards customarily applicable in the financial industry to third party service providers providing values on comparable assets to be used in connection with the financing of such assets,” and that determination is “conclusive and binding upon the parties, absent manifest error.” The grant travels with its qualifiers: the methodology is to be commercially reasonable and, in the agent’s sole discretion, in accordance with the standards third-party providers apply to financing valuations; conclusiveness yields to manifest error; and value is set “without reference to Hedge Agreements or Investor Commitments.”

What knocks a loan out of the borrowing base?

A loan is knocked out of the borrowing base, in the 2023 facility, by a disqualifier, and the schedule that lists them sets the loan’s value at zero. Eligibility sits on one schedule; the body defines eligible loans only by reference to it. A second schedule carries the exits. After any disqualifier, unless waived or cured in writing, “the Market Value of the affected Purchased Loan shall be deemed to be zero, and the Agent shall be deemed to have marked such Purchased Loan to market.” A missed deadline is not a covenant breach to be discussed; it zeroes the asset and feeds the deficit arithmetically. The facility treats a loan-level representation the same way. A breach that is not willful or fraudulent is no event of default if it causes no margin deficit, or if the seller meets the resulting call.

In our view, document delivery is the sharpest of the exits. Primary loan documents must reach the custodian before the purchase date for a dry loan, and on or before the seventh business day after the purchase date for a wet loan, “in order for any particular Purchased Loan to continue to have Market Value,” and the disqualifier’s own clock for an eNote is one business day. Aging is another: more than 60 days since the purchase date for an ordinary loan, more than 90 for an “Aged Mortgage Loan,” whose purchase date for that count stays the original one, so reclassification does not restart the clock. A document sent back for correction and not returned, a loan shipped to an investor and neither paid for nor returned, delinquency or material default, forbearance requested in writing or granted, and a loan-level representation that proves untrue “in any respect” each do the same, the timed ones on the documents’ own count.

How long is the cure clock, and what must the notice say?

The cure clock runs to the close of business the same day on the 1996 form when notice arrives by the margin notice deadline, and the notice need say almost nothing. Notice given at or before that deadline on a business day requires transfer “no later than the close of business in the relevant market on such day”; notice given after it moves the transfer to the next business day. That deadline is whatever the confirmation or an annex says and, absent agreement, whatever market practice establishes. The 2023 facility fixes its own. A call delivered by 10:00 a.m. on the clock the agreement names must be met by 5:00 p.m. the same business day on that clock, and a later call by 9:30 a.m. the next.

As to content, both documents require little. Paragraph 4(a) of the form conditions the obligation on “notice” alone; the 2023 facility’s margin call is likewise “by notice to the Seller,” with no stated contents. Failure to comply with paragraph 4 is itself an event of default on the form, with no grace period on its face. The 2023 facility lists a missed margin transfer “within the time period specified in Section 6.2” among its payment defaults. Prior forbearance buys nothing on the form, because “the failure to give a notice pursuant to Paragraph 4(a) or 4(b) hereof will not constitute a waiver of any right to do so at a later date.”

What can be negotiated before the facility closes?

What can be negotiated before the facility closes is the margin mechanic itself, at the four points where it bites. Those points are the threshold below which no call issues, the base the percentage is applied to, the deadline for the call and the cure, and the definition of market value. Each point is negotiable because some filed document already drafts it. The form itself contemplates a threshold and leaves the amount blank, and it lets the parties choose whether the test runs across the book or transaction by transaction. The 2023 mortgage facility fills the blank and fixes its own clock for the call and the cure. The 2018 non-mortgage facility on the same form does both as well, on its own terms. In our view, the filed facilities show what a counterparty has been willing to write down; what any particular seller will get is a different question.

In our view, the default is worse than it looks, because none of it was written with a mortgage seller in mind. Where nothing is agreed, the form’s own defaults, with market practice where the form defers to it, decide all four points. Which of the four points a given lender will move, how far, and in exchange for what turns on facts particular to the seller and the lender across the table. Those facts are the lender and its form, the asset mix in the base, the advance rate already agreed, the custodian’s turnaround on documents, and the seller’s volume. That is the work.

Why does the remedy survive a bankruptcy filing?

The remedy survives a bankruptcy filing where a warehouse facility documented this way qualifies as a repurchase agreement under the Bankruptcy Code, because the Code then protects a repo participant’s contractual remedies from the stay. The definition in Section 101(47) reaches transfers of “mortgage loans, interests in mortgage related securities or mortgage loans” against funds, with a simultaneous agreement to transfer back assets of the kind described “at a date certain not later than 1 year after such transfer or on demand.” Under Section 559, a repo participant’s or financial participant’s contractual right to liquidate, terminate, or accelerate on an insolvency-type condition “shall not be stayed, avoided, or otherwise limited by operation of any provision of this title or by order of a court or administrative agency in any proceeding under this title,” subject to an exception, where the debtor is a stockbroker or securities clearing agency, for an order authorized under the Securities Investor Protection Act of 1970 or a statute the SEC administers, a status that, in our view, a mortgage seller will not ordinarily hold. The protection runs only so far: liquidation proceeds exceeding the stated repurchase prices and expenses “shall be deemed property of the estate, subject to the available rights of setoff.” Whether a particular facility qualifies turns on its terms and on the counterparty’s status under the Code. The drafting that invokes the safe harbor is a separate question, which our article on gestation repo provisions that decide a counterparty workout takes up.

Practitioner takeaway

A margin call is arithmetic performed by the counterparty holding the pen. In the 2023 facility, the margin percentage is not in the filed agreement, the standard is the agent’s own judgment within its stated qualifiers, and the exits zero a loan on their own terms. The cure can fall due the same day. The secured-lending line read in our article on when a warehouse advance comes due has no margin call in this sense; its advances fall due on their own triggers. In our view, the seller’s room to move is in the threshold, the calculation basis, the call deadline, and the definition of market value. On the 1996 form, the base is the form’s own. The rest is the parties’ to agree, and where they agree nothing, the form’s own default, or market practice where the form defers to it, governs. Our article on what a conservatorship exit would change in a mortgage repo agreement reads the same paper from the conservatorship side.

About Goldsmith Associates

Goldsmith Associates is a leading provider of legal counsel to depository institutions, mortgage bankers, fund managers, loan servicers, and broker-dealers nationwide in connection with the purchase, sale, servicing, and financing of whole loans and servicing rights. Founded by Jason Goldsmith in 2015, Goldsmith Associates has represented its clients on 903+ secondary market transactions conveying more than $163 billion in mortgage-related assets. Visit us online at goldsmithpllc.com, email us at info@goldsmithpllc.com, call us at 833-4-GOLDSMITH, or follow us everywhere @goldsmithpllc. We are on call and at the ready 24/7.