Small Group Tutorials

Here to help students catch up, keep up, and move ahead. Book a consultation here.

How Money-Market-Fund Constraint Algorithms Keep Portfolios Short and Liquid: WAM, WAL, 397-Day Maturity, Daily/Weekly Liquidity and Fee Triggers

Reader question: A money market fund can hold hundreds of short-term instruments with different maturities, reset dates and liquidity characteristics. How does a rule engine decide whether the entire portfolio is still short enough and liquid enough to qualify as a money market fund?

The core answer is a set of portfolio constraints. Under U.S. Rule 2a-7, a money market fund does not merely “buy short-term debt.” It must continuously satisfy maturity, liquidity, diversification and quality requirements. The maturity engine tracks each instrument’s Rule 2a-7 maturity, calculates a dollar-weighted average maturity (WAM) no greater than 60 days and a dollar-weighted average life (WAL) no greater than 120 days, and generally prevents acquisition of instruments with remaining maturity beyond 397 calendar days. The liquidity engine separately tracks daily and weekly liquid assets against current minimum levels.

The interesting mathematics is that WAM and WAL intentionally measure different risks. A floating-rate security can look short for WAM because its interest rate resets soon while still looking long for WAL because principal is not repaid for much longer. The pair prevents a portfolio from appearing short simply because many long-lived securities reset their coupons frequently.

What this page owns — and what it does not

This page owns the transformation:

money-market portfolio holdings → Rule 2a-7 maturity measures + liquidity buckets → constraint tests → permitted acquisition / breach diagnostics.

It does not replace fixed-income benchmark construction, day-count mathematics, money arithmetic, or a fund’s investment-selection model. Rule 2a-7 is a regulatory feasibility envelope, not a return-optimisation algorithm.

This is public portfolio and regulatory mathematics, not a recommendation to invest in any money market fund and not personalized financial advice.

The first invariant: individual maturity

Rule 2a-7 generally restricts a money market fund from acquiring a portfolio security with a remaining maturity greater than 397 calendar days, subject to the rule’s definitions and exceptions.

A basic gate therefore looks like:

RuleMaturity(Security) ≤ 397 days?

If no, the acquisition fails before the portfolio-average tests are even considered.

This is important because a 60-day WAM by itself could hide a very long outlier. A fund could combine a small long-dated position with a large amount of overnight cash and still report a short average. The individual-security maturity ceiling prevents that loophole.

Dollar weighting: larger positions count more

Let security i have market value Vi and assigned maturity Mi. Define portfolio weight:

wi = Vi / ΣVj.

A generic dollar-weighted average maturity is:

WAM = Σ wiMi,WAM.

And:

WAL = Σ wiMi,WAL.

The difference is not the weighting scheme. It is the maturity assigned to certain securities.

WAM: measure interest-rate reset exposure

Current fund disclosures and Rule 2a-7 practice state that WAM must be 60 days or less.

For many fixed-rate securities, the maturity used in WAM is simply the remaining time until principal maturity. But Rule 2a-7 permits specified variable- and floating-rate instruments to be treated as maturing sooner for WAM purposes—for example at the next interest-rate adjustment date or an eligible demand date when the rule’s conditions are met.

This makes WAM sensitive to how quickly the portfolio’s rates can reset toward current market levels.

WAL: stop long principal lives from disappearing behind resets

WAL must be 120 days or less.

For WAL, variable- and floating-rate securities are generally measured using their final principal maturity rather than merely their next rate reset. This gives the portfolio a second clock:

  • WAM: how quickly does the portfolio economically reprice?
  • WAL: how long can principal remain outstanding?

A fund can therefore pass WAM and fail WAL.

A simple floating-rate example

Suppose a portfolio has only two holdings:

  • 60% in a floating-rate note that resets in 7 days but matures in 300 days;
  • 40% in a Treasury bill maturing in 30 days.

For a simplified illustration, assume the floater qualifies to use the 7-day reset for WAM:

WAM = 0.60×7 + 0.40×30 = 16.2 days.

That easily passes the 60-day WAM limit.

But WAL uses the floater’s longer principal life:

WAL = 0.60×300 + 0.40×30 = 192 days.

The portfolio fails the 120-day WAL constraint.

This is precisely why the two metrics coexist.

WAM is not an ordinary bond duration

WAM should not be confused with Macaulay duration or modified duration. Duration weights the timing of discounted cash flows and measures price sensitivity to yield changes.

Rule 2a-7 WAM is a regulatory portfolio maturity statistic with special maturity-assignment rules for eligible floating- and variable-rate instruments.

A portfolio can have a low WAM but still have non-zero interest-rate, spread and liquidity risk.

Liquidity is a separate axis

A portfolio can be short in maturity and still be difficult to liquidate quickly.

The SEC’s 2023 money market fund reforms increased the minimum liquidity requirements. Under the current framework, money market funds generally must maintain at least:

  • 25% daily liquid assets;
  • 50% weekly liquid assets.

Tax-exempt money market funds do not have the same daily-liquid-asset minimum, while the weekly requirement remains relevant under the rule.

The liquidity engine therefore works alongside WAM/WAL rather than being derived from them.

Daily liquid assets

Rule 2a-7 defines categories that can qualify as daily liquid assets, including cash and specified securities or receivables that can be converted to cash within the prescribed daily horizon under the rule.

A generic test is:

DLA Ratio = Daily Liquid Assets / Total Assets.

For a fund subject to the 25% minimum:

DLA Ratio ≥ 25%.

The calculation is made at least once each business day and must be based on the rule’s actual asset classifications rather than a portfolio manager’s informal view that an instrument “looks liquid.”

Weekly liquid assets

Similarly:

WLA Ratio = Weekly Liquid Assets / Total Assets.

Current minimum:

WLA Ratio ≥ 50%.

Weekly liquid assets include broader categories than daily liquid assets because the permitted conversion horizon is longer.

Why a purchase can fail even if the fund is above the limit before trading

Suppose a fund starts the day with:

  • total assets = 100;
  • daily liquid assets = 27.

The DLA ratio is 27%.

If the fund spends 5 of cash to buy a non-daily-liquid security, daily liquid assets can fall to 22 while total assets remain roughly 100:

22 / 100 = 22%.

The acquisition would push the fund below the 25% floor.

The correct pre-trade algorithm therefore tests the post-trade state, not just the current state.

The general liquidity requirement is stronger than a threshold box-check

SEC guidance makes clear that a fund must hold securities sufficiently liquid to meet reasonably foreseeable shareholder redemptions in light of its obligations and investor characteristics.

This means:

25%/50% compliance is necessary but may not be sufficient.

A fund with highly volatile institutional cash flows may need substantially more liquidity than the regulatory minimum.

Illiquid assets create another cap

Rule 2a-7 also limits investment in illiquid securities. The current rule generally caps illiquid securities at 5% of total assets.

A portfolio can therefore pass DLA, WLA, WAM and WAL while still failing the illiquid-asset limit.

This is a useful algorithm-design lesson: regulatory feasibility is often an intersection of several independent inequalities.

Portfolio feasibility as a constraint set

A simplified money-market-fund feasibility test can be written:

WAM ≤ 60

WAL ≤ 120

Security maturity ≤ 397 days

DLA ≥ 25% where applicable

WLA ≥ 50%

Illiquid assets ≤ 5%

plus the rule’s diversification, credit-quality, issuer and instrument-specific conditions.

The feasible portfolio is the set of holdings satisfying all applicable constraints simultaneously.

Current liquidity fees are not triggered by the old weekly-liquidity link

The SEC’s 2023 reforms deliberately removed the old regulatory tie between weekly liquid asset thresholds and the imposition of liquidity fees or redemption gates.

The current framework instead requires specified institutional prime and institutional tax-exempt money market funds to impose a mandatory liquidity fee when total daily net redemptions exceed 5% of net assets, unless the estimated liquidity costs are de minimis.

The SEC’s implementation defines de minimis for this purpose as less than 1 basis point of the value of shares redeemed.

This creates a separate flow-based state variable:

Net Redemption Ratio = Daily Net Redemptions / Net Assets.

A fee trigger is not a maturity constraint

Suppose a fund has excellent liquidity:

  • DLA = 40%;
  • WLA = 70%;
  • WAM = 20 days;
  • WAL = 50 days.

If an institutional fund experiences qualifying net redemptions above the current mandatory-fee threshold, the fee framework can still become relevant.

Maturity, stock liquidity and redemption-flow costs are separate dimensions.

Redemption gates were removed from the Rule 2a-7 liquidity-threshold mechanism

The 2023 reform removed the provision that had allowed a money market fund board to temporarily suspend redemptions based on weekly-liquid-asset thresholds.

This is important for legacy software. A rule engine written around the pre-2023 linkage can falsely activate an obsolete gate state.

Stable NAV is not a guarantee

Government and retail money market funds can use stable-NAV mechanics under Rule 2a-7 when applicable, while institutional prime and institutional tax-exempt funds generally use floating NAVs.

But stable NAV does not mean the portfolio has no market risk. The rule’s maturity, liquidity and valuation controls exist precisely because the underlying securities still have changing values and liquidity.

Counterexample: a fund can pass WAM while becoming less liquid

Imagine the fund sells highly liquid 90-day Treasury bills and buys 30-day instruments that are difficult to sell before maturity.

WAM improves because maturity shortens.

Liquidity can deteriorate.

This falsifies the shortcut “shorter maturity always means more liquid.”

Counterexample: frequent resets can hide long principal exposure from WAM

A 300-day floating-rate security resetting tomorrow can have a very short WAM treatment while remaining a 300-day principal exposure for WAL.

Using only WAM would miss that distinction.

Counterexample: 50% weekly liquidity does not mean 50% can be sold today

Weekly liquid assets have a broader horizon than daily liquid assets.

A fund can satisfy the 50% weekly test while having materially less than 50% available on a same-day basis.

Counterexample: a fund can be compliant and still vulnerable to an extreme run

Regulatory floors are minimums. An investor base concentrated in a few large institutional accounts can redeem much faster than a diversified retail base.

The general liquidity requirement and internal stress testing therefore remain important even when numeric thresholds pass.

Inputs and outputs

A Rule 2a-7 constraint engine can require:

  • security identifier and instrument type;
  • market value;
  • final maturity date;
  • next rate-reset date;
  • demand-feature dates and eligibility;
  • daily/weekly liquidity classification;
  • illiquid-asset classification;
  • issuer and guarantor information;
  • fund type: government, retail, institutional prime, institutional tax-exempt;
  • current total assets and net assets;
  • daily subscriptions and redemptions;
  • Rule 2a-7 version and compliance date.

Outputs can include:

  • WAM and WAL;
  • individual-security maturity breaches;
  • DLA and WLA ratios;
  • illiquid-asset ratio;
  • pre-trade/post-trade compliance state;
  • mandatory-liquidity-fee trigger state where applicable;
  • diagnostic reason codes.

Evidence polarity: what supports confidence?

Evidence for a correct implementation includes WAM/WAL values independently reproduced from holdings, correct reset-versus-final-maturity treatment, security-level maturities no longer than permitted, liquidity classifications tied to Rule 2a-7 definitions, post-trade threshold checks, and current fee logic consistent with the 2023 reforms.

Evidence against confidence includes WAM and WAL always being identical despite floating-rate holdings, legacy 10%/30% liquidity thresholds still in production, weekly-liquidity thresholds automatically activating redemption gates, stable NAV being treated as proof of zero risk, or a portfolio purchase approved using pre-trade rather than post-trade liquidity.

Weak links in implementation

maturity-assignment error. A floating-rate security uses final maturity for WAM when an eligible reset treatment applies, or uses reset maturity for WAL when final life is required.

market-value staleness. Dollar weights use old prices and distort averages.

fund-type error. Tax-exempt or government-specific exceptions are applied to the wrong fund.

legacy-threshold drift. 10%/30% liquidity minimums survive after the 2023 reform increased them.

post-trade omission. A purchase is approved even though it causes a liquidity breach.

fee/gate legacy logic. Old WLA-triggered gate code remains active.

flow timing error. Net-redemption ratios use inconsistent NAV timestamps.

classification optimism. An asset is labelled weekly liquid without meeting the rule’s actual definition.

Diagnostics: how to test the engine

  • floating-rate divergence test: create a 7-day reset / 300-day final maturity instrument and require WAM and WAL to differ.
  • 397-day boundary test: test 396, 397 and 398 calendar days.
  • 60/120 boundary test: portfolios just below, at and above WAM/WAL limits.
  • post-trade DLA test: spend cash on a non-daily-liquid asset and recalculate the ratio.
  • weekly-liquidity test: verify the current 50% minimum.
  • legacy-rule test: ensure old 10%/30% thresholds do not drive current compliance.
  • illiquid-cap test: move from 4.9% to above 5%.
  • fee-trigger test: for an applicable institutional fund, move daily net redemptions through the 5% threshold.
  • de-minimis test: distinguish a liquidity-cost estimate below 1 basis point from a material fee.
  • holdings replay: reconstruct published WAM/WAL and liquidity percentages from a historical portfolio file.

What would falsify confidence?

Confidence should be withdrawn if the engine cannot reproduce published portfolio statistics; if rule-effective dates are unknown; if variable-rate maturity treatment is inconsistent; if a transaction can push liquidity below the minimum without being rejected or escalated; or if current fee/gate logic still reflects superseded Rule 2a-7 provisions.

Alternatives and limits

A bank deposit, Treasury bill ladder and ultra-short bond fund have different legal structures and risk controls. Rule 2a-7 specifically governs registered U.S. money market funds that rely on the rule.

No maturity or liquidity metric guarantees preservation of principal. The rule is a resilience and portfolio-construction framework, not a promise of zero loss.

How this connects to the surrounding knowledge estate

Day-count algorithms explain dated interest conventions but Rule 2a-7 maturity assignment is its own regulatory layer. Fixed-income index algorithms use eligibility screens for benchmark representation; Rule 2a-7 screens the investable portfolio for regulatory resilience. Exact arithmetic supports deterministic weighting and fee calculations.

Verification and update triggers

Preserve the Rule 2a-7/eCFR version, fund type, maturity-assignment rules, liquidity definitions, security classifications, asset values, fee thresholds and compliance dates. Revalidate after SEC amendments, material changes to liquidity-fee requirements, new exemptive relief, portfolio-system migrations or any regulatory compliance exception.

Primary and high-quality references

Educational boundary: This article explains public money-market-fund portfolio constraints. It does not recommend any fund, determine whether a specific fund is compliant, or provide legal or personalized financial advice.

Discover more from Bukit Timah Tutor

Subscribe now to keep reading and get access to the full archive.

Continue reading