DeskTested

Trading tools, tested on a real desk.

Updated Oct 21, 2026Desk NotesClaims verified ✓Anthony M.

Cash Account Unsettled Funds and Buying Power: How T+1 Split Our Rotation in Two

Unsettled sale proceeds left our cash account's rotation buy without buying power. An SEC example permits that trade if the stock sold was settled.

In a cash account, the money from a sale is unsettled until the next business day (T+1), and a broker doesn’t have to count it as buying power before then. Ours didn’t. On 28 July 2026 our desk sold QLD as the first leg of a rotation into QQQ. The QQQ buy was rejected with an EQUITY_NOT_ENOUGH_BP alert and pushed to the next day.

What makes this worth a page is that the SEC’s own cash-account guidance works through a same-day sell-then-buy and calls it permissible. In that example the stock sold is “fully paid for and settled”, and the new position isn’t sold before the first sale settles. Our record doesn’t say whether the QLD shares sold that day were settled, so we can put our case next to the example but not inside it. Either way, the refusal shows how one broker and its API handled one order on one day. It isn’t a rule for all cash accounts. This page puts the record next to the rule, then shows how to plan for the gap in code.

This page has no prices, share counts, proceeds, fees or account values. It describes one historical event, not a current position or a signal.

What the record says

The entry comes from the desk’s rebalance log for 28 July 2026. Dollar amounts and quantities were redacted before the excerpt reached the writing desk. The relevant part, verbatim:

SELL QLD (leg 1 of rotation) — De-lever rotation. […] QQQ buy BLOCKED today: cash-acct proceeds unsettled (buying_power [REDACTED], alert EQUITY_NOT_ENOUGH_BP). QQQ buy DEFERRED to T+1 (07-29) after settlement. Now in CASH […]

That entry records four facts. The account was a cash account. The sale executed, but its proceeds were unsettled. The buy leg was refused for buying power. And it was moved to the settlement date, so the strategy held cash overnight instead of QQQ. Switching from the 2x QLD to the 1x QQQ is the kind of de-lever move we backtest in our leveraged ETF volatility filter study. A daily backtest treats a switch like that as a single step, which is exactly what this account couldn’t do.

What the rules say

Since 28 May 2024, most US securities trades have settled T+1. The SEC’s investor bulletin on the change gives the example: “if you sell shares of ABC stock on Monday, the transaction will settle on Tuesday.”

Settlement and buying power aren’t the same thing, though. The SEC’s investor bulletin “Trading in Cash Accounts” (first published 12 September 2017, updated 7 August 2026) says Regulation T “authorizes a broker-dealer to use a cash account to purchase a security for an investor if” there are “sufficient funds” in the account, or if the broker “accepts in good faith the investor’s agreement that the investor will promptly make ‘full cash payment’ for the security before selling it”. It then works through examples. Here they are next to our record:

Scenario Stock sold was “fully paid for and settled”? Sell Buy new stock Sell the new stock Outcome
SEC example: wait for settlement Yes (the example’s premise) Monday Friday n/a Permissible; the proceeds “would have settled on Tuesday”
SEC example: same-day rotation Yes (the example’s premise) Monday Monday Friday Permissible “as long as the investor does not sell the XYZ stock prior to the settlement of the ABC stock sale”
SEC example: freeriding Yes (the example’s premise) Monday Monday Monday afternoon Freeriding; may trigger a 90-day freeze
Our desk, 28 Jul 2026 Not recorded Tuesday Tuesday (attempted) n/a Refused for buying power (EQUITY_NOT_ENOUGH_BP); buy deferred to Wednesday

All three SEC examples start from the same premise: “An investor holds $10,000 of fully paid for and settled ABC stock in a cash account.” The bulletin’s reason the sale is fine is that “an investor can sell a fully-paid for and settled security held in a cash account.” If the QLD shares we sold met that premise, our case had the shape of the second row, which the bulletin calls permissible. The desk record doesn’t say whether they did, so that comparison stays conditional. What the record does show is that the broker’s buying-power figure didn’t include the unsettled proceeds, and its API refused the order.

The third row is the line the rules actually draw. Investor.gov’s glossary defines it: “If an investor buys and sells a security before paying for it, the investor is ‘freeriding’ which is not permitted under the Federal Reserve Board’s Regulation T and may require the investor’s broker to ‘freeze’ the investor’s cash account for 90 days.” During the freeze, “the investor must fully pay for any purchase on the date of the trade.”

Why the broker refused, and what we can’t tell

The bulletin describes what Regulation T authorizes a broker to do. It doesn’t say a broker must count unsettled proceeds as buying power, and ours didn’t.

The response didn’t tell us why. We can’t say whether the broker treats every cash account this way, whether the behaviour is specific to its API, or whether something about this particular account caused it. The record also doesn’t say whether the QLD shares sold that day were themselves fully paid for and settled, the premise every SEC example starts from. The alert named buying power and nothing else. So the record shows one broker, one account and one day, and we don’t generalise from it. Other brokers publish their own cash-account policies. The only reliable way to know yours is to read its documentation and log what its API actually returns.

Cash accounts were outside the pattern-day-trader rule change and still follow settlement rules, as our broker-by-broker PDT tracker notes. For an automated strategy in a cash account, settlement, not the PDT count, is the constraint to plan around.

What a one-step rotation becomes

On paper, a rotation is one decision with two orders. In this cash account it took two sessions:

Tue 28 Jul 2026 (T) Wed 29 Jul 2026 (T+1)
Leg 1: sell QLD Executed n/a
Sale proceeds Unsettled Settle
Leg 2: buy QQQ Refused (EQUITY_NOT_ENOUGH_BP) Rescheduled to this date
Overnight exposure Cash, not QQQ n/a

That creates two problems for a strategy, and neither is visible in a backtest.

An exposure gap. A backtest that rotates at one close assumes the swap happens at once. Here, live exposure and simulated exposure differed for a night. Whether a gap like that helps or hurts depends on the next session’s move. Either way it’s unmodelled, and in a strategy that rotates often, those nights add up.

An error that looks like a different bug. “Not enough buying power” reads like a sizing mistake, so the obvious response is to shrink the order and retry. That’s the wrong fix here. The order was the right size, and the cash just hadn’t settled. The desk-log’s note on the entry concludes that same-day rotation logic “has to plan for that gap or use a margin account”. Margin accounts come with their own rules, so that’s an account decision we don’t make for anyone.

Planning for the gap in code

The plan should check settled cash before it sends the second leg, and treat this specific refusal as “wait for settlement”, not as a failure:

# Illustrative: plan a "sell A, buy B" rotation in a cash account whose broker
# doesn't count unsettled sale proceeds as buying power (what ours did on
# 2026-07-28). Weekends handled; market holidays omitted for brevity.
from datetime import date, timedelta

def settlement_date(trade_date: date, business_days: int = 1) -> date:
    """T+1: one business day after the trade date."""
    d = trade_date
    while business_days:
        d += timedelta(days=1)
        if d.weekday() < 5:                     # Monday-Friday
            business_days -= 1
    return d

def plan_rotation(trade_date: date, settled_cash: float, buy_cost: float):
    """Return (leg, date) pairs. The buy waits for settlement if it must."""
    if settled_cash >= buy_cost:
        return [("sell A", trade_date), ("buy B", trade_date)]
    return [("sell A", trade_date), ("buy B", settlement_date(trade_date))]

DEFER_ON = {"EQUITY_NOT_ENOUGH_BP"}             # the alert our broker's API returned

def on_rejection(code: str, leg: str, trade_date: date, queue: list) -> str:
    if code in DEFER_ON:                        # a settlement state, not a sizing bug
        queue.append((leg, settlement_date(trade_date)))
        return "deferred: holding cash until settlement"
    raise RuntimeError(f"unhandled rejection {code} on {leg}")

print(plan_rotation(date(2026, 7, 28), settled_cash=0.0, buy_cost=1.0))
# [('sell A', datetime.date(2026, 7, 28)), ('buy B', datetime.date(2026, 7, 29))]
print(settlement_date(date(2026, 7, 31)))      # a Friday sale settles Monday
# 2026-08-03

Two details matter more than the code. First, log the deferral as an exposure event (“flat overnight, by design”), so the gap shows up when you compare live results with the backtest. Second, if an agent places the orders, have it read the account type from the broker, not assume it. In our broker MCP desk test, the separation between accounts turned out to be a per-account field the broker sets.

Frequently asked questions

Can you buy with unsettled funds in a cash account?

The SEC’s cash-account bulletin gives an example where it’s permissible, under two conditions. The stock sold was “fully paid for and settled”, and the new position isn’t sold before the first sale settles. Regulation T says a broker may buy for a cash account when there are sufficient funds, or when it accepts in good faith the customer’s agreement to pay in full before selling. It doesn’t say the broker must, so whether a given broker allows the trade is a separate question. Ours refused the buy for lack of buying power, and our record doesn’t say whether the shares sold met the first condition.

What does EQUITY_NOT_ENOUGH_BP mean?

It’s the alert our broker’s API returned when the buy leg was refused. The name reads as “not enough buying power”, and the desk’s record ties it to unsettled cash-account proceeds. We haven’t seen published documentation defining it, so treat that reading as ours.

How long until sale proceeds settle?

For most US stock and ETF trades, one business day (T+1), which has been the standard since 28 May 2024. A Monday sale settles on Tuesday, and a Friday sale settles the following Monday, holidays aside.

What is freeriding in a cash account?

Buying a security and selling it before you’ve paid for it. Investor.gov says it “is not permitted under the Federal Reserve Board’s Regulation T” and may lead the broker to freeze the cash account for 90 days. During the freeze, any purchase must be fully paid on the trade date.


Sources, read 20 October 2026: SEC investor bulletin “Trading in Cash Accounts” (investor.gov; 12 September 2017, updated 7 August 2026; examples re-read 21 October 2026); Regulation T, 12 CFR 220.8; SEC investor bulletin “New ‘T+1’ Settlement Cycle – What Investors Need To Know” (investor.gov, 27 March 2024); investor.gov glossary entry “Freeriding”. Desk record: rebalance log entry of 28 July 2026, via pipeline/desk-log/2026-W42.md.

This is educational content, not financial, legal or tax advice, and not a recommendation to use any account type or broker. It describes one historical event and contains no current positions, signals or account values. We have no affiliate or commercial relationship with any broker mentioned.