> For the complete documentation index, see [llms.txt](https://docs.xft.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xft.finance/bitnet/technical/architecture.md).

# Architecture

**1. Failure Surface Distribution**

**2. Execution Determinism**

3. Economic Incentive Alignment

**4. Transparency vs. Information Leakage**

5. Speed vs. Predictability Trade-Off

Microsoft FoxPro for MS-DOS

FoxPro running on off-the-shelf Dell PCs.

**ECN Distributed Architecture:**

<table><thead><tr><th width="153.4444580078125">Node (Dell PC)</th><th width="243.22222900390625">Function</th><th>Failure Impact</th></tr></thead><tbody><tr><td>PC 1</td><td>Order entry + validation</td><td>Isolated — other nodes continue</td></tr><tr><td>PC 2</td><td>Risk checks</td><td>Isolated — orders queue until restored</td></tr><tr><td>PC 3</td><td>Matching engine (FoxPro ISAM + B*-tree)</td><td>Core node — redundant backup</td></tr><tr><td>PC 4</td><td>Order book state updates</td><td>Isolated — matching continues</td></tr><tr><td>PC 5</td><td>Trade confirmation</td><td>Isolated — confirms batch on recovery</td></tr><tr><td>PC 6</td><td>Market data dissemination (ITCH feed)</td><td>Isolated — trading unaffected</td></tr></tbody></table>

*Each node = single function on commodity hardware. No single point of failure. No mainframe.*

distribute the failure surface across commodity hardware instead of concentrating it in proprietary infrastructure.

**Deterministic execution** — every order processed in strict time-price priority with zero ambiguity

**Fault tolerance** — distributed across multiple commodity machines instead of a single-point-of-failure mainframe

**Event-driven architecture** — each machine performed one specific function and responded to state changes in real time

* Order validation
* Risk checks
* Price/time priority sorting
* Order book state updates
* Trade confirmation
* Market data dissemination

***

#### Clock Synchronization and Timestamping <a href="#clock-synchronization-and-timestamping" id="clock-synchronization-and-timestamping"></a>

Precision Time Protocol (PTP)

Network Time Protocol (NTP)

Smart Market Access Routing System (SMARS)

<https://www.quantvps.com/blog/order-matching-engines>

***

### **How Does an OMS Fit Into the Trading Workflow?**

1. **Order Creation:** Traders initiate orders based on market analysis or client instructions.
2. **Pre-Trade Compliance Check:** The OMS verifies that the order complies with regulations and internal risk limits.
3. **Order Routing:** The system routes orders to the best execution venue using smart algorithms.
4. **Order Execution:** The trade is executed on the exchange or alternative trading system.
5. **Trade Confirmation and Allocation:** The OMS confirms the fill and allocates the trade to appropriate client accounts.
6. **Post-Trade Compliance and Reporting:** The system performs post-trade surveillance, reconciles trades, and generates compliance reports.

***

No Dealing Desk (NDD)

<figure><img src="/files/Kqj6jGbTEhExPx48Ybt7" alt="" width="375"><figcaption></figcaption></figure>

depth of market or DOM

**Secure Financial Transaction Infrastructure (SFTI)**

***

How Josh Levine Built Island ECN: The Matching Engine That Rewrote Electronic Trading\
\
<https://electronictradinghub.com/how-josh-levine-built-island-ecn-the-matching-engine-that-rewrote-electronic-trading/#why-a-foxpro-database-changed-trading-forever>\
\
OMS Vendors<https://www.tradersmagazine.com/news/order-management-makes-most-waves-traders-choose-favorite-oms-vendors/>\
Macgregor ArchipelagoNasdaq's SuperSOESSunGard's BRASSRoyal Blue Financial's Fidessa\
An Open Door at Instinet: Smart Routing Changes Face of Electronic Broker\
<https://www.tradersmagazine.com/news/an-open-door-at-instinet-smart-routing-changes-face-of-electronic-broker/>\
ECNBrut and LightSpeedInstinet, Island, Archipelago, REDIBook and TradeBookInstinet's WinPeg discretionary pricingThomson Reuters' AccelusCentroid Bridge\
Bloomberg's trade Order management Solutions (TOMS)JP Morgan's AI-powered trading platform, LOXM\
Midpoint matching system\
<https://patentimages.storage.googleapis.com/65/61/02/9a401ce8b2215b/US7761364.pdf>\
Method for managing distributed trading data\
<https://patents.google.com/patent/US7778919B2/en>\
\
<https://iongroup.com/products/markets/marketfactory-venues/><https://v2.pandalemon.biz.id/index.php/2025/09/20/order-management-system-in-trading-the-backbone-of-efficient-trade-execution/>\
\
Global Electronic *Trading* Company (*GETCO*)

Knight Capital Group

market-participant ID (MPID)

Lava’s main business is routing orders to market centers on behalf of broker-dealers.

Lava Trading’s prodigious ColorBook network.

LavaFlow ECN, Citi Match and ATD

BRUT ECN

Brut from SunGard

ECN NOCI, owned by Domestic Securities,

SuperMontage

LavaFlow

Securities trading system for consolidation of trading on multiple ECNS and electronic exchanges

<https://patents.google.com/patent/US6278982B1/it>

Lava ColorPalette OMS

Lava Trading Floor and Lava ColorMaker

LavaFlow ECN

<https://www.sec.gov/files/litigation/admin/2014/34-72673.pdf>

<https://www.thealumniassociation.com/home/4827678-david-weisberger/profile>

"GOTO" routing

<https://www.tradersmagazine.com/page/2072/?more=news&page=1>

<https://www.tradersmagazine.com/news/at-deadline-14/>

*Lava Trading* (its ColorBook' system shows all the limit orders and all the quotes on most large *ECNs* and Nasdaq), as well as *smart routing*' vendors.&#x20;

&#x20;DMA platforms like REDIPlus and *Lava Trading*

Royalblue just charges a monthly per-*ECN* connection fee.&#x20;

SuperMontage

SuperMontage will replace Nasdaq's current SOES and SelectNet systems

Patent No. 6,278,982

<https://patentimages.storage.googleapis.com/34/91/36/f2269dc71da374/US7693775.pdf>

Its *ColorBook* offered Nasdaq traders, frustrated by fragmentation, both quote aggregation and direct access. *Lava* counts about 80 customers on both the buyside

Its ColorBook offered Nasdaq traders, frustrated by fragmentation, both quote aggregation and direct access. Lava counts about 80 customers on both the buyside

Back in 1999, *Lava* introduced an *ECN* aggregation product called *ColorBook*. The software combined all of the books of the major Nasdaq *trading* venues&#x20;

Citi''s Colorbook SOR uses analytic-based smart liquidity posting, has a normalised interface with child order characteristic synthesis as needed and supports sponsored broker access.

Citi Match captures flow from the broker's institutional customers, various Citi trading desks, ATD as well as its Lava Trading unit. The dark pool executed

*ECN* aggregator REDIPlus, and Citigroup acquiring *Lava Trading*, the largest .

As with the popular *ColorBook* from *Lava Trading*, Royalblue's front-end aggregates quotes from all Nasdaq and listed markets,

With the launch of LavaFlow earlier this year, *ColorBook* users have had the option of checking the *ECN's* book for fills before traveling on to their destination .

&#x20;*ColorBook* on many of the desks that take the Fidessa OMS. Bear Stearns, for instance, dumped *ColorBook* for FidessaMontage when it installed Fidessa. Lava&#x20;

Lava Trading's prodigious ColorBook network. ... Now, because of the push into the order-routing business, less than half of the ECN's flow comes from Citi,

On Nasdaq, it means hitting bids and lifting offers via ECNs and with the help of outfits such as quote aggregator' Lava Trading (its ColorBook' system shows

As with the popular *ColorBook* from *Lava Trading*, Royalblue's front-end aggregates quotes from all Nasdaq and listed markets, giving the trader a&#x20;

Lava Trading's prodigious ColorBook network. This "GOTO" routing business is run under the banner of Citi's LavaFlow ECN, which launched in February 2007

As with the popular *ColorBook* from *Lava Trading*, Royalblue's front-end aggregates quotes from all Nasdaq and listed markets, giving the trader a&#x20;

&#x20;*Lava Trading* (its *ColorBook*' system shows all the limit orders and all the quotes on most large *ECNs* and Nasdaq), as well as smart *routing*' vendors. On the

ColorPalette order management system (OMS)

This distinguished *ColorBook* from an *order router* which generally allows an end user to submit an *order* to an execution venue.&#x20;

Under the GOTO program, ColorBook's smart-order-router technology transports orders into the LavaFlow ECN, Citi Match and ATD, as well as all other public .

As a smart order router, ColorBook applied preprogrammed analytics that carried out an execution strategy. This distinguished ColorBook from ...Read more

*Pipeline*, a stock and options institutional *trading* venue, has launched a *system* that will help match investors with a block *trade*.

When activated by a *trader*, the *Algorithm* Switching Engine will work in tandem with the existing *Pipeline* Block Market, correcting

Block trading ATS provider Pipeline Trading Systems

*ipeline Trading Systems*, a US-based block trading venue,

Pipeline Trading Systems launches dynamic algorithm switching engine

Connecting Pipeline ATS to the Thomson AutEx Order Routing network

we implemented the Lava router, called "*Colorbook*" into our new&#x20;

<https://www.thetradenews.com/guide/citi-10/>

{% code expandable="true" %}

```
Citi
Citi''s Colorbook SOR uses analytic-based smart liquidity posting, has a normalised interface with child order characteristic synthesis as needed and supports sponsored broker access.

Access and algorithmic integration
Clients can access Colorbook

via direct FIX (DMA), vendor

systems, and Citi algorithms.

The SOR normalises

interfaces to all execution

venues and adapts to regionspecific

business rules as

needed.

Destinations
The Citi SOR is available in

North America, Europe and

Asia. This includes all NMS-protected

venues, the

LavaFLOW ECN, Citi Match

and other dark pools and

liquidity partners. Market

data feed handlers and

routing execution handlers

are developed as soon as

specifications are available

from new destinations.

Order types and client reporting
Colorbook supports the

following order types:

conventional order types, e.g. day and immediate-or-cancel;

probe; probe and post; sweep;

sweep and post; market;

market and post;

simultaneous and sequential

ping; ping at multiple price

levels; smart triggers to

control start/end time,

quantity, start/stop price;

dollar value risk limits; and

move to primary for open/

close/halt. A range of

different analytics can be

customised into a report

upon request for any client.

Data feeds
The router uses SIP, as well as

direct exchange real-time

depth of book feeds. Routing

decisions are based on both

real-time data and historical

statistics.

Routing logic
Routing logic is based on:

Reg NMS protection for

protected venues; best

execution price for client

order; smart order type

characteristics; pre-configured

route ranking/

preferencing; pre-configured

oversize preferencing;

analytical-based smart

posting; and pre-configured

posting preferences.

Colorbook uses heat maps to access the best source of

liquidity. Lit venues have

stronger protection in terms

of trade-through, while dark

venues are accessed via ping

processing, or if known dark

liquidity has passed through

the SOR.

Smart order types

determine how child orders

are dynamically routed based

on changes in the market and

order instructions. Posted

orders can be re-routed based

on market changes.

Clients can fully customise

the routing logic for their

order flow, according to

venue and whether to take or

post liquidity.

Extensive partitioning,

primary and backup

processes, disaster recovery

and automated and manually

initiated self-help

declarations are among the

fail-safes included in

Colorbook.

Future plans https://www.thetradenews.com/guide/citi-10/
Citi plans to make

continuous hardware

upgrades, co-location

improvements to Colorbook

in the next 12-18 months.

Furthermore, an expansion

of the order router to futures

and options is also expected.
```

{% endcode %}

<https://www.thetradenews.com/guide/citi-10/>

{% code expandable="true" %}

```
Patent https://www.tradersmagazine.com/news/at-deadline-14/

*Direct access vendor Lava Trading is threatening legal action against competitors over patent infringement. Lava notified direct access firms offering ECN aggregation that their systems violate a patent on its ColorBook front-end. ColorBook made a big splash last year as the first vendor-built trading system to aggregate and provide access to every quote on multiple ECNs. Now used by 11 of the top investment banks, according to Lava, it was patented in August 2001. In the wake of its success, several direct access firms have begun offering similar functionality.

Lava has engaged a law firm to press its case. "They have a patent and we will be seeking to enforce their intellectual property rights," said Bob Hanlon of Coudert Brothers. Patent No. 6,278,982 describes ColorBook as a "securities trading consolidation system" that allows traders to "conduct security transactions with two or more ECNs, or other comparable ATSs." One competitor who received an accusatory letter from Lava likened the action to "patenting the wheel."

Fee Brawl

*Track ECN is the latest electronic communications network caught up in the battle over access fees. Huberman Financial, a Dallas dealer, is angry with the New York ECN for billing it, contending that it is trying to "extort" fees from the firm, which must use SuperSoes to effectively compete. "It is difficult to understand how your company, in good conscience, would try to force firms to pay for a service they said they do not want…," Huberman officials wrote in a letter to Track ECN. But a spokesman for the ECN noted that Huberman must pay. "We tell all our brokers or market makers, who do not want to pay our fee, to route away from SuperSoes (where we are) and to use their direct connections."

Shut Down

*NASD Regulation has shut down MarketXT, the formerly high-flying ECN. Industry sources say the regulator took action after MarketXT failed to pay $2 million owed to its former clearing firm, Southwest Securities. The liability caused MarketXT's capital to fall below the required minimum, placing the firm in violation of NASD rules. MarketXT dropped Southwest at the end of July for Penson Financial Services. Shortly thereafter it stopped trading. NASD-R ordered the cessation after Southwest notified the regulator of the outstanding obligation, sources said. Neither NASD-R nor MarketXT would comment. In any event, the cessation is a dramatic comedown. MarketXT was acquired just two years ago by e-broker Tradescape for stock worth $100 million. The last year has been a turbulent one for Market XT. The ECN's volume – which was previously negligible – skyrocketed. The surge followed MarketXT's unprecedented decision to grant automatic SuperSoes executions against its book. Its success was not without controversy. Some claim the ECN artificially inflated the numbers through computerized proprietary trading.

SuperMontage

*uperMontage must now meet the expectations of Nasdaq, following approval of the advanced trading system by the Securities and Exchange Commission. Nasdaq president Richard Ketchum, called the SEC approval a "big win for investors." He said that, "SuperMontage will open a new window on the trading of stocks, providing a clearer view of market activity and an increased amount of information to investors." Dean Furbush, executive vice president of Nasdaq Transaction Services said that, "SuperMontage will make it easier for market participants to access depth of trading interest due to the system's five levels of dynamically displayed depth."
```

{% endcode %}

[(12) United States Patent (10) Patent No.: US 7.693,775 B2](https://patentimages.storage.googleapis.com/34/91/36/f2269dc71da374/US7693775.pdf)

<https://www.tradersmagazine.com/page/2029/?more=articles>

[The Algorithmic Aggregator](https://www.tradersmagazine.com/news/the-algorithmic-aggregator/)

ColorPalette Order Management System from LavaFlow Inc

Electronic Algorithm Routing Network EARN

Macgregor Liquidity Access (MacLA),

Status orders sent through *LavaFlow's* ('*ColorBook*') *Smart* Order *Router* to protected venues, crossing networks and dark pools using the GOTO broker.

### [Dark Pools and a Role for Secrecy-Preserving Verification](https://parkes.seas.harvard.edu/sites/g/files/omnuum8711/files/2025-05/parkes_amma15.pdf)

<https://www.linkedin.com/in/larrygryziak>

## Pipeline Trading Systems <a href="#firstheading" id="firstheading"></a>

\
[Pipeline Trading Systems launches dynamic algorithm ...](https://www.thetradenews.com/pipeline-trading-systems-launches-dynamic-algorithm-switching-engine/)

[Pipeline Trading Changes Name](https://www.tradersmagazine.com/news/pipeline-trading-changes-name/)

<https://en.wikipedia.org/wiki/Pipeline_Trading_Systems>

Aritas Securities&#x20;

Portware

<https://www.forbes.com/sites/face-to-face/2010/05/24/pipelines-building-liquidity/>

<https://www.linkedin.com/in/alfred-berkeley-111605a>

<https://en.wikipedia.org/wiki/Fred_Federspiel>

<https://www.institutionalinvestor.com/article/2btgk7l0e458t8qugs83k/home/new-pipeline-on-the-block-the-flow-into-forex>

<https://patents.google.com/patent/WO2009126638A2>

Block trading system and method providing price improvement to aggressive orders

#### <https://patents.google.com/patent/WO2009126638A2>

Block trading ATS provider Pipeline Trading Systems

Pipeline Trading Systems launches dynamic algorithm switching engine

***

## Protecting Peg Orders Without Privileging Them

<https://mechanicalmarkets.wordpress.com/2015/12/18/possible-compromises-for-iex/><br>

Preventing Information-Leakage from IEX’s Router Without Privileging It

***

RESOURCES

[How Josh Levine Built Island ECN: The Matching Engine That Rewrote Electronic Trading](https://electronictradinghub.com/how-josh-levine-built-island-ecn-the-matching-engine-that-rewrote-electronic-trading/#why-a-foxpro-database-changed-trading-forever)

<https://v2.pandalemon.biz.id/index.php/2025/09/20/order-management-system-in-trading-the-backbone-of-efficient-trade-execution/>

<https://iongroup.com/products/markets/marketfactory-venues/>

<https://www.icmagroup.org/assets/documents/Regulatory/FinTech/ICMA-Repo-Trading-Technology-Directory-061021.xlsm>

<https://www.josh.com/notes/island-ecn-10th-birthday/>

<https://moglen.law.columbia.edu/CPC/archive/securities/15BROK%5Bpage2%5D.html>

<https://archive.nytimes.com/www.nytimes.com/library/tech/98/05/biztech/articles/10electronic-brokerage.html>

<https://www.singlestore.com/blog/reverse-engineer-chicago-mercantile-exchange/>

<https://www.tradersmagazine.com/departments/brokerage/broker-focus-bigger-is-better-for-citi/>

A Program Trading Weapons Race

<https://www.tradersmagazine.com/news/a-program-trading-weapons-race/>

<https://www.tradersmagazine.com/news/flashback-friday-in-the-footsteps/>

<https://patents.google.com/patent/US10817945B2/en>

<https://www.tradersmagazine.com/uncategorized/oms-vendors-regroup/>

[**https://www.tradersmagazine.com/page/1723/?more=news\&page=2**](https://www.tradersmagazine.com/page/1723/?more=news\&page=2)

Algorithm Switching Engine

*Lava's* main business is *routing* orders to market centers on behalf of broker-dealers.

Direct Edge *ECN*&#x20;

<https://www.tradersmagazine.com/page/1869/?more=articles>

<https://www.tradersmagazine.com/page/1935/?more=articles>

Intermarket Trading System (ITS)

<https://www.tradersmagazine.com/page/1898/?more=articles>

<https://www.linkedin.com/in/vickykazhdan/>

[**https://www.linkedin.com/in/fredhorman**](https://www.linkedin.com/in/fredhorman)

<https://www.linkedin.com/in/larrygryziak>

[A Royal Battle in the OMS Market: U.K. Supplier Is Shaking ...](https://www.tradersmagazine.com/news/a-royal-battle-in-the-oms-market-u-k-supplier-is-shaking-things-up-in-the-u-s/)

[A Royal Battle in the OMS Market: U.K. Supplier Is Shaking ...<br>](https://www.tradersmagazine.com/news/a-royal-battle-in-the-oms-market-u-k-supplier-is-shaking-things-up-in-the-u-s/)

<https://www.thealumniassociation.com/home/4827678-david-weisberger/profile>

<https://www.tradersmagazine.com/page/2093/?more=articles&page=3#:~:text=On%20Nasdaq%2C%20it%20means%20hitting,smart%20routing'%20vendors.%20On%20the>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xft.finance/bitnet/technical/architecture.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
