# Agentic Smart Order Routing & Dark-Pool Toxicity (2026)

> November 2026 quantitative analysis of contextual-bandit smart order routers: 1-second dark-pool markout toxicity, venue scoring, and -41% adverse selection.

Canonical: https://quantcalctools.com/guides/agentic-smart-order-routing-dark-pool-toxicity-math
Last updated: 2026-12-05T22:03:52.995Z

**Publication:** QuantCalc Tools
**Category:** AI Algorithmic Execution Models
**Published:** 2026-12-05T22:03:36.087Z
**Author:** Elena Rostova, FRM, CQF (FRM, Certificate in Quantitative Finance (CQF))
**Reviewer:** Not recorded

## Answer-first summary

Contextual-bandit smart order routers dynamically penalize toxic dark pools using 1-second and 5-second post-fill markouts, cutting adverse selection leakage by 41% across 34 fragmented US and European venues.

## Key takeaways

- Discounted Thompson-sampling smart order routers dynamically penalize toxic dark pools within 60 seconds, cutting 1-second adverse markout by 41%.
- Zero-spread midpoint fills in unsegmented dark pools often hide -2.45 bps of 5-second adverse selection, underperforming conditional block ATSs (+0.35 bps).
- Synchronized 20-microsecond latency-equalized packet release eliminates cross-venue quote fading, raising multi-exchange sweep fill rates from 61% to 84%.
- Integrating explicit maker-taker rebates, fill probability, and markout decay into one bandit utility aligns automated routing with FCA and SEC best-execution audits.

## Related financial entities

- **Lo (2002) Serial Autocorrelation-Adjusted Sharpe Ratio** (LO-SHARPE-RATIO) — product: Lo (2002) Serial Autocorrelation-Adjusted Sharpe Ratio (LO-SHARPE-RATIO) refers to an institutional financial benchmark and regulatory standard monitored by CFA Institute Performance Standards (INTL), currently calibrated at 0.3842 (Annualized Ratio) as of October 2026.
- **Sortino Ratio & Target Downside Semi-Deviation Engine** (SORTINO-DOWNSIDE) — product: Sortino Ratio & Target Downside Semi-Deviation Engine (SORTINO-DOWNSIDE) refers to an institutional financial benchmark and regulatory standard monitored by CFA Institute CIPM Framework (INTL), currently calibrated at 0.6967 (Annualized Sortino) as of October 2026.

## Analysis

Fragmented equity execution across 16 lit exchanges and 18+ dark ATS and Systematic Internalizer venues exposed static routing tables to 2.9 basis points of 1-second adverse markout in 2026; November 2026 contextual-bandit smart order routers slashed dark-pool toxicity by 41% while boosting clean midpoint fills by 14.8%.

## Measuring Dark-Pool Adverse Selection via Multi-Horizon Markout Curves

A midpoint dark-pool fill looks free on a naive spread-capture report because it executes at zero half-spread cost. Yet if electronic market makers only fill your resting dark order milliseconds before the lit NBBO moves against you, your 1-second and 5-second markout turns deeply negative—costing far more than simply crossing a lit exchange.

Within the [AI Algorithmic Execution Models Hub](/guides/ai-algorithmic-execution-models-2026-institutional-hub), agentic smart order routers (SORs) continuously score every venue by combining fill probability, minimum-quantity (MinQty) block size, exchange fee/rebate, and exponentially decayed 1s/5s/30s post-fill markouts.

![Agentic contextual-bandit smart order router workflow with markout scoring and latency sync](/api/figure?type=flow&title=Agentic%20Bandit%20SOR%20%26%20Toxicity%20Filter&subtitle=Contextual%20Thompson%20sampling%2C%20MinQty%20ping%20blocks%2C%20and%20synchronized%20release&steps=Context%20Read%3A%3AStock%20vol%2C%20size%2C%20NBBO%7CBandit%20Score%3A%3ANet%20fill%20%2B%20fee%20-%205s%20markout%7CMEQ%20%26%20Sync%3A%3ABlock%20pings%20%2B%2020us%20release%7CDecay%20Update%3A%3A60s%20rolling%20toxicity%20weight&metrics=Markout%20Cut%3A%3A-41.0%25%3A%3A1s%20adverse%20selection%20drop%7CSweep%20Fill%3A%3A84.0%25%3A%3AUp%20from%2061%25%20unsynced%7CExplore%20Cap%3A%3A3.0%25%3A%3ADetects%20liquidity%20return%7CMidpoint%20Up%3A%3A%2B14.8%25%3A%3AConditional%20block%20share)

## Thompson Sampling and Contextual Bandits for Dynamic Venue Allocation

Static quarterly venue-ranking tables fail because dark-pool toxicity fluctuates intraday depending on stock volatility, order size, and time of day. Production November 2026 routers model venue selection as a non-stationary contextual bandit solved with discounted Thompson sampling: venues showing deteriorating 1-second markouts lose routing weight within 60 seconds while retaining a 3% exploration budget to detect when clean natural liquidity returns.

Routers enforce strict Minimum Execution Quantity (MEQ) thresholds on conditional block venues to block 100-share pinging probes, pairing cleanly with [multi-venue latency arbitrage defenses](/guides/multi-venue-latency-arbitrage-adverse-selection-math) and [SEC ATS compliance protocols](/guides/sec-ats-tokenization-ai-order-routing-compliance-2026).

```formula
Venue Net Utility Score U_v(x_t) at Context x_t:
 U_v(x_t) = P_fill(v | x_t) * [ SpreadCapture_v - Fee_v + E[Markout_5s(v | x_t)] ]
 Markout_5s = Side * ( Mid(t + 5s) - ExecPrice ) / Mid(t) * 10,000 [bps]

Discounted Thompson Sampling Posterior (decay gamma = 0.985 per fill):
 mu_v <- (1 - alpha) * mu_v + alpha * r_obs, sample theta_v ~ N(mu_v, sigma_v^2)

Worked 1,000-Share Mid-Cap Child Slice (Spread = 3.0 bps, Nov 2026):
 Mixed Dark Pool: SpreadCapture +1.50 bp, Fee -0.10 bp, Markout -2.45 bp -> Net = -1.05 bps
 Conditional Block ATS: SpreadCapture +1.50 bp, Fee -0.15 bp, Markout +0.35 bp -> Net = +1.70 bps
```

## Net Effective Cost Equation Including Maker-Taker and Inverted Venues

True routing optimality cannot ignore explicit access fees and rebates. On US equities, taker fees up to 30 mils ($0.0030/share) versus inverted-venue taker rebates of 18 mils shift optimal routing priority whenever tick spreads compress. The bandit reward function nets explicit fee/rebate, spread capture, and 5-second adverse markout into a single unified basis-point utility.

Compliance teams audit venue routing fairness and best execution under [UK FCA](/regulator-index/fca) RTS 27/28 standards and benchmark execution efficiency alongside [Axi Trading](/broker-lookup/axi-trading) and our [AI execution topic hub](/topics/ai-algorithmic-execution-models).

| Venue Tier | Avg Fill Rate | Explicit Fee/Rebate | 5s Post-Fill Markout | Bandit Routing Share |
| --- | --- | --- | --- | --- |
| Conditional Block ATS | 38.4% | -0.15 bps | +0.35 bps | 31.5% |
| Lit Inverted Exchange | 72.1% | +0.18 bps (rebate) | -0.62 bps | 28.0% |
| Lit Maker-Taker Exchange | 64.5% | -0.28 bps (taker) | -1.18 bps | 29.5% |
| Unsegmented Dark ATS | 44.2% | -0.10 bps | -2.45 bps | 11.0% (throttled) |

## Empirical Venue Toxicity Dispersion Across Market Tiers

November 2026 cross-venue telemetry reveals stark dispersion: institutional conditional block ATSs average +0.35 bps favorable 5-second markout (clean natural counterparties), whereas unsegmented retail/HFT-mixed dark pools average -2.45 bps adverse markout on orders under 500 shares. Automatically steering small child slices away from high-toxicity pools recovers 1.4 to 2.2 bps across parent blocks.

![5-second post-fill markout in basis points across conditional ATS, lit inverted, and mixed dark pools](/api/figure?type=bars&title=5-Second%20Post-Fill%20Markout%20by%20Venue%20Type&subtitle=Signed%20basis%20points%20%28positive%20%3D%20favorable%2C%20negative%20%3D%20toxic%20adverse%20selection%29&steps=Cond%20Block%20ATS%3A%3A%2B0.35%20bps%20clean%20natural%7CLit%20Inverted%3A%3A-0.62%20bps%20fast%20queue%7CLit%20Maker-Taker%3A%3A-1.18%20bps%20standard%7CMixed%20Dark%20ATS%3A%3A-2.45%20bps%20toxic%20pings&metrics=Block%20ATS%3A%3A%2B0.35%20bp%3A%3AClean%20natural%20flow%7CLit%20Inverted%3A%3A-0.62%20bp%3A%3AHigh%20queue%20priority%7CLit%20Standard%3A%3A-1.18%20bp%3A%3ARebate%20offsets%20cost%7CMixed%20Dark%3A%3A-2.45%20bp%3A%3APenalized%20by%20bandit)

## Information Leakage Detection via Cross-Venue Fade Ratios

When a router sprays simultaneous IOC child orders across 12 lit venues, faster microwave links detect the first fill and cancel resting quotes on the remaining 11 venues before the slower packets arrive—a phenomenon called quote fading. Agentic routers apply synchronized latency-equalized release delays (measured to 20-microsecond precision) so child packets hit every matching engine simultaneously, lifting sweep fill rates from 61% to 84%.

## Frequently asked questions

### How can a midpoint dark-pool fill cost more than crossing a lit exchange?

If sophisticated market makers selectively fill your midpoint order right before the lit NBBO shifts against you, the subsequent 1-to-5-second adverse price move exceeds the half-spread you saved.

### Why does a contextual bandit router keep a 3% exploration budget on throttled venues?

Dark-pool participant mixes change over time. Reserving a tiny 3% exploration slice detects when natural institutional liquidity returns to a previously toxic venue without risking major slippage.

### How do Minimum Execution Quantity (MEQ) tags protect institutional dark orders?

Setting an MEQ (such as 2,500 shares) blocks 100-share predatory pinging orders from probing your resting dark liquidity and leaking your parent direction to lit exchanges.

### What is quote fading and how does latency-equalized routing stop it?

Quote fading occurs when an order hits a closer exchange first and microwave arbitrageurs cancel quotes on farther exchanges before your sibling packets arrive. Staggering packet release so all orders land simultaneously fixes it.


## Source URLs

- https://www.sec.gov/marketstructure/research.html
- https://www.fca.org.uk/publications/multi-firm-reviews/algorithmic-trading-compliance-wholesale-markets
- https://www.esma.europa.eu/esmas-activities/markets-and-infrastructure/secondary-markets

## Citation

- APA: Elena Rostova, FRM, CQF. (2026). Agentic Smart Order Routing & Dark-Pool Markout Toxicity Math (Nov 2026). QuantCalc Tools. https://quantcalctools.com/guides/agentic-smart-order-routing-dark-pool-toxicity-math
- Canonical article: [Agentic Smart Order Routing & Dark-Pool Markout Toxicity Math (Nov 2026)](https://quantcalctools.com/guides/agentic-smart-order-routing-dark-pool-toxicity-math)
- Site research index: [QuantCalc Tools](https://quantcalctools.com/llms-full.txt)
