Building a better Broadridge, starting with intelligent trade reconciliation.
Hi everyone! Iām Dhaval Gajiwala, the founder ofĀ NowHouse.
NowHouse builds software that helps stock brokerages settle trades instantly. Weāre starting by helping trading ops teams in the brokerage back office intelligently reconcile trades and corporate actions.
Many of you acutely recall quarantining at home in January 2021, nearly a year after the pandemic started. If youāre anything like me, you passed a lot of time switching between the same three or four apps on your phone amid curfews and indoor dining bans.
If one of those apps was a brokerage, you might also recall this headline.
Two weeks after theĀ WallStreetBets-driven surge in the price of GME started, Robinhood restricted trading, drawing the ire of its users. When a stock is as volatile as GME was, theĀ NSCC increases its collateral requirement to ensure it can continue to bear counterparty risk and clear the trades sent its way. As a result, Robinhood restricted buying to avoid becoming insolvent.
One of the things Robinhood had to do was reconcile, or match, its trades against its executing brokers and ultimately against those cleared by the NSCC. In fact, every firm has to reconcile trades against the firm immediately upstream in the state machine belowāitās a well-conserved pattern.
For example, at market open, an introducing broker reconciles the previous dayās close against its carrying broker, which in turn reconciles against its clearing broker. Similarly, the clearing broker reconciles against trades reported viaĀ UTCĀ by theĀ DTC, which holds $87 trillion of securities. (You can think of the DTC as the custodianās custodian.)
The DTC itself receives settlement instructions from the NSCC via theĀ CNSĀ system, which nets transactions to one security position per firm per day. Member firms areĀ alsoĀ apprised of securities movements by the NSCC via CNS. A given brokerage may even reconcile its own orders against partial fills or its settled shares against shares that are pending, held, or tradable.
The point is thatĀ the 20 billion equity and options trades in the US every year are each netted and reconciled several times over at different levels of abstraction in the financial system. At a single firm, reconciliation is done thousands of times per day across hundreds of thousands of trades.
ā¦reconciliation is the process of creating as āgoodā a mapping as possible between disjoint subsets of two ordered or unordered finite sets. Itās a generalization of the subset sum problem, which is itself NP-complete. The size of the search space for reconciliation is given by the Bell numbers, a logarithmically convex sequence that counts the partitions of a set. Reconciliation can be constrained by, for example, enforcing that set partitions are non-crossing. Even then, however, the search space is given by the Catalan numbers, another logarithmically convex sequence.
This means thatĀ the fastest general solution is exhaustive searchāunacceptable for 100 trades, let alone 100,000ā¦
Itās done by people. Even at the most tech-forward brokerages and clearinghouses, reconciliation is manually driven. In some cases, itās naively automatedāthinkĀ cron jobs executing stored proceduresāwhich is far less robust than human judgement. These procedures are slow and brittle. And whether it's driven by a trading ops team alone or augmented by computers, there's little variance in how reconciliation is done from firm to firm. Itās the same problem across the 3,400 SEC-registered broker-dealers.
To make this problem tractable, it needs to have a clear objective function and be constrained with heuristics. NowHouse preprocesses and normalizes trading datasets using AI,Ā reconciles trades under context-appropriate objective functions, and writes reconciled transactions to a general ledger. It also enforces configurable constraints, like adjacency of transactions in a match so that the reconciliations it generates make sense given different business contexts. A trading ops associate need not waste time manually combing through reams of transactions to resolve discrepant ones.
Youāve probably noticed that when you place a trade, the shares (or cash) take two business days to arrive, at which point you can sell the shares (or withdraw the cash). That's known as T+2 settlement, and itās about to change. Just over a year ago, the SEC adoptedĀ amendmentsĀ to the Securities Exchange Act of 1934,Ā shortening the trade settlement cycle from T+2 to T+1. Maintaining current books and records is paramount to supporting T+1 settlement, and efficiently reconciling trades is paramount to maintaining current books and records.
ā¦is to become theĀ de facto system of record to firms and their regulators on the 3 trillion shares that change hands in U.S. markets every year. This will then enable NowHouse to shoulder compliance and recordkeeping responsibilities likeĀ CAT reportingĀ for brokerages.
If you work (or worked) for a brokerage, clearinghouse, or any other party involved in the trade lifecycle, please reach outāespecially if your firm wrestles with trade clearing and settlement.
Christmas at the NYSE, taken a block from my apartment, and a week before flying to SF for YC.