<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by VisualHFT on Medium]]></title>
        <description><![CDATA[Stories by VisualHFT on Medium]]></description>
        <link>https://medium.com/@visualhft?source=rss-719dda8f122a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_py-c6Y_9uCIJHSJb50xsw.png</url>
            <title>Stories by VisualHFT on Medium</title>
            <link>https://medium.com/@visualhft?source=rss-719dda8f122a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:31:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@visualhft/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Microstructure Signals Before Adverse Selection and Slippage]]></title>
            <link>https://medium.com/@visualhft/microstructure-signals-before-adverse-selection-and-slippage-b8a294fdaaf8?source=rss-719dda8f122a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8a294fdaaf8</guid>
            <category><![CDATA[market-microstructure]]></category>
            <category><![CDATA[order-flow]]></category>
            <category><![CDATA[high-frequency-trading]]></category>
            <category><![CDATA[trading-technology]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <dc:creator><![CDATA[VisualHFT]]></dc:creator>
            <pubDate>Tue, 24 Nov 2026 00:00:35 GMT</pubDate>
            <atom:updated>2026-11-25T01:12:10.614Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="VisualHFT Terminal replaying a recorded NASDAQ TotalView-ITCH session (IDXX, 22 August 2023, 12:58 to 12:59 ET): the Touch Weighted LOB Imbalance tile reads -0.7 with 5 shares bid against 367 offered at the best prices and deepens to -0.9 while the mid price holds; then a new offer 17 cents lower takes the top and the mid steps down 8.5 cents with no trade." src="https://cdn-images-1.medium.com/max/960/1*XmjU6uaKE4MMx9UZD44xBg.gif" /></figure><p>Each of these losses leaves a reading in the order book, the trade tape or the feed before it reaches the fills. For each: the reading that appears first, and the VisualHFT Terminal study that shows it.</p><h3>Adverse selection on a resting quote: imbalance at the touch and OFI</h3><p>A resting bid fills, and seconds later the price trades through it. The quote was fair when it was sent. The book had already moved against it before the mid did.</p><p>Your side of the touch is thin. Size builds on the other side. The mid price has not moved yet.</p><p>The LOB Imbalance tile compares bid size with ask size across the levels your feed captures. It reads from -1 to +1, and it turns negative when offers outweigh bids. Set its Weighting to Touch Weighted, and the levels nearest the best price count most. Imbalance at the touch tends to lean the way price goes next. Our <a href="https://visualhft.com/research/lob-imbalance">working paper</a> tests that reading on four held-out days of Nasdaq TotalView-ITCH data. The lean matched the direction of the next mid-price change more often than chance on each of the four days, and for almost every stock.</p><figure><img alt="VisualHFT Terminal replaying a recorded NASDAQ TotalView-ITCH session: the LOB Imbalance tile reads -0.7, then -0.9, while the order book shows a thin bid against a large offer and the mid-price line stays flat. Then a new, lower offer becomes the best offer, and the mid-price line and the order book chart step down with no trade printed." src="https://cdn-images-1.medium.com/max/1024/1*jCm0YjEBu2nXNzjkljIrmg.png" /></figure><p><em>LOB Imbalance reads -0.7: 5 shares bid against 367 offered at the touch. It deepens to -0.9 while the mid holds. Then a seller steps the offer down 17 cents, inside a 41-cent spread, and the mid drops 8.5 cents with no trade. Replay of one recorded NASDAQ session.</em></p><p>Pair it with the Order Flow Imbalance (OFI) tile. OFI sits on the Order Flow Dynamics Desk. The Desk’s window also holds the CVD, Delta of Trades and Footprint panels used below. OFI adds up how size changed at the best bid and offer. It covers the last 5 seconds by default. Size leaving the bid, or building on the offer, pulls it negative. The mirror case pushes it positive. It moves while the best bid and offer prices are still unchanged. <a href="https://visualhft.com/blog/ofi-inside-the-ofd-desk-what-imbalance-can-and-cannot-tell-you">OFI Inside the Order Flow Dynamics Desk</a> covers its formula and how to read it.</p><figure><img alt="The OFI tile in VisualHFT Terminal on live Coinbase BTC/USD, moving from a small positive reading in green to a larger negative reading in red while the tiles around it are blurred" src="https://cdn-images-1.medium.com/max/512/1*pv0q1whlD6TZPHuT4C4IOg.gif" /></figure><p><em>The OFI tile turning negative: size is leaving the best bid, or building on the best offer.</em></p><p>The lean is visible while the quote can still be pulled or repriced.</p><h3>Slippage into a move without taker flow: price against CVD</h3><p>An execution algo chases a rising price, crosses the spread and fills near the high. Then the move reverses. On the chart the rise looked like demand. Takers were not net buyers.</p><p>The price climbs, but net buying from takers stays flat or falls. When takers are not buying, the rise is coming from quotes moving.</p><p>Cumulative Volume Delta (CVD) adds up buy-taker volume minus sell-taker volume. It counts from a start point you choose: the study start, a manual reset or a daily reset. Its chart puts that line on the same time axis as the mid price. When price makes a higher high and the CVD line does not, the climb came with weak buying.</p><p>In <a href="https://visualhft.com/blog/cvd-inside-the-ofd-desk-session-aggression-and-divergence-against-price">our research on held-out Nasdaq trades</a>, the taker side of a trade called the direction of the mid change from one trade to the next 79.7% of the time, more than 40 points ahead of a last-tick reversal rule. CVD is the running total of that same taker side. When price makes a higher high and CVD falls, takers did not pay for the climb. The price moved on quotes: offers were pulled, or a resting buyer stepped up the bid.</p><figure><img alt="The CVD chart in VisualHFT Terminal on a replay of a recorded NASDAQ TotalView-ITCH session: the white mid-price line climbs to a higher high while the green CVD line falls below zero, and the CVD reading in red keeps falling" src="https://cdn-images-1.medium.com/max/960/1*uSeuJ8qxR2E7mMfmLuVz0w.gif" /></figure><p><em>Price climbs past its earlier high. The CVD line drops under zero. Takers were selling into the climb. Replay of a recorded NASDAQ session.</em></p><p>The split shows before the algo adds size near the high.</p><h3>A breakout without aggressive buying: Footprint and Delta of Trades</h3><p>Price clears a level the desk was watching, the desk buys the break, and price falls back into the range. The chart showed a breakout. On the tape, buyers did not outweigh sellers.</p><p>At the breakout price, little volume trades with buyers as the takers. Net taker flow over the last few seconds does not turn up.</p><p>The Footprint chart splits each bar by price. In its default Bid × Ask view, each cell shows two numbers. The left one is volume traded with a seller as the taker. The right one is volume traded with a buyer as the taker. Read the rows at and just above the breakout price. A break with buyers behind it tends to show heavy buy-taker volume there. A thin right-hand column says price moved on little buying.</p><figure><img alt="The Footprint chart in VisualHFT Terminal on live Coinbase BTC/USD: one-minute bars, each price row holding sell-taker volume on the left and buy-taker volume on the right, each bar’s delta and volume printed under it, and the closed-bar delta in red in the header" src="https://cdn-images-1.medium.com/max/512/1*qYFWG0m1kanUp487ilAfFg.gif" /></figure><p><em>The Footprint chart live: who took liquidity at each price, bar by bar.</em></p><p>Then check Delta of Trades. It shows buy-taker volume minus sell-taker volume over the last 10 seconds, by default. It is green above zero and red below. When buyers arrive, it turns green and grows. If it stays red while price breaks out, takers are not buying the break.</p><figure><img alt="VisualHFT Terminal recorded live on Coinbase BTC/USD on 13 November 2026, close on the Order Flow Dynamics Desk: sellers hit the bid and the Delta of Trades tile reads about -0.46 BTC in red; then taker buys stack up on the Time and Sales tape at rising prices, the tile climbs through -0.10 and -0.05, and it turns green at +0.465 BTC." src="https://cdn-images-1.medium.com/max/1024/1*imccAk4TlqxhriYJRUWDsQ.png" /></figure><p><em>A rise with buyers behind it. Sellers hit the bid, and Delta of Trades sat near -0.46 BTC. Then taker buys arrived at rising prices. The tile climbed to -0.049, then turned green at +0.465 BTC. Recorded live on Coinbase BTC/USD.</em></p><p>The read comes before the desk buys the break or adds to it. <a href="https://visualhft.com/blog/delta-of-trades-inside-the-ofd-desk-from-login-to-alert">Who is crossing the spread right now?</a> turns that flip into an in-app alert.</p><h3>A lagging venue feed: market latency and book staleness</h3><p>The screen looks quiet and the prices look normal. But one venue’s feed is running late, or its book has stopped updating. The desk keeps quoting and routing on those prices, and fills come in worse than the screen showed.</p><p>The delay between that venue’s timestamps and your terminal grows. Its message rate drops, or stops. Sometimes trades keep printing while its book stays frozen.</p><p>The Infrastructure Monitoring dashboard holds both feed panels below. Market Latencies Stats shows Mkt Lat. That is the time between the venue’s timestamp on an update and its arrival in your terminal. Judge it against that venue’s own normal level, not the absolute number. Ping sits beside it. If Mkt Lat climbs while Ping holds steady, suspect the venue’s feed, your clock or your machine, not your network. Set a short aggregation in its settings to see each spike as it happens.</p><figure><img alt="The Market Latencies Stats tile in VisualHFT Terminal against Kraken: Mkt Lat refreshing between about 40 and 42 ms, and Ping at 1 ms" src="https://cdn-images-1.medium.com/max/700/0*JkMZKhdyYXZGzmYG.gif" /></figure><p><em>A healthy baseline: Mkt Lat steady near 41 ms, Ping at 1 ms. Learn each venue’s normal level, so a rise stands out.</em></p><p>Data Feeds Monitoring gives each venue and symbol a card. The card shows its message rate and a status label. The label reads GAP when no message arrives within that feed’s gap limit, OFFLINE when it disconnects, and BOOK STALE when trades keep arriving and the book does not change.</p><figure><img alt="The Data Feeds Monitoring panel in VisualHFT Terminal with three feed cards for Binance and Bitfinex pairs, each labelled HEALTHY, with message rates changing every second, sparklines advancing, and the summary strip reading 3 feeds, 3 healthy, 0 gap" src="https://cdn-images-1.medium.com/max/1024/0*3DgkZVpZBg2XmgCo.gif" /></figure><p><em>Three feeds, all healthy. A venue that goes quiet, or whose book freezes, changes its label here.</em></p><p>The desk can stop trusting that venue’s prices before the fills show the cost. The full walkthrough of feed monitoring is in <a href="https://visualhft.com/blog/a-stale-feed-looks-exactly-like-a-calm-market-monitoring-trading-infrastructure-in-real-time">A Stale Feed Looks Exactly Like a Calm Market</a>.</p><h3>What each reading measures</h3><p>The four readings come from three sources: the book, the tape and the feed.</p><p><strong>The book.</strong> LOB Imbalance is a state: the standing size on each side, across the levels your feed captures. With Touch Weighted, each level counts less the further it sits from its own side’s best quote. At a one-tick spread no order can improve the price, so the mid moves only when the best bid queue or the best offer queue empties. The shorter queue tends to empty first. At a wider spread, as in the first section’s recording, a new order inside the spread can move the mid with no trade.</p><p>OFI is a flow: the change in size at the best bid and offer, the best-quote measure of Cont, Kukanov and Stoikov. LOB Imbalance shows where the book stands. OFI shows which way it is moving.</p><p><strong>The tape.</strong> CVD, Delta of Trades and the Footprint chart sign each trade by its aggressor. Delta of Trades and the Footprint chart can also sign a trade from the quote when the venue does not report its side. The three answer different questions: CVD, who has led since a start point; Delta of Trades, who is crossing now; the Footprint chart, at which price. Delta of Trades can combine two to eight venue-symbol rows into one delta.</p><p><strong>The feed.</strong> Mkt Lat subtracts the venue’s timestamp from your clock’s arrival time. Read a step change against the venue’s normal level. BOOK STALE needs two things. Trades are still printing. And the book has not updated for longer than the feed’s gap limit, or 5 seconds, whichever is longer. One isolated print, such as a hidden execution, never sets it.</p><h3>Where the readings fit</h3><p>The readings tend to pay off where they change a decision the desk already makes: when to pull or reprice a resting quote, when an execution algo sends its next child order, whether to buy a breakout, and which venue’s prices to route on. Those four decisions are where adverse selection, slippage, failed breakouts and feed lag are paid.</p><p><a href="https://visualhft.com/blog/acting-on-toxicity-and-book-imbalance-from-signal-to-trade">From Signal to Trade, Part 1</a> walks through the first of them on the same IDXX replay.</p><h3>Set up the four readings</h3><p>Install VisualHFT Terminal with the <a href="https://visualhft.com/docs/getting-started/installation">installation guide</a>. Connect a venue with <a href="https://visualhft.com/docs/getting-started/first-session">Your first session</a>. Open the Order Flow Dynamics Desk, and use its gear to set the instrument you trade for every part. Add LOB Imbalance as its own study tile, and set its Weighting to Touch Weighted. For the feed readings, choose Infrastructure Monitoring in the dashboard picker, top left.</p><p><a href="https://visualhft.com/docs/advanced-guides/reading-the-order-flow-dynamics-desk">Reading the Order Flow Dynamics Desk</a> goes tile by tile and shows how to read the tiles together. <a href="https://visualhft.com/docs/operating/infrastructure-monitoring">Monitor your trading infrastructure</a> sets up the feed cards and the latency counters. To run the book and tape readings on a recorded session, see <a href="https://visualhft.com/docs/data-storage/historical-market-data">Use your own historical market data</a>.</p><h3>Further reading</h3><ul><li><a href="https://visualhft.com/research/lob-imbalance">Order Book Imbalance and the Direction of the Next Mid-Price Change</a>: our working paper on Nasdaq TotalView-ITCH data.</li><li><a href="https://visualhft.com/blog/from-signal-to-trade-acting-on-toxicity-and-book-imbalance">Six Study Tiles, One NASDAQ Day</a>: the recorded session behind the first section, tile by tile.</li><li><a href="https://visualhft.com/blog/ofi-inside-the-ofd-desk-what-imbalance-can-and-cannot-tell-you">OFI Inside the Order Flow Dynamics Desk</a></li><li><a href="https://visualhft.com/blog/cvd-inside-the-ofd-desk-session-aggression-and-divergence-against-price">CVD Inside the Order Flow Dynamics Desk</a></li><li><a href="https://visualhft.com/blog/delta-of-trades-inside-the-ofd-desk-from-login-to-alert">Who is crossing the spread right now?</a></li><li><a href="https://visualhft.com/blog/from-signal-to-trade-part-2-reading-book-churn-and-sweeps-on-the-screen">From Signal to Trade, Part 2: Reading Book Churn and Sweeps on the Screen</a></li><li><a href="https://visualhft.com/blog/a-stale-feed-looks-exactly-like-a-calm-market-monitoring-trading-infrastructure-in-real-time">A Stale Feed Looks Exactly Like a Calm Market</a></li><li><a href="https://visualhft.com/blog/the-healthiest-tile-on-the-screen-is-the-one-doing-nothing">The Healthiest Tile on the Screen Is the One Doing Nothing</a></li></ul><h3>See it on live market data.</h3><p>Run VisualHFT Terminal on your own feeds. New accounts get a 7-day trial.</p><p><a href="https://visualhft.com/#pricing">Get Started</a></p><p><em>Originally published at </em><a href="https://visualhft.com/blog/adverse-selection-slippage-failed-breakouts-feed-lag/"><em>https://visualhft.com</em></a><em> on November 24, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8a294fdaaf8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Buyers or Sellers? Get an Alert When the Tape Flips]]></title>
            <link>https://medium.com/@visualhft/buyers-or-sellers-get-an-alert-when-the-tape-flips-792e4661aaee?source=rss-719dda8f122a------2</link>
            <guid isPermaLink="false">https://medium.com/p/792e4661aaee</guid>
            <category><![CDATA[market-microstructure]]></category>
            <category><![CDATA[high-frequency-trading]]></category>
            <category><![CDATA[order-flow]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[trading-technology]]></category>
            <dc:creator><![CDATA[VisualHFT]]></dc:creator>
            <pubDate>Sun, 15 Nov 2026 23:47:06 GMT</pubDate>
            <atom:updated>2026-11-16T00:26:44.492Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="VisualHFT Terminal on live Coinbase BTC/USD, recorded 13 November 2026: the Order Flow Dynamics Desk window beside the main window, whose Notifications list under the bell is open on the alert &#39;Delta of Trades crosses above 0 (2) : Coinbase - BTC/USD&#39;, with the Desk&#39;s Delta of Trades tile green above 0. A sped-up replay then runs from the Login window through Quick Start, the Desk card and Trigger Management to the rule&#39;s first alert." src="https://cdn-images-1.medium.com/max/960/1*_RE6rK9yX0cY2OMHklzxBw.gif" /></figure><p>The alert at the top of this page fired on live Coinbase BTC/USD. Delta of Trades, the net taker volume of the last 10 seconds, crossed above 0, and the rule watching it posted its name, the venue and the symbol to Notifications. The “(2)” on the entry means the rule fired a second time and the same entry counted it.</p><p>Delta of Trades answers the question in the title: who is crossing the spread right now. Every trade has a taker, the order that crossed the spread to get filled. Weigh the buy takers against the sell takers over a short window and you see which side is pressing the market. The Order Flow Dynamics Desk in VisualHFT Terminal puts that reading on one screen with the prints behind it, and Trigger Management tells you when it flips.</p><p>This post is the path a new user clicks, from the Login window to that alert. Every step below is a real run of VisualHFT Terminal on live Coinbase BTC/USD, recorded on 13 November. Two screens a new account may see are not in the recording: the licence agreement on an app’s first launch, and the plan choice.</p><h3>1. Log in</h3><p>Open VisualHFT Terminal. On the Login window, type your email address and password, then press LOGIN.</p><figure><img alt="The VisualHFT Terminal Login window, recorded 13 November 2026: Google and X (Twitter) sign-in buttons on the left; on the right, the Email Address and Password fields and the LOGIN button" src="https://cdn-images-1.medium.com/max/1000/0*Rs5PrUPbxm5O6yXm.png" /></figure><p>After the splash screen, on a first run with no exchange connected yet, the Quick Start wizard opens by itself, before the dashboard.</p><h3>2. Connect Coinbase BTC/USD in Quick Start</h3><p>On the welcome screen, press Connect live market data. Pick Coinbase as the exchange. In Market, pick BTC-USD; the wizard notes that tiles show it as BTC/USD. Press Check connection.</p><p>The wizard reads Connecting, then Receiving data, with a tick beside Order book and Trades. Press Continue. The next screen offers more exchanges and is optional: press Continue again.</p><p>The last screen, Ready to launch, lists the exchange, the market and the dashboard, Predictive Market Analytics. Below that, it says the studies restart on this market. Press Launch dashboard.</p><figure><img alt="The Quick Start wizard&#39;s Ready to launch screen: Exchange Coinbase, Market BTC/USD, Dashboard Predictive Market Analytics, and the line saying studies restart on this market" src="https://cdn-images-1.medium.com/max/1000/0*Qhhb8Dvz_RicrnQk.png" /></figure><p>The main window switches to that dashboard, with its studies pointed at Coinbase BTC/USD. A tour opens over it. Follow it with Next, or press Skip tour.</p><h3>3. Open the Desk window from its card</h3><p>On the dashboard, the Order Flow Dynamics Desk sits as a card, with its OFD Pressure tile (Directional Flow Pressure in the Desk window), a Delta of Trades tile and a chart. At the card’s top right is a small open-in-new icon, a square with an arrow. Press it.</p><p>The Desk window opens already aimed at your market: the tiles name it, Coinbase: BTC/USD. Delta of Trades, Cumulative Volume Delta (CVD) and the Time &amp; Sales pane fill with live values.</p><p>OFD Pressure, the Desk’s headline, builds its reference over its first 30 minutes on an instrument. We let it build before recording, so the videos show it live.</p><figure><img alt="VisualHFT Terminal on live Coinbase BTC/USD: the filled Order Flow Dynamics Desk window, its Delta of Trades tile naming Coinbase: BTC/USD; then the open-in-new icon at the top right of the Desk card on the dashboard is pressed and the Desk window opens beside the main window" src="https://cdn-images-1.medium.com/max/960/1*CqvytVuKaFwb6HbZC1CrnQ.gif" /></figure><h3>4. Read Delta of Trades and CVD together</h3><p>Delta of Trades is net taker volume: taker buys minus taker sells over a short trailing window. The tile’s footer names the window, 10 s by default. Above 0, buy takers executed more volume in that window. Below 0, sell takers did.</p><p>CVD is the running total of the same quantity since it started. It starts at 0 when the study starts and resets daily, at 00:00 UTC by default. Its level says which side has crossed more since then. Its slope says which side is adding now.</p><p>To see either one over time, press Open Chart, the chart icon at the tile’s top right. The Delta of Trades chart draws the window as bars, with the price as a white line on its right axis. The CVD chart puts CVD and the price on one time axis.</p><p>Two shapes are worth a look. The first is a sign flip: on the Delta of Trades chart, red bars give way to green ones, and the last 10 seconds now lean the other way. The second is a CVD step: the line jumps when a burst of taker volume lands on one side. The clip below shows both. The bars turn from red to green, and the CVD line steps up.</p><p>Read the flip against CVD. The window rolls, so a flip can come from new prints or from older prints leaving the window. Between resets, CVD moves only on new prints. A flip with a CVD step the same way is new flow on the new side. A flip while CVD sits flat is the window rolling. The Time &amp; Sales pane beside the tiles shows the prints themselves.</p><figure><img alt="Two chart windows beside the Order Flow Dynamics Desk on live Coinbase BTC/USD: the Delta of Trades chart, where red bars below 0 give way to green bars above 0, and the CVD chart, where the green CVD line steps up beside the white mid price line; then Open Chart is pressed on the Delta of Trades tile and on the CVD tile" src="https://cdn-images-1.medium.com/max/1024/1*csyid3dNbIeWrpMK8EkkHA.gif" /></figure><p>CVD carries a proven edge. In our research on held-out Nasdaq trades, the taker side it totals called the direction of the next mid move. The <a href="https://visualhft.com/blog/cvd-inside-the-ofd-desk-session-aggression-and-divergence-against-price">CVD post</a> has the result and how to read CVD against price. For the book side of the same question, read the <a href="https://visualhft.com/blog/ofi-inside-the-ofd-desk-what-imbalance-can-and-cannot-tell-you">Order Flow Imbalance post</a>.</p><h3>5. Build the rule in Trigger Management</h3><p>In the main window’s toolbar, press the lightning bolt, Trigger Management. The Trigger Rules window opens. Press Add New Rule.</p><p>In the editor, type a Rule Name, such as “Delta of Trades crosses above 0”. On the Conditions tab, press the plus button to add a condition row. In Plugin, pick Delta of Trades; the list shows Coinbase: BTC/USD under its name. In Condition, pick CrossesAbove. Set Value to 0.</p><p>On the Action tab, tick Notify in app, then press Save, then OK. The rule appears in the Trigger Rules window with the status Running.</p><figure><img alt="The Trigger Rules window with the saved rule &#39;Delta of Trades crosses above 0&#39;, status Running; then Trigger Management, Add New Rule, the rule name typed, a condition row set to Delta of Trades, CrossesAbove and 0, Notify in app ticked on the Action tab, and Save" src="https://cdn-images-1.medium.com/max/1024/1*uVqyWi2Ci7W0sq4MoAVEEA.gif" /></figure><h4>One rule watches one direction</h4><p>“Crosses above 0” fires when the reading moves from below 0 to 0 or above. “Crosses below 0” fires when it moves from above 0 to 0 or below. A rule catches flips in its own direction.</p><p>To catch both flips, save two rules on the same metric, one with CrossesAbove 0 and one with CrossesBelow 0. Give each a name that says its direction. The name is the alert’s title.</p><h3>6. Watch it fire</h3><p>Keep the Desk window beside the main window. When Delta of Trades crosses 0 in the rule’s direction, the rule fires. In the recording, the tile turns from red below 0 to green above it, and a red badge appears on the bell at the top right of the main window.</p><p>Press the bell. The Notifications list shows the alert: the rule’s name as its title, then the venue and symbol, Coinbase - BTC/USD, and the time it fired.</p><p>A second fire of the same rule does not add a row. It updates the same entry: the title gains “(2)” and the time moves to the latest fire.</p><p>That is the alert from the top of this post, and every step to it was a screen in the app.</p><figure><img alt="VisualHFT Terminal on live Coinbase BTC/USD: the Order Flow Dynamics Desk&#39;s Delta of Trades tile reads below 0 in red, then turns green above 0; a red badge appears on the main window&#39;s bell and the Notifications list opens on &#39;Delta of Trades crosses above 0 : Coinbase - BTC/USD&#39;" src="https://cdn-images-1.medium.com/max/1024/1*kcEAc4nDrGaX-D5gSlB6ug.gif" /></figure><h3>Send the alert to your own system</h3><p>The bell serves you at the screen. A webhook sends each alert to an endpoint you run.</p><p>On the rule editor’s Action tab, tick Webhook URL and press Configure. Fill the dialog from the top:</p><ul><li><strong>Trigger Rate Limit.</strong> Type the shortest gap you want between two sends, above 0, and pick Seconds, Minutes, Hours or Days. After a send, crossings inside that gap send nothing, so a fast run of flips cannot flood your endpoint.</li><li><strong>URL.</strong> Your endpoint. The method is POST.</li><li><strong>Template.</strong> The body of each POST. A new template starts with metric, value and timestamp. The placeholders you can use are {{rulename}}, {{metric}}, {{condition}}, {{threshold}}, {{value}} and {{timestamp}}. Name the rule so it tells your system what fired; {{rulename}} sends that name.</li></ul><p>Then press Save in the dialog, then Save in the rule editor. In the clip, a small listener stands in for your endpoint and prints each POST it receives: the time, the path, a 200 and the rule’s name.</p><figure><img alt="A webhook listener window beside the main window&#39;s bell: a POST line arrives, and the listener prints its time, the path, 200 and the rule name; then the rule&#39;s Action tab with Webhook URL ticked, Configure, and the dialog with Trigger Rate Limit set above 0, the URL, the template typed, and Save" src="https://cdn-images-1.medium.com/max/1024/1*nWtk04wMLP3Y_Ej8HikPAw.gif" /></figure><h3>The whole run, from login to alert</h3><p>Here is the full journey in one recording, from the Login window to the alert, on live Coinbase BTC/USD. Sped-up stretches carry a Fast-forward chip.</p><figure><a href="https://visualhft.com/blog/delta-of-trades-inside-the-ofd-desk-from-login-to-alert/"><img alt="VisualHFT Terminal on live Coinbase BTC/USD, recorded 13 November 2026: the Login window, the Quick Start wizard picking Coinbase and BTC-USD, Launch dashboard, Skip tour, the Order Flow Dynamics Desk card opening the Desk window, Trigger Management and Add New Rule, the rule &#39;Delta of Trades crosses above 0&#39; saved and Running, the Delta of Trades tile turning from below 0 to above 0, and the alert opening in Notifications" src="https://cdn-images-1.medium.com/max/1024/1*q6zSr1ackQMQxlhuffH9zQ.png" /></a></figure><h3>Where this leaves you</h3><p>You now have the path from the Login window to a Desk that shows who is crossing the spread, and to an alert when net taker flow flips. The <a href="https://visualhft.com/docs/advanced-guides/reading-the-order-flow-dynamics-desk">Desk guide</a> goes tile by tile, then shows how to read the tiles together.</p><h3>See it on live market data.</h3><p>Run VisualHFT Terminal on your own feeds. New accounts get a 7-day trial.</p><p><a href="https://visualhft.com/#pricing">Get Started</a></p><p><em>Originally published at </em><a href="https://visualhft.com/blog/delta-of-trades-inside-the-ofd-desk-from-login-to-alert/"><em>https://visualhft.com</em></a><em> on November 16, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=792e4661aaee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CVD Inside the Order Flow Dynamics Desk: Who Led the Session, and When Price Stopped Agreeing]]></title>
            <link>https://medium.com/@visualhft/cvd-inside-the-order-flow-dynamics-desk-who-led-the-session-and-when-price-stopped-agreeing-98870704fa82?source=rss-719dda8f122a------2</link>
            <guid isPermaLink="false">https://medium.com/p/98870704fa82</guid>
            <category><![CDATA[high-frequency-trading]]></category>
            <category><![CDATA[market-microstructure]]></category>
            <category><![CDATA[trading-technology]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <dc:creator><![CDATA[VisualHFT]]></dc:creator>
            <pubDate>Mon, 09 Nov 2026 00:00:46 GMT</pubDate>
            <atom:updated>2026-11-10T00:24:53.806Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FTIYc4H6F6TQtipw.png" /></figure><p>On NASDAQ on 22 August 2023, sellers crossed the spread for more AAPL volume than buyers did from the open to the close, and AAPL’s mid price still finished higher.</p><p>A price chart tells you where the market traded. It does not tell you who made it trade there. Every print has a taker, the order that crossed the spread and executed against a resting one, and the side of that taker is the most direct record of aggression a feed carries. <strong>Cumulative Volume Delta (CVD)</strong> adds it up over the session.</p><p>In plain terms, CVD is the running score between buyers who pay the offer (the ask) and sellers who hit the bid. When it climbs, buyers are paying up to trade. When it falls, sellers are. That is why traders watch it: it shows whether a move is being paid for, or only quoted.</p><p>CVD is one of the three tiles on the <strong>Order Flow Dynamics Desk</strong> in VisualHFT Terminal, the surface that answers one question: who is pressing the market, and how hard? Last week we covered its book-side partner, <a href="https://visualhft.com/blog/ofi-inside-the-ofd-desk-what-imbalance-can-and-cannot-tell-you">Order Flow Imbalance</a>. This post is about CVD: what it counts, how to read its sign and its slope, and what it means when CVD and price stop moving together.</p><h3>1. What CVD counts</h3><p>CVD is buy-taker volume minus sell-taker volume, added up since a start point. A trade where the buyer crossed the spread adds its size. A trade where the seller crossed subtracts it. The number is signed, in the venue’s own trade-size unit: shares on a stock, bitcoin on BTC/USD.</p><p>A worked example. Three trades print: 500 shares where the buyer lifted the offer, 200 shares where the seller hit the bid, and 100 shares the venue reports with no taker side. CVD rises by 500 minus 200, a net +300. The 100 shares go to the <em>Side unknown</em> bucket below.</p><p>The side comes from the venue’s own report and nothing else. CVD never guesses. A trade the venue reports without a taker side goes to a separate <em>Side unknown</em> bucket and adds nothing, so the number is built only from trades whose aggressor is on record. The live status shows the accounting: buy, sell and side-unknown volume, and the share of volume with a known side.</p><p>That record is worth reading. On 54,040 trades in seven held-out NASDAQ symbols (22 August 2023, 09:45 to 15:50 ET), the taker side of a trade called the direction of the mid change from one trade to the next 79.7% of the time, more than 40 points ahead of a last-tick reversal rule. CVD adds that record up over the session.</p><h3>2. Session aggression: the sign and the slope</h3><p>The tile shows the session total so far, green above zero and red below. Two readings come off it, and they answer different questions.</p><p><strong>The sign says who has led since the start.</strong> A positive CVD means more volume traded with the buyer as the taker than with the seller, over the whole session. It is the session’s balance of aggression in one number.</p><p>The sign can flip. At 09:32:52, almost three minutes after the open, NFLX’s CVD read −744. Twelve seconds later it read +3,561, and the mid had lifted 1.355.</p><p><strong>The slope says who is leading now.</strong> Rising means buy-taker volume is being added faster; falling means sell-taker volume is. CVD can fall while it is still positive: buyers led the day, sellers are leading this minute. The chart makes the slope readable, one point per closed bar (1 second by default), so a burst of selling inside a buyer-led session shows as a bend in the line, not a change of colour.</p><p>NFLX showed it on the same replay. From 12:05:22 to 12:16:50 the mid fell 1.76, from 411.565 to a low of 409.805, and CVD fell from +12,708 to +9,236. It dipped and stayed above zero, and NFLX’s session CVD ended at +14,877.</p><p>A burst shows as one step. At 15:59:35, 25 seconds before the close, AAPL’s CVD tile dropped from −363,778 to −377,299 in about two seconds: a net 13,521 shares sold into the bid.</p><p>On the NASDAQ replay of 22 August 2023, AAPL’s CVD tile read −373,538 shares a second before the 16:00 close: over the session, sellers took more. The mid still finished higher: 176.99 one second after the open, 177.22 at 16:00. The sign told you who led. It did not tell you the price would follow, and that gap is the subject of the next section.</p><h3>3. When CVD and price disagree</h3><p>The CVD chart plots each bar’s value against the mid price at that bar’s last trade, on one time axis. That is what makes the most-used CVD reading visible: <strong>divergence</strong>.</p><ul><li><strong>Price makes a new high, CVD does not.</strong> The mid is above its last high, but the taker flow behind it is weaker than it was at that high. Price got there with less buying from takers.</li><li><strong>Price makes a new low, CVD does not.</strong> The mid is below its last low, while sellers are taking less than they did at that low, or buyers are already taking more.</li></ul><p>Here is one from the same replay. At 09:39:36 AMZN’s mid reached 135.025 with CVD at +6,230. Eight minutes later, at 09:47:50, the mid made a higher high at 135.105, and CVD stood at −42,505. The price climbed past its earlier high while CVD fell 48,735 between the two highs: the new high came with takers selling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*uSeuJ8qxR2E7mMfmLuVz0w.gif" /></figure><p>The image at the top of this post is the same pattern on AAPL. At 15:46:14 the mid stood at 177.275, above its 15:38:27 high of 177.205. CVD read −534,701 against −504,408 at that high: takers sold 30,293 more shares than they bought while the price rose.</p><p>The mirror case, on NFLX. At 10:27:47 the mid made a low at 410.175 with CVD at +14,729. At 10:34:18 the mid fell to 409.055, 1.12 lower, and CVD read +16,257, which is 1,528 higher. AMZN did the same at 11:33:58: the mid fell to 135.015, 0.085 under its 11:26:30 low, while CVD read −22,602 against −33,715, which is 11,113 higher.</p><p>Price and CVD also agree, and that is a reading too. From 10:47:03 to 10:57:04 AMZN’s mid rose 0.61, from 134.665 to 135.275, and CVD rose 28,554 (−91,911 to −63,357): takers bought the rally. From 12:56:39 to 13:02:00 AAPL’s mid fell 0.485, from 177.260 to 176.775, and CVD fell 32,609 (−395,274 to −427,883): takers sold the decline.</p><p>A divergence tells you what happened, not the cause. A price can rise with weak taker buying because offers were pulled, because a resting buyer stepped up the bid, or because sellers simply stopped. That is where the other two tiles on the Desk come in.</p><h3>4. Reading a divergence with the rest of the Desk</h3><p><strong>Delta of Trades</strong> answers whether the aggression is still there. It is buy-taker minus sell-taker volume over the last 10 seconds by default. CVD flattening while price rises, with Delta of Trades near zero, is a market rising without takers pushing it.</p><p><strong>OFI</strong> answers whether the displayed book agrees. Positive OFI with that rising price, while Delta of Trades sits near zero, means bids are building or offers leaving at the touch: quotes are being rewritten, not traded.</p><p>Read the three together and the divergence becomes a specific picture: is the price moving on trades, or on quotes?</p><h3>5. Using it well</h3><p><strong>Choose the start point.</strong> CVD counts from the study start, a manual reset, or a daily reset. The daily reset is on by default at 00:00 UTC, and its time and time zone are settings: on a live feed, set it to your market’s open so the session total means the session. <em>Reset now</em> zeroes the count without touching the settings.</p><p><strong>Filter by size when you want the big prints.</strong> <em>Minimum size</em> and <em>Maximum size</em> are inclusive filters. With a minimum set, CVD counts only the trades at or above it, so you can read the large-print flow on its own.</p><p><strong>Watch the feed marks.</strong> After a disconnect or reconnect the value carries an amber warning mark and the live status says trades around that time may be missing or repeated; a reset clears it.</p><p><strong>One venue, one symbol.</strong> The tile reads one feed. The Desk’s gear points all three tiles at the same instrument, so the sign, the slope and the divergence all describe the same tape and the same book.</p><h3>6. One Desk, one question</h3><p>CVD is the tape’s long memory: who has led the session, and whether the price still agrees with them. On the Order Flow Dynamics Desk it sits beside OFI, the book’s lean, and Delta of Trades, the last few seconds of aggression, with the Footprint chart and the Smart Tape in the window for where the volume traded and how it arrived. The Desk’s own headline, Directional Flow Pressure, puts the answer in one signed number from −100 to +100.</p><p>Next week: Delta of Trades, the last few seconds of who crossed the spread, and how much. The guide to every tile, with its inputs, settings and feed conditions, is here: <a href="https://visualhft.com/docs/advanced-guides/reading-the-order-flow-dynamics-desk">Reading the Order Flow Dynamics Desk</a>.</p><h3>See it on live market data.</h3><p>Run VisualHFT Terminal on your own feeds. New accounts get a 7-day trial.</p><p><a href="https://visualhft.com/#pricing">Get Started</a></p><p><em>Originally published at </em><a href="https://visualhft.com/blog/cvd-inside-the-ofd-desk-session-aggression-and-divergence-against-price/"><em>https://visualhft.com</em></a><em> on November 9, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98870704fa82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OFI Inside the Order Flow Dynamics Desk: See the Book Lean Before the Quote Ticks]]></title>
            <link>https://medium.com/@visualhft/ofi-inside-the-order-flow-dynamics-desk-see-the-book-lean-before-the-quote-ticks-886d60472abc?source=rss-719dda8f122a------2</link>
            <guid isPermaLink="false">https://medium.com/p/886d60472abc</guid>
            <dc:creator><![CDATA[VisualHFT]]></dc:creator>
            <pubDate>Mon, 02 Nov 2026 00:00:23 GMT</pubDate>
            <atom:updated>2026-11-03T03:45:13.609Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aFcbAvc4DTugLDz_.png" /></figure><p>Order flow imbalance shows the book being pushed at the touch, every 100 ms, before a price chart shows anything.</p><p>Every desk has a version of the same question: who is pressing the market right now, and how hard? The price chart answers late. The tape answers half of it. The order book answers the other half, if you read the right thing off it.</p><p>The <strong>Order Flow Dynamics Desk</strong> in VisualHFT Terminal groups the tiles that answer that question on one surface. One of them is <strong>Order Flow Imbalance (OFI)</strong>. This post is about that one tile: what it measures, what it tells you, and what to read it with. The full guide to every tile on the Desk is <a href="https://visualhft.com/docs/advanced-guides/reading-the-order-flow-dynamics-desk">Reading the Order Flow Dynamics Desk</a>.</p><h3>1. Where OFI sits</h3><p>A Desk is one grouped view that mounts existing studies and answers one question at a glance: a tile on the dashboard, a window with every part in full. The Order Flow Dynamics Desk reads the market from two directions. From the tape: <strong>Cumulative Volume Delta</strong>, who has taken liquidity since the session started, and <strong>Delta of Trades</strong>, who crossed the spread in the last few seconds. From the book: <strong>OFI</strong>, whether displayed liquidity at the top of book is leaning.</p><p>The Desk does not recalculate any of them. OFI on the Desk is the same study, same settings, same number, as OFI on its own. The Desk reads what it publishes and puts it beside the other two. One gear points all three at one venue and one symbol.</p><h3>2. What OFI measures</h3><p>OFI watches only the best bid and the best ask, and only two things about each: price and displayed size. On every book update it adds and subtracts size according to how those quotes changed, the best-quote formula of Cont, Kukanov and Stoikov:</p><ul><li><strong>Adds</strong> when the best bid grows or moves up, and when the best ask shrinks or moves up.</li><li><strong>Subtracts</strong> when the best bid shrinks or moves down, and when the best ask grows or moves down.</li></ul><p>The tile shows the sum over a trailing window you choose, 1, 2, 3 or 5 seconds, default 5. It updates every 100 ms whether the book changed or not. The number is raw and signed, in the instrument’s own size unit: bitcoin on BTC/USD, shares on a stock. No multiplier, no ratio, no bound.</p><p>That is the formula Cont, Kukanov and Stoikov showed explains on average 65% of short-interval mid-price moves across 50 US stocks, live on your screen.</p><h3>3. What it can tell you</h3><p><strong>Lean.</strong> A positive, growing OFI means displayed liquidity at the top of book is moving up: bids are building or stepping up, offers are thinning or stepping up. A negative, growing OFI means the reverse. The sign is the direction of pressure; the size, in the instrument’s own units, is how much of the displayed book moved.</p><p><strong>Persistence.</strong> One window is a moment. Several windows the same sign is a lean that is holding. The study’s chart plots OFI against the mid price on one time axis, so you see a lean and the mid move together, or a lean that the mid never followed.</p><p><strong>Shifts.</strong> The moment that matters most is the sign change: a book that was leaning up stops, flattens, and starts leaning down. On the tile that is a green number shrinking to zero and turning red. On the chart it is the line crossing the axis, with the mid on the same time axis. It can flip while the price is still unchanged.</p><p><strong>Quiet.</strong> Zero in a lighter grey means no book update at all inside the window, as opposed to balanced changes. The hover says which, and when the last update arrived. A quiet book and a balanced book look alike on a price chart; they are different states, and the tile tells them apart.</p><p>Read every one of those beside the other two tiles. OFI positive while Delta of Trades is positive and CVD rises: the book is leaning the way the tape is pushing. OFI positive while Delta of Trades sits near zero: quotes are being rewritten, not traded. Know that before you trust displayed size.</p><h3>4. Using it well</h3><p><strong>Feed conditions first.</strong> OFI needs one full clean window of book updates before its first value; the tile shows a dot until then. Three dots in orange mean the feed reported a warning or sent no status for 30 seconds. A crossed, locked or one-sided book is never shown as zero; the tile waits until the book is valid, then warms up for one full window. The hover names the window and the clock it runs on, the time each update reached the terminal.</p><p><strong>Relative, not absolute.</strong> OFI is in the instrument’s own size unit, so 50 on one symbol and 50 on another mean different things. Read a value against the same symbol’s own recent readings, on the chart, not against a fixed threshold carried from somewhere else.</p><p><strong>One venue, one symbol.</strong> Each tile reads one feed. The Desk’s gear points every tile at the same instrument, so the three numbers describe the same book and the same tape; the tile says <em>Mixed</em> if one is moved.</p><p><strong>Alert on it.</strong> OFI publishes its value to the Trigger Engine on every boundary. <em>Above</em>, <em>below</em> and <em>crosses</em> rules work on the signed value, and a tile that is warming up, stale or in error sends nothing rather than a zero. A crosses rule on OFI fires on the book, never on a gap in the feed.</p><h3>5. One Desk, one question</h3><p>OFI is the book’s answer. Its tape partner, Cumulative Volume Delta, earned our research desk’s EDGE verdict: on seven held-out NASDAQ symbols the taker side called the direction of the mid change from one trade to the next 79.7% of the time, more than 40 points ahead of a last-tick reversal rule. On the Order Flow Dynamics Desk OFI sits beside Cumulative Volume Delta and Delta of Trades, with the Footprint chart and the Smart Tape in the window for where the volume traded and how it arrived. The Desk’s own headline, Directional Flow Pressure, puts the answer in one signed number from −100 to +100, labelled with a participation regime from Quiet to Urgent.</p><p>The guide to every tile, with each one’s inputs, settings, feed conditions and limits, is here: <a href="https://visualhft.com/docs/advanced-guides/reading-the-order-flow-dynamics-desk">Reading the Order Flow Dynamics Desk</a>.</p><h3>See it on live market data.</h3><p>Run VisualHFT Terminal on your own feeds. New accounts get a 7-day trial.</p><p><a href="https://visualhft.com/#pricing">Get Started</a></p><p><em>Originally published at </em><a href="https://visualhft.com/blog/ofi-inside-the-ofd-desk-what-imbalance-can-and-cannot-tell-you/"><em>https://visualhft.com</em></a><em> on November 2, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=886d60472abc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Signal to Trade, Part 2: Reading Book Churn and Sweeps on the Screen]]></title>
            <link>https://medium.com/@visualhft/from-signal-to-trade-part-2-reading-book-churn-and-sweeps-on-the-screen-8cc3a5a52f63?source=rss-719dda8f122a------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cc3a5a52f63</guid>
            <category><![CDATA[quantitative-trading]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[limit-order-book]]></category>
            <category><![CDATA[high-frequency-trading]]></category>
            <category><![CDATA[market-microstructure]]></category>
            <dc:creator><![CDATA[VisualHFT]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 21:56:08 GMT</pubDate>
            <atom:updated>2026-10-25T22:17:03.275Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dvIo_ATRkrlNKHwqjK2Dgg.gif" /></figure><p>A book can be rewritten dozens of times in 100 milliseconds while nothing trades.</p><p>In <a href="https://visualhft.com/blog/acting-on-toxicity-and-book-imbalance-from-signal-to-trade">Part 1</a>, we turned book imbalance, VPIN and Market Resilience into rules for entry, sizing and re-entry. Part 1 also said this part would show two ratio tiles helping an execution engine pull resting orders in time. Our research did not support an order-pulling trigger. Method and limits, at the end, says why.</p><p>What the two tiles give a desk is context. The <strong>Order-to-Trade Ratio (OTR)</strong> flags a book that churns while nothing trades. The <strong>Trade-to-Order Ratio (TTO)</strong> makes many sweeps visible at a glance in VisualHFT Terminal. Read together, they show whether the book in front of you is being quoted or being traded.</p><p>Every number comes from one NASDAQ TotalView-ITCH day, 22 August 2023, 14 symbols. The full study is <a href="https://visualhft.com/blog/from-signal-to-trade-acting-on-toxicity-and-book-imbalance"><em>Six Study Tiles, One NASDAQ Day</em></a>, sections 5 and 6.</p><h3>1. Two Ratios Regulators Already Watch</h3><p>OTR and TTO are institutional order-flow measures, not retail chart indicators.</p><p>Hasbrouck and Saar (2009) found that a large share of limit orders on an electronic book are fleeting. They are submitted and cancelled within seconds, without trading. OTR measures that churn: book changes per trade, in each 100 ms window by default.</p><p>Regulators watch it too. Friederich and Payne (2015) studied the Italian Stock Exchange’s penalty on high order-to-trade ratios. It was followed by a collapse in quoted depth and higher price impact, with spreads unchanged. In the EU, MiFID II requires trading venues to calculate the ratio of unexecuted orders to transactions (Commission Delegated Regulation (EU) 2017/566).</p><p>TTO is the mirror image: traded volume over book volume, in each 1-second window. The SEC’s MIDAS program publishes a trade-to-order volume ratio for U.S. stocks and exchanges. At high frequency, the ratio jumps when trading suddenly dominates book activity, as in a sweep that consumes displayed depth.</p><h3>2. OTR: A Book Rewritten While Nothing Trades</h3><p>We took OTR readings in their symbol’s top 1% for the day that held for at least half a second. In 40 of 61 (<strong>65.6% vs 33.1%</strong> at matched moments), the tape showed two prints or fewer within a second either side while the book changed at least four times. A spike marks a book rewritten with almost no trading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*tQX1W1Azez35ElS2KrW9qw.gif" /></figure><p><em>IDXX, 13:14:55 to 13:15:07 ET. OTR (count) at 100 ms. Replayed near real time; one passage repeated at half speed.</em></p><p>On <strong>IDXX</strong> at <strong>13:15:03.4 ET</strong>, the tile has read <strong>62</strong> since 13:15:00.6: 63 book changes in one 100 ms window, and no trade since 13:14:30. In that burst, the best offer stepped down from 486.71 to 486.66.</p><p>About five seconds after the jump, the quotes moved fast. By <strong>13:15:07.3 ET</strong>, trades marked mostly as sells have printed, the best bid is 485.98, and the spread has widened from 0.24 to 0.47. Here the price fell, but a spike is context, not a direction.</p><p><strong>What follows a spike (exploratory).</strong> A separate scan compared the 10 seconds after each top-1% reading with 50 random moments from the same symbol and half hour. On the held-out symbols, <strong>69.8% of spikes vs 49.9%</strong> of random moments were followed by mid-price volatility above the symbol’s normal. Discovery agreed.</p><p><strong>How a desk uses it.</strong> Read a spike as a message-intensity gauge. Hasbrouck and Saar’s fleeting orders are the reason to treat displayed size with care while the book churns. Use it as context for your own quoting rules, for example wider tolerances for a few seconds.</p><h3>3. TTO: Sweeps at a Glance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*StSWw64ZXfa45AW4sCWp6A.gif" /></figure><p><em>AMZN, 13:09:30 to 13:09:40 ET. TTO at 1 second. Replayed near real time; one passage repeated at half speed.</em></p><p>On <strong>AMZN</strong> at <strong>13:09:38 ET</strong>, the offer side shows 99 shares at 134.42 and 7,800 at 134.43. The TTO tile reads <strong>0.0000</strong>.</p><p>By <strong>13:09:39.5 ET</strong>, Time and Sales shows 19 prints, 18 marked as buys, one of them 5,600 shares at 134.43. Both offer levels are gone; the best offer is 134.44. The tile reads <strong>0.2098</strong>, and the TTO line shoots far above every bump of the previous minute. Buyers swept the offer.</p><p>Across the day, we counted sweeps: at least 5 prints on the same side within 250 ms that move the mid. During <strong>22.4% of sweeps vs 2.7%</strong> of quiet moments, TTO reached its own top 10% for the day and held there for at least half a second.</p><p><strong>How a desk uses it.</strong></p><ul><li><strong>See sweeps at a glance.</strong> On a busy tape, the TTO line makes the moments when trading overwhelmed the book easy to spot while they are in the chart’s window.</li><li><strong>Keep it off fixed scales.</strong> The ratio is unbounded and can jump far above 1 when book activity is thin.</li></ul><h3>4. Two Context Rows for the Part 1 Desk Matrix</h3><p>Part 1 built a matrix for entry, skew, sizing and re-entry. These two rows add context:</p><p><strong>OTR at its symbol’s top 1%.</strong></p><p>What it shows: The book is being rewritten with almost no trading.</p><p>Desk response: Treat displayed size with care. Widen tolerances for a few seconds.</p><p><strong>TTO spike.</strong></p><p>What it shows: Trading overwhelmed book activity, as in a sweep that consumes displayed depth.</p><p>Desk response: Note the sweep: its side from Time and Sales, the cleared levels from the ladder. Quoting decisions stay with the Part 1 tiles.</p><h3>5. Wiring It Into the Trigger Engine</h3><p>The <a href="https://visualhft.com/blog/acting-on-toxicity-and-book-imbalance-from-signal-to-trade">Trigger Engine walkthrough in Part 1</a> applies. Two rules fit. Both are our suggestions, not rules we tested.</p><ol><li><strong>OTR context flag.</strong> A condition on OTR, operator CrossesAbove, value the symbol&#39;s top-1% level from a prior session. Its webhook goes to your system that widens tolerances for a few seconds.</li><li><strong>TTO spike log.</strong> A condition on TTO, CrossesAbove, value the symbol&#39;s top-10% level from a prior session, posting to a desk channel or review log. It logs TTO spikes, not every sweep.</li></ol><p>CrossesAbove fires on the update where the value crosses. Set a rate limit of seconds or longer so a flipping value cannot flood your endpoint. Test any rule the way we did: on your venue, at your aggregation level, against the cheapest rule you can think of, and with your own costs.</p><h3>Method and limits</h3><ul><li><strong>Data.</strong> One day, 14 symbols, 10 price levels per side. The hold-out is other symbols on the same day, re-scored across several research rounds; capture rules were written after those results. Every test reads a value only from the first book update after it was computed.</li><li><strong>The OTR volatility scan is exploratory:</strong> written after the earlier results, no rule locked in advance, no free rival tested. Matched also on prior-10-second book activity, the hold-out finding was weaker: 62.8% vs 49.9% (p = 0.049).</li><li><strong>Spread widening after an OTR spike was not reliable</strong> across the day; the capture’s widening is one instance.</li><li><strong>OTR on fills and price impact.</strong> A plain count of book updates did as well or better in every case we could test; at 100 ms most windows hold no trade. Hence OTR as context, not a fill forecast.</li><li><strong>The 65.6% and 22.4% figures sit close to each ratio’s definition</strong>, so they describe what the tile shows, not a forecast. The 22.4% is the share of sweeps that drove TTO to its top 10%; it does not say how many TTO spikes were sweeps.</li><li><strong>TTO and fill cost.</strong> Read naively, passive fills during extreme TTO seemed to cost more, but the penalty belonged to the print’s place inside its sweep. Read causally, the sign reversed on the hold-out (p = 0.0005), and discovery did not confirm it. Hence no TTO trigger to pull resting orders.</li><li><strong>Not the regulatory ratios.</strong> The MiFID II ratio is per member, which a public feed cannot see. The TTO tile’s denominator counts cancels and updates too, so it differs from the SEC’s ratio.</li><li><strong>Captures and costs.</strong> Captures were chosen from setups that met each rule, favouring clear moves. No transaction costs were applied. The captures show the tiles as “OTR (count)” and “TTO (legacy)”; released builds label them “OTR” and “TTO”.</li></ul><p>With both tiles on screen, your desk knows whether it is quoting into a book that is being rewritten or one that is being traded through.</p><h3>See it on live market data.</h3><p>Run VisualHFT Terminal on your own feeds. New accounts get a 7-day trial.</p><p><a href="https://visualhft.com/signup">Get Started</a></p><p><em>Originally published at </em><a href="https://visualhft.com/blog/from-signal-to-trade-part-2-reading-book-churn-and-sweeps-on-the-screen/"><em>https://visualhft.com</em></a><em> on October 26, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cc3a5a52f63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Signal to Trade, Part 1: Turning Book Imbalance and Toxicity into Desk Rules]]></title>
            <link>https://medium.com/@visualhft/from-signal-to-trade-part-1-turning-book-imbalance-and-toxicity-into-desk-rules-82499174e565?source=rss-719dda8f122a------2</link>
            <guid isPermaLink="false">https://medium.com/p/82499174e565</guid>
            <dc:creator><![CDATA[VisualHFT]]></dc:creator>
            <pubDate>Sun, 18 Oct 2026 23:07:10 GMT</pubDate>
            <atom:updated>2026-10-18T23:30:06.569Z</atom:updated>
            <content:encoded><![CDATA[<p>In our earlier diagnostic notes (<a href="https://visualhft.com/blog/from-signal-to-trade-acting-on-toxicity-and-book-imbalance"><em>Six Study Tiles, One NASDAQ Day</em></a> and <a href="https://visualhft.com/blog/visualhft-research-issue-01-six-study-tiles"><em>VisualHFT Research, Issue 01</em></a>), we examined six microstructure plugins in isolation to answer a foundational question: <em>what does each formula compute, and does it hold up on raw NASDAQ TotalView-ITCH data?</em></p><p>Knowing that a metric works on historical tape is only half the problem. Once a tile lights up on your screen, how do you turn that number into an execution decision without paying away your edge to the bid-ask spread?</p><p>This two-part series shifts from <strong>single-tile diagnostics</strong> to <strong>execution architecture</strong>:</p><ul><li><strong>Part 1 (this guide)</strong> covers the <strong>entry, sizing, and replenishment workflow</strong>: how to use <strong>LOB Imbalance</strong> as a confirming filter rather than a spread-crossing trigger, how feed depth (5, 10, or 20 levels) changes your signal, how <strong>VPIN</strong>, <strong>Market Resilience (MR)</strong>, and <strong>Market Resilience Bias (MRB)</strong> govern quote sizing and post-sweep re-entry, and how to automate the entire stack inside the <strong>VisualHFT Trigger Engine</strong>.</li><li><strong>Part 2 (next week)</strong> covers the <strong>stand-down circuit breakers</strong>: how <strong>Order-to-Trade Ratio (OTR)</strong> and <strong>Trade-to-Order Ratio (TTO)</strong> detect when displayed liquidity is hollow cancel-churn or an active sweep so your execution engine pulls resting orders in time.</li></ul><p>For readers who want the full mathematical derivations, circular block-bootstrap confidence intervals, Diebold-Mariano volatility horse races, and per-symbol scorecards across all 14 symbols, read the companion research paper: <a href="https://visualhft.com/research/acting-on-toxicity-and-book-imbalance-methodology"><strong>Empirical Evaluation of LOB Imbalance, VPIN, and Market Resilience on NASDAQ TotalView-ITCH</strong></a>.</p><h3>1. The Execution Trap: Why High Accuracy Alone Loses to the Spread</h3><p>When traders first add an order book imbalance indicator to their workspace, the instinct is simple: if the offer side is stacked ten-to-one against the bid, sell immediately and cross the spread before the price drops.</p><p>On our NASDAQ TotalView-ITCH benchmark ( 33,435,762 full-depth messages across 14 symbols), <strong>Touch-Weighted LOB Imbalance</strong> predicts the direction of the next mid-price move <strong>73.9%</strong> of the time when the reading reaches $|I_{\text{TW}}| \ge 0.7$, beating the unconditional base rate by <strong>+22.2 percentage points</strong> and outperforming flat equal-weight depth summation ( <strong>58.2%</strong>) by <strong>+15.8 points</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZJP2j0Zi_Omo4XCV.png" /></figure><p>Why does Touch-Weighted Imbalance outperform flat summation by such a wide margin? A flat sum across the top 10 levels treats 500 shares parked nine ticks behind the market identically to 500 shares resting at the best bid or offer. By weighting each level $k$ by its distance from the touch ($w_k = \exp(-0.5 \cdot k)$), the VisualHFT tile isolates the front of the queue where fills actually occur. That structural advantage holds across every single liquid symbol on the tape:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qGaoJRRrb8vLpMa5.png" /></figure><p>Here is the execution catch: even at a <strong>73.9%</strong> hit rate, crossing the bid-ask spread on an imbalance reading alone is a losing trade. Across the 10 liquid symbols in our benchmark, the median quoted spread at the moment of an extreme imbalance reading is <strong>6.2 times larger</strong> than the average mid-price move that follows (ranging from 2.3x on CSCO and 2.7x on AAPL up to 9.5x on wide-spread names like NFLX). If you pay the full spread to enter as a taker, the transaction cost swallows the directional edge.</p><h3>2. How to Trade LOB Imbalance: The Confirming Filter Workflow</h3><p>Instead of using LOB Imbalance to chase the market across the spread, systematic desks use it in three specific ways:</p><ol><li><strong>As a confirming gate on reversal entries:</strong> Wait for a price dislocation first, then check whether the near-touch book confirms the move before leaning on the quote. When Touch-Weighted Imbalance confirms a last-move reversal on held-out NASDAQ data, directional accuracy rises from <strong>68.1%</strong> (unfiltered reversal) and <strong>73.3%</strong> (a book-free bounce filter) to <strong>78.2%</strong>, delivering <strong>+4.8 percentage points</strong> of incremental accuracy.</li><li><strong>To skew passive resting quotes:</strong> When you are already working a limit order near the touch, an extreme opposing lean (-0.7 against your resting bid) tells you to step your bid back a tick or cancel before the level gives way.</li><li><strong>To select the right feed depth for your strategy:</strong> Because VisualHFT normalizes any IDataFeed connector into the same OrderBook pipeline, we tested how 5-level, 10-level, and 20-level feeds change the signal. On a flat equal-weight calculation, deeper books dilute the touch with passive background orders (QQQ extreme readings drop from 5.75% of updates at 5 levels to 0.68% at 20 levels). With <strong>Touch-Weighted Imbalance</strong>, adding 20 levels of depth <em>triples</em> the confirming-filter lift from <strong>+2.2 points</strong> (at 5 levels) to <strong>+7.0 points</strong> (at 20 levels), because exponential decay preserves touch sensitivity while still seeing institutional walls resting 10 to 20 ticks out.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UIXzsqtb140dfyA8.png" /></figure><h3>What a Confirmed Lean Looks Like on the Ladder</h3><p>Watch how this plays out on <strong>IDXX</strong> at <strong>12:58:14.5 ET</strong>. The best bid ($486.67) holds just <strong>5 shares</strong>, while the top five offer levels carry <strong>367 shares</strong>. Because the bulk of that supply sits right at the front of the ask queue, the Touch-Weighted LOB Imbalance tile drops to .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cBnk60xR48-OlK5B.png" /></figure><p>Fifty-one seconds later at <strong>12:59:05.7 ET</strong>, sellers step the best offer down <strong>17 cents</strong> to , pulling the mid-price from $487.215 down to $487.130. A desk using that -0.7 reading as a passive skew signal avoids getting filled at the old $486.67 bid and steps down with the market.</p><p>Across a single NASDAQ session, sustained near-touch leans that hold past |0.7| for at least two seconds with a clean one-minute prior baseline occur <strong>588 times</strong> across our 14-symbol universe, concentrated in wider-spread book-thin names where passive queue placement matters most:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tnsCsTkLR0m8DsGG.png" /></figure><h3>3. Sizing and Replenishment: VPIN, Market Resilience, and MRB</h3><p>Book imbalance tells you how resting limit orders are stacked right now, but it does not tell you how aggressive the incoming trade tape is or whether the book is refilling after a hit. That is why the workspace pairs LOB Imbalance with three companion tiles.</p><h3>VPIN: Flow Toxicity and Volatility Regime Monitor</h3><p>While LOB Imbalance watches resting depth, <strong>VPIN</strong> (Volume-Synchronized Probability of Informed Trading) measures the one-sidedness of executed trades across fixed volume buckets.</p><p>During the <strong>NFLX</strong> afternoon session at <strong>15:15:13 ET</strong>, a concentrated burst of buyer-initiated prints sweeps the tape and drives the VPIN tile from to .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hWIRtwPuKDGSM-uQ.png" /></figure><p>On equity feeds, the trade-to-trade tick rule correlates with short-horizon volatility across every active symbol. When VPIN climbs into the 0.70+ regime, one-sided flow is clustering on the tape. That is the signal to <strong>widen your passive spread and reduce resting quote size</strong>, not to bet on which way the next tick will print.</p><p>To make VPIN reliable across both ultra-liquid ETFs ( QQQ, AAPL) and thinner mid-caps ( IDXX, POOL), calibrate the bucket volume so each bucket aggregates <strong>at least 20 trades</strong> during regular trading hours, and wire true aggressor flags whenever your exchange feed provides them:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5J-yeiRyRTsufHBP.png" /></figure><h3>Market Resilience (MR) and Market Resilience Bias (MRB): Post-Sweep Diagnostics</h3><p>Once a large sweep clears multiple price levels, a trader faces an immediate timing question: <em>is liquidity snapping back into the book, or has the market repriced to a new level?</em></p><p><strong>Market Resilience (MR)</strong> and <strong>Market Resilience Bias (MRB)</strong> act as post-shock state monitors that fire only after a genuine multi-part liquidity shock (a trade burst paired with a spread breakout and book depth depletion):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ioCCGSMmgMn9AE63.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_OsDxJIL3VYkRGll.png" /></figure><p>Because MR and MRB fire selectively on major book depletions (127 directional firings across 6,715 raw depth-thinning events in our 14-symbol session, with a median state hold of <strong>30.0 seconds</strong>), desks use them as <strong>post-sweep re-entry gates</strong>: hold off on re-quoting while MR is depressed (&lt; 0.35), and resume normal passive quoting once MR recovers above 0.50 and MRB confirms buyers or sellers are refilling the queue.</p><h3>4. Putting the Tiles Together: A Multi-Signal Desk Matrix</h3><p>Rather than watching any single number in isolation, combine the four tiles into a structured execution state check before sending or adjusting an order:</p><p>Execution State LOB Imbalance (Touch-Weighted) VPIN (Toxicity Regime) MR &amp; MRB (Post-Sweep State) Desk Action</p><p><strong>Confirmed Reversal Entry</strong></p><p>$\ge +0.5$ confirming bounce (or $\le -0.5$ confirming fade)</p><p>$&lt; 0.60$ (Normal tape)</p><p>MR $\ge 0.50$ (Intact book)</p><p><strong>Enter / Lean Passively:</strong> Post at the touch on the confirmed side ( 78.2% directional agreement on reversal).</p><p><strong>Queue-Thinning Warning</strong></p><p>Opposing lean passes $\pm 0.7$ against your resting order</p><p>Rising ($0.60–0.75$)</p><p>MR neutral</p><p><strong>Skew / Step Back:</strong> Cancel or move your resting bid/offer back one tick before the thin touch gives way.</p><p><strong>Toxic Sweep in Progress</strong></p><p>Volatile / flipping</p><p>$&gt; 0.75$ (High toxicity)</p><p>MR drops $&lt; 0.35$</p><p><strong>Widen &amp; Cut Size:</strong> One-sided volume is sweeping the book; widen passive spreads and wait for replenishment.</p><p><strong>Post-Shock Stabilization</strong></p><p>Rebuilding on touch</p><p>Cooling from peak</p><p>MR recovers $\ge 0.50$, MRB $\uparrow$ or $\downarrow$</p><p><strong>Re-quote on Replenished Side:</strong> Depth has absorbed the shock; resume quoting on the side confirmed by MRB.</p><h3>5. Automating the Workflow in the VisualHFT Trigger Engine</h3><p>Watching four study tiles across a dozen symbols by eye works during a post-trade replay, but live desks let the <strong>VisualHFT Trigger Engine</strong> monitor those thresholds continuously and fire webhooks to their execution gateway the millisecond a multi-tile setup aligns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VmoeIA4JISMzkG8q.png" /></figure><p>Every study plugin in VisualHFT publishes its live calculation into the central TriggerEngineService bus. You can chain multiple conditions together with an AND rule and attach a cooldown window so a noisy burst only fires once:</p><ol><li><strong>Condition 1 (Near-Touch Lean):</strong> Select LOB Imbalance, set the threshold to CrossesBelow -0.70 (or CrossesAbove +0.70), and apply a 2 Seconds cooldown window.</li><li><strong>Condition 2 (Regime Confirmation):</strong> Add a second condition on VPIN or Market Resilience inside the same rule so the alert only fires when your toxicity or replenishment criteria are met.</li><li><strong>Action (REST Webhook or UI Alert):</strong> Attach a REST webhook action with a structured JSON payload ({{ruleName}}, {{symbol}}, {{metric}}, {{value}}, {{timestamp}}) that posts directly to your local order-management service, Python execution listener, or desk Slack channel.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*XKnJ74dAidMDyeaj.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*ZyoVmwmpNY5XHn0C.png" /></figure><h3>Up Next in Part 2: The Signals That Say Stand Down</h3><p>Part 1 covered how to confirm a directional entry, size passive quotes during toxic flow, and time post-sweep replenishment. Next week in <strong>Part 2</strong>, we turn to the two circuit-breaker tiles that tell an execution desk when to <strong>stand down completely</strong>: <strong>Order-to-Trade Ratio (OTR)</strong> and <strong>Trade-to-Order Ratio (TTO)</strong>, showing how to distinguish genuine resting depth from high-speed cancel churn and aggressive book-clearing sweeps.</p><p><em>Want to inspect the full statistical scorecard, 20-level depth curves, and falsification tests behind every number in this guide? Read the companion research paper: </em><a href="https://visualhft.com/research/acting-on-toxicity-and-book-imbalance-methodology"><strong><em>Empirical Evaluation of LOB Imbalance, VPIN, and Market Resilience on NASDAQ TotalView-ITCH</em></strong></a><em>.</em></p><p><em>Originally published at </em><a href="https://visualhft.com/blog/acting-on-toxicity-and-book-imbalance-from-signal-to-trade"><em>https://visualhft.com</em></a><em> on October 19, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82499174e565" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VisualHFT Research, Issue 01: One NASDAQ day, six tiles]]></title>
            <link>https://medium.com/@visualhft/visualhft-research-issue-01-one-nasdaq-day-six-tiles-3e476108f506?source=rss-719dda8f122a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e476108f506</guid>
            <category><![CDATA[market-microstructure]]></category>
            <category><![CDATA[quantitative-trading]]></category>
            <category><![CDATA[high-frequency-trading]]></category>
            <category><![CDATA[limit-order-book]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <dc:creator><![CDATA[VisualHFT]]></dc:creator>
            <pubDate>Sat, 10 Oct 2026 23:43:16 GMT</pubDate>
            <atom:updated>2026-10-12T10:01:01.540Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ot_mT9SWsvErw93wTeDwQ.png" /></figure><p>VisualHFT Research, Issue 01 is out: fourteen 16:9 spreads built from one NASDAQ TotalView-ITCH session. Here is what it adds to the article it grew from.</p><h3>Ten symbols, one setting</h3><p>The LOB (limit order book) Imbalance tile can read the book two ways. Equal Weight counts every captured level the same. Touch Weighted lets the levels nearest the best prices carry most of the weight. The article reports the pooled result; the issue breaks it out by symbol.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QsmkFJq2MyAjn22F7mCYWA.png" /></figure><p>How it was scored: the next mid-price tick at 100 ms, each setting judged on its own strongest fifth of readings per symbol, on the session of 22 August 2023. Values are accuracy points, Touch Weighted minus Equal Weight, with 95% intervals. Hit rates before trading costs.</p><pre>Symbol   Group       Lead (points)   95% interval<br>INTC     Discovery           +25.6   21.6 to 29.0<br>CSCO     Held-out            +23.3   20.2 to 26.2<br>AAPL     Held-out            +22.1   20.9 to 23.2<br>QQQ      Discovery           +15.5   15.1 to 15.9<br>AMZN     Held-out            +14.1   12.6 to 15.5<br>SBUX     Discovery           +13.8   11.9 to 15.6<br>GILD     Held-out            +12.1   10.2 to 14.3<br>AMD      Discovery            +6.8   6.2 to 7.5<br>MSFT     Discovery            +5.8   5.3 to 6.3<br>NFLX     Held-out             +3.9   2.6 to 5.4</pre><p>Every interval sits above zero; the lowest bound is NFLX at 2.6 points. The range is wide, +3.9 to +25.6, so the pooled figure averages over a lot of variation. The held-out symbols are not clustered: CSCO and AAPL sit near the top, NFLX at the bottom. Pooled, the lead is <strong>+15.8 points</strong> on the five held-out symbols (interval 14.9 to 16.6) and <strong>+11.2</strong> on the five discovery symbols (10.9 to 11.5). INTC carries the widest interval, 21.6 to 29.0.</p><p>Two settings of one tile, one session. Not a trade.</p><h3>How to read a capture</h3><p>Every capture shows the same desk, in six regions:</p><ol><li><strong>Quotes and ladder</strong>: bids and offers, price and size, ten levels per side.</li><li><strong>Study tiles</strong>: one study per tile, each read at its own aggregation level.</li><li><strong>Depth chart</strong>: resting size by price on both sides of the book.</li><li><strong>Order book chart</strong>: each price level through time, plus the best bid and offer.</li><li><strong>Study chart</strong>: the study’s value in green and, on most captures, the mid price in white.</li><li><strong>Time and Sales</strong>: the tape; green prints are marked buys, red prints sells.</li></ol><p>On each spread, the left page holds the capture with numbered boxes, the magnified details they point to, and three figures; the boxed number between the two touch sizes is the spread. The right page holds the analysis, how often the captured picture appears across the day, a QR code to the capture, and a one-line takeaway.</p><h3>What is inside the issue</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JdJp8mzjuyJNfohOVX9UpA.png" /></figure><ul><li><strong>Spread 1</strong>: the cover.</li><li><strong>Spread 2</strong>: contents, and the reading guide above.</li><li><strong>Spread 3</strong>: the session on one timeline, and what each tile reads.</li><li><strong>Spreads 4 to 9</strong>: one tile each. LOB Imbalance, Touch Weighted (IDXX, 12:58); VPIN (NFLX, 15:14); Market Resilience (AMZN, 15:30); Market Resilience Bias (AMZN, 13:14 and 14:25); OTR (count) (IDXX, 13:14); TTO (legacy) (AMZN, 13:09). Every capture is a mechanism, not a trade.</li><li><strong>Spread 10</strong>: what we counted, and how we tested it.</li><li><strong>Spread 11</strong>: the ten-symbol comparison.</li><li><strong>Spread 12</strong>: from a tile to your own system.</li><li><strong>Spread 13</strong>: the final print.</li><li><strong>Spread 14</strong>: references and about.</li></ul><h3>From a tile to your own system</h3><p>Spread 12 shows the hand-off: set a level on any study reading in VisualHFT Terminal, and your own system is called when the reading crosses it. What your system does with that call, and what it costs you, stays with you.</p><h3>Read the issue</h3><ul><li><a href="https://visualhft.com/research/issue-01/VisualHFT-Research-Issue-01-One-NASDAQ-Day-dark.pdf">Issue 01 (PDF, 4.7 MB)</a></li></ul><p>For the method, the full scorecard and the seven moments told pause by pause, read <a href="https://visualhft.com/blog/from-signal-to-trade-acting-on-toxicity-and-book-imbalance">Six Study Tiles, One NASDAQ Day</a>.</p><p>One session on one venue, hit rates before trading costs. Every capture is a mechanism, not a trade, and nothing here is investment advice.</p><p><em>Originally published at </em><a href="https://visualhft.com/blog/visualhft-research-issue-01-one-nasdaq-day-six-tiles/"><em>https://visualhft.com</em></a><em> on October 12, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e476108f506" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Six Study Tiles, One NASDAQ Day: The Theory, the Screen, and What the Data Supports]]></title>
            <link>https://medium.com/@visualhft/six-study-tiles-one-nasdaq-day-the-theory-the-screen-and-what-the-data-supports-d07c2375e1c7?source=rss-719dda8f122a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d07c2375e1c7</guid>
            <dc:creator><![CDATA[VisualHFT]]></dc:creator>
            <pubDate>Tue, 06 Oct 2026 00:07:46 GMT</pubDate>
            <atom:updated>2026-10-06T00:07:46.299Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vqzq_WIfylU5XbNwYCVAYQ.gif" /></figure><p>Every study tile in VisualHFT is a number on a screen. Behind each number sits a piece of published market-microstructure research, and each one makes a claim about what the order book or the tape is doing right now.</p><p>We wanted to see those claims happen on real exchange data, and then measure how far the data backs them. This article is the result. It covers six tiles, seven captures, one full trading day, and the research lineage of every metric.</p><p><strong>The data.</strong> One NASDAQ TotalView-ITCH trading day, 22 August 2023, replayed through VisualHFT’s study plugins. Fourteen symbols, from QQQ at 5.63 million shares on the day to CTAS at 43,794. The order book is captured at 10 price levels per side.</p><p><strong>The method, in three steps.</strong></p><ol><li><strong>Theory first.</strong> For each tile we wrote down what the research says should happen, as a rule, before looking at any outcome.</li><li><strong>Capture it.</strong> We replayed the recorded feed through the real application, near real time, and captured one real moment where the tile does what its theory describes. Each capture pauses at the key frames. The walkthrough below tells you exactly what to look at in each pause, with the numbers on screen.</li><li><strong>Count it and test it.</strong> We counted how often that behaviour happens across the day against matched moments where it should not. Then we tested each tile against the cheapest rule that could do the same job without it, on symbols held out from every design choice.</li></ol><p><strong>The short version.</strong> Every tile does what its theory describes, and every capture below is a real, recorded instance of that. As a standalone forecast on this day, none of them clears the bar we set. The strongest, LOB Imbalance with the new Touch Weighted setting, called the next mid-price tick 73.9% of the time against a 51.7% base rate on the held-out liquid symbols (AAPL, AMZN, CSCO, GILD, NFLX). It still only ties a free price-only rule on those symbols, loses to it on the others, and the moves it called are smaller than the spread. So every capture here is a <strong>mechanism</strong>: a real thing you can watch happen. It is not a trade.</p><p>Each numbered section below stands alone. Read the one for the tile you use, or read them in order.</p><h3>Why a mechanism is not a trade</h3><p>This distinction runs through the whole article, so it comes first.</p><p>A <strong>mechanism</strong> is a metric visibly doing what it claims, on real data, in a moment chosen from setups that met a written rule. It tells you the tile is measuring the thing it says it measures.</p><p>A <strong>tradeable forecast</strong> is a much higher bar. On data never used to choose the threshold, the metric has to beat the best free alternative for the same prediction. And the move it calls has to be larger than the cost of acting on it, usually the spread you would cross.</p><p>A metric can fail that bar in two independent ways and still be useful:</p><ul><li><strong>A free rule does as well.</strong> “The next tick undoes the last one” needs no order book at all. If it scores as high as the tile on the same events, the tile is not where the forecast comes from, even though the tile carries real information.</li><li><strong>The move is smaller than the cost.</strong> A statistically real call on a half-cent mid move is not a capturable trade when the spread is ten cents.</li></ul><p>Every capture below is labelled as a mechanism. The hit rates live in the “what the day says” parts and in the scorecard, never beside a capture as if one clip proved them.</p><p><strong>Takeaway:</strong> a clean clip shows that a tile works as designed. Only a hold-out test against a free rival, net of the spread, shows whether you can trade on it.</p><h3>How we tested</h3><ol><li><strong>The split was fixed before any result existed.</strong> Discovery symbols: QQQ, AMD, INTC, MSFT, SBUX, VRTX, POOL. Hold-out symbols: AAPL, AMZN, CSCO, GILD, NFLX, IDXX, CTAS. Each test’s rules were locked before its hold-out was scored. The same hold-out symbols were re-scored across several rounds of this research, and the rules for choosing capture moments were written after those results. The hold-out is other symbols on the same day, not a later period.</li><li><strong>Each value is read from the moment it could be seen.</strong> A tile that aggregates over 100 milliseconds or 1 second keeps the time stamp of the moment its bucket opened, while its value keeps updating until the bucket closes. So a value stamped at 10:00:00.000 can already contain events from 10:00:00.090. Every test reads a value only from the first book update after it was computed. We call this the causal read. It changed some results, and we report the causal numbers throughout.</li><li><strong>Aggregation levels are the ones each tile ships with</strong>: LOB Imbalance and OTR at 100 ms, Market Resilience at 500 ms, TTO, VPIN and Market Resilience Bias at 1 second.</li><li><strong>Per-symbol settings come from a rule, not a search.</strong> The VPIN bucket size and the resilience shock window were derived from each symbol’s own statistics before any outcome was looked at. Both are settings you choose in each tile. The practitioner notes below explain how.</li><li><strong>The book is 10 levels per side.</strong> Anything read off the book depends on how many levels your feed delivers.</li><li><strong>The null is a free rival.</strong> A tile earns its place only if it beats the cheapest rule that does the same job without it. Beating a coin flip is not enough.</li><li><strong>The counts come from the same study code.</strong> The frequency and forecast numbers come from running the same study plugins over every event of the day, in order, in a test harness. The captures come from the application itself.</li><li><strong>A development build.</strong> All captures and counts use a development build that includes changes arriving in an upcoming release. Released builds label the two ratio tiles “OTR” and “TTO”; the captures show them as “OTR (count)” and “TTO (legacy)”.</li></ol><p><strong>Takeaway:</strong> decide the rules first, read each value only when it could have been seen, and compare against the cheapest alternative, not against chance.</p><h3>How to read the captures</h3><p>Every capture shows the same desk layout. On the left, the order book ladder: bids and offers, price and size, 10 levels per side, with the study tiles below it. In the middle, from top to bottom: the depth chart, the order book chart (every price level over time, with the best bid and offer), and the study’s own chart, where the green line is the study’s value and, on most captures, the white line is the mid price. On the right, Time and Sales: every print, green when the feed marks it as a buy, red when it marks it as a sell.</p><p>Each capture plays near real time. At the key frames it pauses, draws a box around what matters, and shows a caption. Some passages repeat at half speed. Long quiet stretches are fast-forwarded, and the capture says so on screen. The end card states the symbol, the date, the tile’s aggregation level and every speed change.</p><p>All times are US Eastern. All captures are from 22 August 2023.</p><h3>1. LOB Imbalance: the book leans, holds, and the price follows</h3><h3>The theory</h3><p>When one side of the book holds far more size than the other at the best prices, the next move of the mid price tends to go toward the thin side. Gould and Bonart (2016) showed this with the queue imbalance at the best bid and offer across 10 liquid NASDAQ stocks: the imbalance carried a strongly significant relationship with the direction of the next mid-price move.</p><p>Cont, Kukanov and Stoikov (2014) came at the same idea from the flow side. Over short intervals, price changes are driven mainly by order flow imbalance at the best quotes, with an impact that is inversely proportional to depth. A thin side moves the price more easily.</p><p>The practical reading: a heavy bid and a thin offer mean the offer queue is the one likely to empty first, and when it empties, the mid moves up.</p><h3>How VisualHFT computes it</h3><p>On every book update the tile sums resting size on each side across the captured levels and takes the normalised difference:</p><pre>Imbalance = (bid size - ask size) / (bid size + ask size)</pre><p>The result runs from -1 (all size on the offer side) to +1 (all size on the bid side). The tile shows the latest reading to one decimal; the chart plots the last value in each aggregation bucket, 100 ms by default.</p><p>The <strong>Weighting</strong> setting, coming in an upcoming release, decides how the levels count:</p><ul><li><strong>Equal Weight</strong>: every captured level counts the same. This is the classic whole-book ratio and the tile’s current behaviour.</li><li><strong>Touch Weighted</strong> (new): a level’s size is multiplied by 1 / (1 + d)², where d is the level’s distance from its own side’s best price, measured in spreads. A level one typical spread away counts a quarter. Two spreads away counts a ninth. The spread unit is the instrument’s running median spread, after the first 200 book updates, so the weighting adapts to each symbol’s price scale.</li></ul><p>Touch Weighted is a new weighting setting coming in an upcoming release. The captures and numbers in this section use a development build that includes it.</p><p>Why the weighting matters: a whole-book sum lets size far from the touch dominate. Gould and Bonart’s result is about the best queues. Touch weighting keeps the whole captured book in the number while letting the levels near the best price carry most of the weight.</p><h3>Watch it happen</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*XL6ZGkM8e23N35DrN39zHg.gif" /></figure><p><em>IDXX, 12:58:09 to 12:59:07 ET. LOB Imbalance, Touch Weighted, 100 ms. Replayed near real time; 47 seconds fast-forwarded at five times speed; one passage repeated at half speed. Watch the book lean, hold, and the price follow.</em></p><p><strong>Pause 1, 12:58:14.5.</strong> Look at the tile first: it reads <strong>-0.7</strong>. Negative means the book leans to the sell side.</p><p>Now look at the top of the ladder. At the best prices there are <strong>5 shares bid at 487.35</strong> and <strong>367 shares offered at 487.76</strong>. The touch is lopsided. The tile does not read -1.0 because Touch Weighted still counts the deeper levels, at reduced weight.</p><p>Look at the chart: the white mid-price line is flat. Look at Time and Sales: the last trade printed at 12:58:08. The book leans, and nothing is happening to the price.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5nFEhTYHQtKI8iEWHaLJeg.png" /></figure><p><em>Pause 1, 12:58:14.5: the touch is 5 shares against 367, the tile reads -0.7, the mid is flat.</em></p><p><strong>Fast-forward, 47 seconds.</strong> The best bid and offer do not change the whole time. Around 12:59:00 the tile deepens from -0.7 to -0.9.</p><p><strong>Pause 2, 12:59:05.7.</strong> A new offer, <strong>101 shares at 487.59</strong>, has become the best offer, 17 cents below 487.76. Nothing traded: Time and Sales still shows 12:58:08 as the last print, and the offer at 487.76 is still there, now 375 shares.</p><p>The mid price dropped <strong>8.5 cents, from 487.555 to 487.470</strong>. The chart’s price axis zoomed in to show it. The order book chart shows the same step: the best offer and the mid move down together. The tile reads <strong>-0.9</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s57z04yKrzhE-x9NbY_pZw.png" /></figure><p><em>Pause 2, 12:59:05.7: a new best offer at 487.59, the mid steps down 8.5 cents, no trade.</em></p><p>Note how the price moved. The thin bid was not hit. A seller chose to improve the offer. The mid moved the way the book leaned, through a new quote, not a trade. The capture then replays that moment at half speed.</p><p>One more number from the same frames: the spread was 41 cents (487.35 to 487.76), almost five times the 8.5-cent move.</p><h3>What the day says</h3><p><strong>How often the capture’s picture happens.</strong> The rule, written down before we looked: the mid price is flat, and the tile holds at least 0.6 in one direction for 3 seconds or more. Then we check whether the next mid change goes the way the book leans.</p><ul><li>With Touch Weighted: 588 such setups across the day. In 307 of them (52%) the next mid change went the lean’s way, counting the 96 setups where the mid did not move within 30 seconds as misses. The base rate for the same call after any flat spell of 3 seconds or more was <strong>48.0%</strong> (p = 0.043). Among the 492 setups where the mid did move, <strong>62.4%</strong> moved the lean’s way.</li><li>With Equal Weight, the same rule found no difference: 251 of 518 setups (48.5%) against a 47.7% base, p = 0.73.</li><li>The setup appears almost only on thinner and mid-liquidity names. QQQ and AMD produced none.</li><li>On IDXX itself, the symbol in the capture, 39 of its 89 setups went the lean’s way, below its own base rate. The capture is one real instance, not a typical one for that symbol.</li></ul><p><strong>As a forecast, on the held-out liquid symbols.</strong> Every change in the tile’s value is a candidate. We keep the fifth of readings furthest from zero for each symbol and ask whether the sign calls the next mid tick.</p><p><strong>Test (held-out liquid symbols, top fifth of readings):</strong> Sign against the next mid tick <strong>Equal Weight:</strong> 58.2% vs 52.8% base <strong>Touch Weighted:</strong> <strong>73.9% vs 51.7% base</strong></p><p><strong>Test (held-out liquid symbols, top fifth of readings):</strong> Touch Weighted over Equal Weight, same ticks <strong>Touch Weighted:</strong> +15.8 points</p><p><strong>Test (held-out liquid symbols, top fifth of readings):</strong> Tile against “the next tick undoes the last one” <strong>Equal Weight:</strong> Rule wins by 4.2 points <strong>Touch Weighted:</strong> Tile ahead by 5.9 points</p><p><strong>Test (held-out liquid symbols, top fifth of readings):</strong> Tile against the best free rule, “undo the last tick, when it bounced” <strong>Equal Weight:</strong> Rule wins <strong>Touch Weighted:</strong> +0.6 on hold-out (within noise); rule wins by 4.8 on discovery</p><p><strong>Test (held-out liquid symbols, top fifth of readings):</strong> Tile as a filter on the free rule, beyond a book-free bounce filter <strong>Touch Weighted:</strong> +4.8 points hold-out, +3.0 discovery</p><p>The weighting is the real finding here. On the same ticks, Touch Weighted beats Equal Weight by 15.8 points on the hold-out and 11.2 on discovery. As a confirming filter on the free rule, it adds information that no book-free filter in our test matched.</p><p>Three qualifications travel with those numbers:</p><ul><li><strong>It ties or loses to a free rule as a standalone call.</strong> “Undo the last tick when it bounced” needs no order book and scores the same on the hold-out, better on discovery.</li><li><strong>The moves are smaller than the spread.</strong> On the held-out names the spread is 2.3 to 9.5 times the size of a correctly called move. No costs were applied.</li><li><strong>It is one trading day.</strong> The hold-out is other symbols on the same day.</li></ul><h3>How a practitioner uses it</h3><ul><li><strong>Read the lean together with the touch.</strong> The tile summarises the book. The ladder shows you which queue is thin. When the tile leans hard and the touch queue on the thin side is a few hundred shares or less, you are looking at the situation the research describes.</li><li><strong>Use it as context for a price-based rule, not as the rule.</strong> The one place the tile added something no free rule matched was as a filter on a simple reversal rule.</li><li><strong>Know your depth.</strong> Captured depth changes the number. In our depth tests, the share of readings above 0.5 fell as we captured more levels on 12 of 14 symbols. A 5-level feed and a 20-level feed show different tiles for the same market.</li><li><strong>Prefer Touch Weighted when it is available.</strong> It moves the tile toward the quantity the research actually tested.</li></ul><h3>Limits of the metric</h3><p>The imbalance describes resting size. It cannot see hidden orders or orders about to arrive, and a single new quote can move the mid without any trade, as the capture shows. It says which way the book leans. It does not say how far the price will go.</p><p><strong>Takeaway:</strong> a lopsided touch tends to resolve toward the thin side, and touch weighting captures that far better than an equal-weight sum. The move is small, and a free price-only rule does about as well.</p><h3>2. VPIN: order flow turns one-sided</h3><h3>The theory</h3><p>Easley, López de Prado and O’Hara (2012) defined order flow as toxic when it adversely selects the market makers who provide liquidity, often without them knowing it. Their measure, VPIN (volume-synchronised probability of informed trading), runs on a volume clock instead of a time clock. Trades are grouped into buckets of equal volume. When the buckets fill mostly from one side, the flow is one-sided, and the theory says liquidity providers widen their quotes or step back.</p><p>Running on volume time matters. In a busy minute many buckets close. In a quiet minute few do. The measure speeds up when the market does.</p><p>The measure has a published critique. Andersen and Bondarenko (2014) tested VPIN around the May 2010 flash crash and disputed its value as a predictor of short-term volatility. Our own one-day result, below, is also “no forecast”, so both readings are worth knowing.</p><h3>How VisualHFT computes it</h3><ol><li>In the default form, each trade is classified against the mid price at the time of the print: at or above the mid counts as a buy, below counts as a sell. (The original paper classifies volume in bulk from price changes. Both methods produce a buy and sell split per bucket.)</li><li>Trades fill a bucket of fixed volume. A trade that overfills a bucket carries the remainder into the next one.</li><li>When a bucket closes, its imbalance is |buy volume — sell volume| / bucket volume.</li><li>VPIN is the average imbalance over the last n completed buckets, 50 by default.</li></ol><p>The tile runs at 1 second and shows two decimals. 0 means every bucket in the window was balanced. 1 means every bucket was entirely one-sided.</p><h3>Watch it happen</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Jy1pypTGx2uMS2VRJO3Xbw.gif" /></figure><p><em>NFLX, 15:14:50 to 15:15:16 ET. VPIN at 1 second, bucket sized for NFLX (103 shares, 50 buckets). Replayed near real time; 14 seconds fast-forwarded at four times speed. Watch VPIN rise as the order flow turns one-sided.</em></p><p><strong>Pause 1, 15:14:56.</strong> The VPIN tile reads <strong>0.80</strong>. On the chart below it, the green VPIN line has been rising to 0.80, with a dip at 15:14:44, when a cluster of sells printed. The chart’s scale is zoomed so the steps are visible.</p><p>Now look at Time and Sales. <strong>39 of the 48 prints on screen are green</strong>, marked as buys. The 9 red sells came at 15:14:43 and 15:14:44, the moment of the dip.</p><p>VPIN measures how one-sided the volume is. It does not say which side. The direction comes from the tape, not from the tile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M9OaVFJIzGn_ubXS_ClprA.png" /></figure><p><em>Pause 1, 15:14:56: VPIN 0.80, 39 of 48 prints marked as buys.</em></p><p><strong>Fast-forward, 14 seconds.</strong> Watch the green line keep stepping up as buckets close.</p><p><strong>Pause 2, 15:15:15.6.</strong> Nineteen seconds after the first pause, the tile reads <strong>0.93</strong>. The green line has climbed to 0.93.</p><p>Time and Sales now shows <strong>47 of 48 prints green</strong>, from 15:15:02 to 15:15:13. Four of them are half-penny prints from hidden orders, which the NASDAQ feed always flags as buys, so read the colour of those four with care. The quotes moved up: the best bid from 415.32 to 415.60, the offer from 415.41 to 415.71.</p><p>VPIN named no side. The tape is marked mostly buys, and the quotes moved up about 30 cents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sD_3N1clAE7Tg9N0PFDvLw.png" /></figure><p><em>Pause 2, 15:15:15.6: VPIN 0.93, 47 of 48 prints marked as buys, quotes up about 30 cents.</em></p><h3>What the day says</h3><p><strong>How often the capture’s picture happens.</strong> The rule: VPIN rises by at least 0.10 within 60 seconds to its own top-decile level for the day, while at least 60% of the traded volume in that stretch is one-sided. That setup appeared 35 times across the day. It is real and it is visible: VPIN does climb while the tape turns one-sided.</p><p><strong>What the theory says comes next.</strong> The theory says spreads or short-term volatility should rise after such a climb. Over the following 60 seconds, volatility rose by half or more, or the spread widened by a fifth or more, after 16 of the 35 rises (45.7%). At matched moments with no such rise, the same happened 37.3% of the time. On one day that difference is not reliable (p = 0.30).</p><p><strong>As a volatility forecast.</strong> We asked whether VPIN adds anything to a standard volatility forecast that already knows recent volatility and the time of day. On the held-out symbols, adding VPIN did not improve the forecast at 60 seconds, 5 minutes or 15 minutes.</p><p>VPIN’s designed use, ranking instruments by toxicity across many sessions, needs many days of data to test. One day cannot settle it.</p><h3>How a practitioner uses it</h3><ul><li><strong>Size the bucket to the symbol.</strong> A bucket fixed in shares means very different things on different instruments: a few seconds of trading on one, hours on another. We set each symbol’s bucket to 1% of that day’s volume, split across 50 buckets: 723 shares for AMZN, 103 for NFLX. Set it in the tile’s settings. Symbols whose buckets would hold less than about one print each were left out of the VPIN tests.</li><li><strong>Read direction from the tape.</strong> VPIN is unsigned. Pair it with Time and Sales or a signed flow measure to know which side is pressing.</li><li><strong>Treat it as a toxicity gauge, not a timer.</strong> A high reading says the flow in the window was one-sided. It does not say what happens in the next minute.</li></ul><h3>Limits of the metric</h3><p>VPIN depends on trade classification, bucket size and window length, and each choice changes the number. A rise can come from one large burst or from steady pressure; the capture shows the steady kind. The value moves in steps as buckets close, so on a quiet symbol it can sit still for long stretches.</p><p><strong>Takeaway:</strong> VPIN shows when the flow turns one-sided, in volume time. On this day it did not tell us what the next minutes of volatility would be.</p><h3>3. Market Resilience: the book takes a hit and refills</h3><h3>The theory</h3><p>Kyle (1985) described liquidity in three dimensions: tightness (the cost of a round trip), depth (the order size needed to move the price) and resiliency (how fast prices recover from a shock). Resiliency is the one a single snapshot of the book cannot show. You have to watch the book after something hits it.</p><p>Obizhaeva and Wang (2013) showed why it matters for execution. The optimal way to work an order depends on the dynamics of supply and demand, especially resilience, the speed at which the book recovers to its steady state after a trade, rather than on the static spread and depth.</p><p>Large (2007) measured resiliency directly on a London Stock Exchange order book. After large trades, the book did not reliably replenish in over 60% of cases. When it did replenish, it did so quickly, with a half-life of around 20 seconds.</p><p>So the theory the tile illustrates is about <strong>depth coming back</strong>. It is not a claim that the price comes back.</p><h3>How VisualHFT computes it</h3><ol><li><strong>A large trade anchors the event.</strong> A print more than two standard deviations above the mean of the last 500 trade sizes starts a shock.</li><li><strong>The tile watches the spread and the depth.</strong> Depth is measured as immediacy-weighted depth: each level’s size times 1 / (1 + d)², with d in spreads from the best price, the same weighting idea as Touch Weighted above. A side is depleted when this depth drops well below its own running median, by a robust z-score of 3 or more.</li><li><strong>Recovery has a window.</strong> A depleted side has recovered when it regains 90% of the depth it lost, with its best price back near where it was, inside the shock window.</li><li><strong>The score compares this recovery with the session’s own.</strong> When all four components are present, depth recovery carries 50% of the score, the size of the shock trade 30%, spread recovery 10% and the size of the spread widening 10%. A recovery exactly as fast as the average of the last 500 recoveries scores 0.5 on its component; faster scores higher; a side that never came back scores 0.</li></ol><p>The tile runs at 500 ms and shows one decimal. A low score means a slower, weaker refill than this market’s own recent recoveries.</p><h3>Watch it happen</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*bxPBq_oK-ygLuOY6ZjGKFw.gif" /></figure><p><em>AMZN, 15:30:39 to 15:31:05 ET. Market Resilience at 500 ms, shock window set for AMZN (2,414 ms). Replayed near real time; one passage repeated at half speed; 16 seconds fast-forwarded at twice speed. Watch the book take a hit, then refill.</em></p><p><strong>Opening.</strong> Watch three things: the order book, the MR tile (reading 0.4) and Time and Sales.</p><p><strong>Pause 1, 15:30:45.2.</strong> A burst of prints hits Time and Sales, most of them red: sells into the bid, with prints as low as 134.03.</p><p>Look at the bid side of the ladder. The best bid is <strong>134.04</strong>. Less than a second ago it was <strong>134.19</strong>. No bids are left between 134.19 and 134.05; the bid ladder now starts at 134.04. The bid side took a hit. The capture replays it at half speed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1azlDADh1LrxAuPCwdY0ww.png" /></figure><p><em>Pause 1, 15:30:45.2: the bid side takes a hit, from 134.19 to 134.04.</em></p><p><strong>Pause 2, 15:30:48.7.</strong> The MR tile drops from <strong>0.4 to 0.3</strong>: a low resilience score after this hit. On the chart, the green MR line steps down, and the white mid line sits near 134.05.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q770IwpFBSkvB6nNuAXkbA.png" /></figure><p><em>Pause 2, 15:30:48.7: the MR tile drops from 0.4 to 0.3.</em></p><p><strong>Fast-forward, 16 seconds.</strong> Watch the bids and the MR tile.</p><p><strong>Pause 3, 15:31:05.</strong> MR has climbed from <strong>0.3 to 0.5</strong>. The bids have refilled: every price from 134.12 down to 134.03 now holds between 100 and 858 shares. The best bid is back at <strong>134.12</strong>. It fell from 134.19 to 134.04, with prints as low as 134.03, so about half of the drop has come back.</p><p>On the chart, MR steps back up while the white mid line recovers part of the fall. The book took a hit, the bids refilled, and MR climbed back. The price came back about halfway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xvUVz8B2tXcnKZevg49rrg.png" /></figure><p><em>Pause 3, 15:31:05: the bids have refilled and MR is back at 0.5.</em></p><h3>What the day says</h3><p><strong>How often the capture’s picture happens.</strong> The rule: a side’s depth falls to 60% or less of its median over the prior 2 seconds. Then the score dips by at least 0.1 within 6 seconds, the depth returns to 80% of its pre-shock level within 20 seconds, and the score climbs back within the same 20 seconds.</p><ul><li>845 depletions across the day. 205 of them (24%) showed a dip in the score.</li><li>79 of them (9.3%, about 1 in 10) showed the full dip-and-recover cycle you just watched. At matched moments with no depletion, the same score pattern appeared 3.0% of the time.</li><li>The AMZN capture is one of those 79 cycles.</li><li>76% of depletions showed no dip at all. Across 6,671 depletion moments on the liquid symbols, the score fell within 2 seconds 17.3% of the time and rose 16.3% of the time.</li><li>Full cycles appeared only on QQQ, AAPL, AMZN and AMD, the most active names.</li></ul><p><strong>Price is a different question.</strong> Across the 74 full cycles we screened for price, 20 seconds after the depletion the median cycle had recovered 42% of its price drop. The theory is about depth, and depth is what the tile follows.</p><p><strong>As a forecast of cost.</strong> We asked whether a low reading tells a liquidity provider that the next 5 seconds will cost more, in spread or in the price move after a passive fill. On the held-out symbols neither difference was significant (spread p = 0.30, post-fill price move p = 0.65). Adding the score to a forecast that already knows the current spread did not improve it.</p><h3>How a practitioner uses it</h3><ul><li><strong>Set the shock window to the symbol.</strong> The window decides how long the tile waits for depth to come back. We set it to the 90th percentile of each symbol’s observed depth-recovery time: 1.0 second on QQQ, 2.4 seconds on AMZN, up to 5.2 seconds on VRTX. Set it in the tile’s settings.</li><li><strong>Read it next to the ladder.</strong> The score tells you how this recovery compares with the session’s. The ladder tells you which side was hit and whether size is coming back at the old prices.</li><li><strong>Use it for execution context.</strong> After a hit, a low score says this book is refilling more slowly than usual. That is the moment to be careful about how much size you show or take.</li></ul><h3>Limits of the metric</h3><p>The score is relative to the same session’s recoveries, so it describes how unusual a recovery is, not its absolute cost. It needs large trades to anchor events, so quiet symbols produce few readings. Most depletions do not move the score.</p><p><strong>Takeaway:</strong> Market Resilience turns Kyle’s third liquidity dimension into a number you can watch. It describes the recovery you just saw. It does not forecast the next one.</p><h3>4. Market Resilience Bias: the side that fails to refill</h3><h3>The theory</h3><p>Large (2007) measured how often and how fast a limit order book replenishes after large trades. If one side is hit and comes back while the other side is hit and does not, the side that stays thin is where liquidity providers are unwilling to stand. The Bias tile turns that asymmetry into an arrow. Mapping the failed side to a direction is VisualHFT’s own construction on top of the published resiliency measurement.</p><h3>How VisualHFT computes it</h3><p>The Bias tile runs the same resilience calculation as Section 3 and adds two rules.</p><ol><li><strong>It only speaks when resilience is poor.</strong> The arrow can appear only after the resilience score falls to 0.30 or below. It clears back to a dash once the score recovers to 0.50 or above.</li><li><strong>Direction comes from the side that failed.</strong> When a depth event ends with the bid depleted and not refilled, the arrow points down (↓). When the offer failed, it points up (↑). When both sides came back, or both failed together, it shows a dash.</li></ol><p>The tile runs at 1 second. It has its own shock window setting; we set it to the same per-symbol value as Market Resilience.</p><h3>Watch it happen: the bid fails</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*DvOtUJiaAVAy1ZHXtdRFVQ.gif" /></figure><p><em>AMZN, 13:14:02 to 13:15:23 ET. Market Resilience Bias at 1 second, shock window set for AMZN. Replayed near real time; 58 seconds fast-forwarded at eight times speed. Watch which side fails to refill after a large trade.</em></p><p><strong>Pause 1, 13:14:10.</strong> At 13:14:06, a burst of prints hits Time and Sales: <strong>28 of 31 are red</strong>, sells into the bid, from 134.24 down to 134.19.</p><p>The MRB tile has just switched to <strong>↓</strong>: the tool reads the bid side as failing to refill. The best bid sits at 134.21. Before the sells it was 134.24.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*839r3XIhIYJJI83202Qfhg.png" /></figure><p><em>Pause 1, 13:14:10: the arrow switches to down after sells hit the bid.</em></p><p><strong>Fast-forward, 58 seconds.</strong> The arrow stays ↓ the whole time.</p><p><strong>Pause 2, 13:15:22.</strong> The arrow has held ↓ for <strong>72 seconds</strong>. The best bid is <strong>133.99</strong>, down from 134.21 when the arrow appeared.</p><p>On the chart, after the green MRB line dropped to -1, the white mid line slipped to about 134.17 within seconds, held there for about a minute, then fell to about 134.00. The arrow held throughout and the price ended lower. We picked this moment because the price followed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D-e9kqdNAJUdvrSD-mVEHg.png" /></figure><p><em>Pause 2, 13:15:22: the arrow has held for 72 seconds; the best bid is 133.99.</em></p><h3>Watch it happen: the offer fails</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*8P0HhYHomHivoARpMefV5A.gif" /></figure><p><em>AMZN, 14:25:18 to 14:27:48 ET. Market Resilience Bias at 1 second, shock window set for AMZN. Replayed near real time; 127 seconds fast-forwarded at eight times speed. Watch which side fails to refill after a hit to the book.</em></p><p><strong>Pause 1, 14:25:28.</strong> At 14:25:23, six red prints at 133.89, 379 shares, sell into the bid.</p><p>The MRB tile has switched to <strong>↑</strong>: the tool reads the ask side as the one that failed to refill, although these prints hit the bid. On the chart, the green MRB line steps up. The best bid is 133.86.</p><p>This is worth pausing on. The arrow does not come from the colour of the last prints. It comes from the tile’s own depth measurement across the book, and here that measurement judged the offers as the side that did not come back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P2OpWtCWF-XH2vM8hMWoqg.png" /></figure><p><em>Pause 1, 14:25:28: the arrow switches to up, the best bid is 133.86.</em></p><p><strong>Fast-forward, 127 seconds.</strong> The arrow stays ↑.</p><p><strong>Pause 2, 14:27:47.</strong> The arrow has held ↑ for more than two minutes. The best bid is <strong>134.10</strong>, up from 133.86 at the first pause.</p><p>On the chart, the white mid line dipped for about 20 seconds after the step, then climbed to about 134.10. The arrow held and the price rose. We picked this moment because the price followed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lzLuneYaawGIQy4CYZx7WA.png" /></figure><p><em>Pause 2, 14:27:47: the arrow has held for more than two minutes; the best bid is 134.10.</em></p><h3>What the day says</h3><p><strong>How often the arrow appears.</strong> The tile fired 127 times across the day, 84 down and 43 up, and each arrow stayed on screen for a median of 30 seconds. It fired on 7 of the 14 symbols, mostly the most active names.</p><p><strong>How often the capture’s picture happens.</strong> For the frequency rule we required the arrow to hold 5 seconds or more, and the failing side to show a fresh depletion in the prior 10 seconds, with its depth still at 80% or less of normal. 24 firings met that stricter test. In 14 of them (58%) the mid price 30 seconds later had moved the arrow’s way, against 46.8% by chance for the same call. On 24 events that difference is not reliable (p = 0.31).</p><p>The bid-fails capture meets that stricter test. The offer-fails capture does not, so we attach no frequency number to it. It is shown because it is a clear, real instance of the arrow holding on the other side.</p><p><strong>As a direction forecast.</strong> On the held-out symbols, the arrow agreed with the next 5 seconds of price 52.1% of the time against a 48.9% base rate, and with the next 30 seconds 52.2% of the time, the same as a rule that simply reverses the last tick. Neither is a reliable difference (p = 0.64 and 0.63).</p><h3>How a practitioner uses it</h3><ul><li><strong>Treat the arrow as a description of the last shock.</strong> It tells you which side of the book did not come back after being hit. That is useful context for where resting liquidity is thin right now.</li><li><strong>Check it against the ladder.</strong> When the arrow and the ladder agree that one side stayed thin, the picture is consistent. When they disagree, as in the second capture, look at the depth levels, not just the prints.</li><li><strong>Set its shock window to the Market Resilience value.</strong> The two tiles have separate settings but share the resilience calculation, so calibrate them together.</li></ul><h3>Limits of the metric</h3><p>The arrow speaks rarely, only after poor recoveries, and it holds for tens of seconds, so it describes a state rather than a moment. On this day it did not call the next move better than chance. Both captures were chosen because the price followed; the counts above are the fair picture.</p><p><strong>Takeaway:</strong> Market Resilience Bias points at the side of the book that failed to refill. It is a map of where liquidity is missing, not a direction call.</p><h3>5. OTR: the book churns while nothing trades</h3><h3>The theory</h3><p>Hasbrouck and Saar (2009) found that on an electronic limit order book a large share of limit orders are fleeting: submitted and cancelled within seconds, without trading. That blurred the traditional view of limit orders as patient liquidity. The order-to-trade ratio (OTR) measures that churn: how much the book changes per trade.</p><p>Regulators track the same quantity. Friederich and Payne (2015) studied the Italian Stock Exchange’s penalty on high order-to-trade ratios and found it was followed by a collapse in quoted depth and higher price impact, with spreads unchanged. In the EU, MiFID II requires trading venues to calculate the ratio of unexecuted orders to transactions for each member and each instrument (Commission Delegated Regulation (EU) 2017/566). That regulatory ratio is computed per member, which a public feed cannot identify. The tile measures the market-wide intensity of book changes against trades.</p><h3>How VisualHFT computes it</h3><p>In each aggregation window, 100 ms by default, the tile counts book changes at the tracked levels: additions, removals, and modifications, with a modification counted twice because it stands for a cancel and a replace. It divides by the number of trades in the window, with a floor of one, and subtracts one:</p><pre>OTR (count) = book changes / max(trades, 1) - 1</pre><p>The count resets every window. The tile shows one decimal. A reading of 62 in a window with no trade means 63 book changes in that 100 ms.</p><h3>Watch it happen</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*tQX1W1Azez35ElS2KrW9qw.gif" /></figure><p><em>IDXX, 13:14:55 to 13:15:07 ET. OTR (count) at 100 ms. Replayed near real time; one passage repeated at half speed. Watch the book churn with no trades.</em></p><p><strong>Opening, 13:14:55.</strong> The OTR (count) tile reads 0.0. The best bid is 486.42 and the best offer 486.71.</p><p><strong>Pause 1, 13:15:03.4.</strong> The tile has read <strong>62</strong> since 13:15:00.6: dozens of book changes and no trade in one 100-millisecond window.</p><p>In that burst, the best offer stepped down 5 cents, from 486.71 to 486.66. The best bid stayed at 486.42. The spread narrowed from 0.29 to 0.24. Time and Sales shows no trade since 13:14:30. The OTR chart draws the burst as its tallest spike of the stretch.</p><p>The book changed dozens of times while nothing traded. The replay continues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3noASfzNEBdhV9Yup6JfOw.png" /></figure><p><em>Pause 1, 13:15:03.4: OTR (count) reads 62 with no trade since 13:14:30.</em></p><p><strong>Pause 2, 13:15:07.3.</strong> The best bid has fallen from 486.42 to <strong>485.98</strong>. The best offer moved from 486.66 to <strong>486.45</strong>. The spread widened from 0.24 to <strong>0.47</strong>.</p><p>Time and Sales shows a run of trades stamped 13:15:05 to 13:15:06, from 486.42 down to 486.11, most marked as sells. On the order book chart, the mid price fell 32.5 cents, from 486.54 to 486.215. The OTR chart still shows the burst as its tallest spike.</p><p>About five seconds after the tile jumped to 62, the quotes moved fast and the spread nearly doubled. The capture replays the move at half speed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GGFM5rOe4WeJf6MM0d8Msg.png" /></figure><p><em>Pause 2, 13:15:07.3: the bid falls to 485.98 and the spread widens to 0.47.</em></p><h3>What the day says</h3><p><strong>How often the capture’s picture happens.</strong> The rule: OTR reaches its own top 1% for the day and stays there for at least half a second. Within a second either side, the tape shows two prints or fewer while the state of the book changes at least four times. 40 of 61 such readings (65.6%) matched that churn-without-trades picture, against 33.1% at matched moments. Part of this is built into the ratio, since few trades is part of a high reading, so we treat it as a picture of the mechanism.</p><p><strong>What happens in the next 10 seconds (exploratory).</strong> We then asked what follows a top-1% reading, against 50 random moments from the same symbol and the same half hour. This scan is exploratory: it was written after we had read the earlier results, no rule was locked in advance, and no free rival was tested against it.</p><p><strong>After an OTR spike, next 10 seconds:</strong> Mid-price volatility above the symbol’s normal (median) <strong>Hold-out (43 spikes):</strong> <strong>69.8% vs 49.9%</strong>, p = 0.003 <strong>Discovery (17 spikes):</strong> 76.5% vs 47.4%, p = 0.010</p><p><strong>After an OTR spike, next 10 seconds:</strong> Quote flicker: best price changes that revert within a second, above normal <strong>Hold-out (43 spikes):</strong> <strong>62.8% vs 40.5%</strong>, p = 0.001 <strong>Discovery (17 spikes):</strong> 64.7% vs 35.5%, p = 0.008</p><p><strong>After an OTR spike, next 10 seconds:</strong> Spread widening by half or more <strong>Hold-out (43 spikes):</strong> 51.2% vs 43.9%, not significant <strong>Discovery (17 spikes):</strong> 52.9% vs 38.8%, not significant</p><p>Both findings held on both halves. They also held when the random moments were matched on how busy the book had been in the previous 10 seconds, though weaker: volatility 62.8% vs 49.9% (p = 0.049) and flicker 55.8% vs 38.7% (p = 0.011) on the hold-out.</p><p>The spread widening in the capture is real for that moment, but across the day it was not reliable. A larger move of three cents or more failed on the discovery symbols, so we make no claim about it.</p><p><strong>As a forecast of fills or price impact.</strong> We tested whether a high reading means a resting order is less likely to fill, or that a trade will move the price more. A plain count of book updates did as well or better in every case we could test. At 100 ms, most windows contain no trade at all, so the tile mostly reads the number of book changes.</p><h3>How a practitioner uses it</h3><ul><li><strong>Read it as a message-intensity gauge.</strong> A spike says the book is being rewritten fast while little trades. In the next seconds, the quotes you see are more likely to flicker and the mid more likely to move than usual.</li><li><strong>Do not lean on displayed size during a spike.</strong> The size on the screen is more likely to be fleeting in that moment. That is the Hasbrouck and Saar observation, visible in real time.</li><li><strong>Pair it with a trade-side view.</strong> OTR tells you about quoting. Time and Sales and TTO tell you about trading.</li><li><strong>Know what it is not.</strong> It is not the regulatory per-member ratio, and it does not identify who is quoting.</li></ul><h3>Limits of the metric</h3><p>The count depends on the window length and on how many levels are tracked. At 100 ms most windows have no trade, so the reading is close to a count of book changes, and a simple update counter carries most of the same information.</p><p><strong>Takeaway:</strong> an OTR spike marks a book being rewritten with almost no trading. In an exploratory scan of this day, the next 10 seconds were busier and more flickery than usual. That is context, not a direction.</p><h3>6. TTO: trading overwhelms the book</h3><h3>The theory</h3><p>Trade-to-order is the mirror of order-to-trade. The SEC’s MIDAS market structure program publishes the trade-to-order volume ratio for U.S. stocks and exchanges: traded volume divided by the volume of displayed orders, in percent. A ratio near 100% would mean almost every posted share traded. A low ratio means most posted volume was cancelled.</p><p>At high frequency, the ratio jumps when trading suddenly dominates book activity, as in an aggressive sweep that consumes displayed depth. That is close to the definition of the ratio itself: a sweep is a burst of traded volume, so a jump in TTO during a sweep is largely built in. The capture shows it happening; the interesting question is whether the reading tells you anything beyond that.</p><h3>How VisualHFT computes it</h3><p>In each 1-second window the tile divides traded volume by book volume, with a floor of one share:</p><pre>TTO = traded volume / max(order volume, 1)</pre><p>On screen the tile is labelled TTO (legacy). Order volume sums the size added, updated and removed in the book during the window, so the denominator counts cancels and updates as well as new orders. That makes it a different statistic from the SEC ratio. The window resets every second, and the tile shows four decimals.</p><h3>Watch it happen</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*StSWw64ZXfa45AW4sCWp6A.gif" /></figure><p><em>AMZN, 13:09:30 to 13:09:40 ET. TTO at 1 second. Replayed near real time; one passage repeated at half speed. Watch TTO jump when trading surges against book activity.</em></p><p><strong>Pause 1, 13:09:38.</strong> Look at the offer side of the ladder: <strong>99 shares at 134.42</strong>, then <strong>7,800 at 134.43</strong>. The TTO tile reads <strong>0.0000</strong>. On the chart, the TTO line shows only small bumps over the previous minute. Now watch one second of trading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N4YIvHARjOOjfAJ1-TlGcg.png" /></figure><p><em>Pause 1, 13:09:38: 7,800 shares offered at 134.43; TTO reads 0.0000.</em></p><p><strong>Pause 2, 13:09:39.5.</strong> Time and Sales shows <strong>19 prints, 18 of them green</strong>, from 134.42 up to 134.44. Ten of the prints are at 134.43, where 7,800 shares were offered. One of them is <strong>5,600 shares</strong>.</p><p>On the offer side of the book, 134.42 and 134.43 are gone. The best offer is now 134.44, the best bid 134.43. The TTO tile reads <strong>0.2098</strong> and stays above 0.2 for under a second. On the chart, the TTO line shoots up far above every earlier bump.</p><p>Buyers swept the offer. Traded volume jumped to about a fifth of book activity, and TTO spiked. The capture replays the sweep at half speed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SNQxFobNJ8oD-z-3Nt6TPQ.png" /></figure><p><em>Pause 2, 13:09:39.5: the offer is swept, TTO reads 0.2098 and spikes on the chart.</em></p><h3>What the day says</h3><p><strong>How often the capture’s picture happens.</strong> The rule: at least 5 prints on the same side within 250 ms that move the mid, then TTO reaching its own top 10% for the day and holding for at least half a second. 1,988 of 8,887 sweeps across the day (22.4%) showed that, against 2.7% at quiet moments. As noted above, this is close to the ratio’s definition.</p><p><strong>As a forecast of fill quality.</strong> A common idea is that a passive fill taken while TTO is extreme costs more, because the flow is aggressive. Read naively, the data seemed to agree, but the fill penalty belonged to a simpler variable: where the print sat inside its sweep. Read causally, from the moment each value could have been seen, the sign reversed on the hold-out (p = 0.0005), and discovery did not confirm it.</p><h3>How a practitioner uses it</h3><ul><li><strong>Use it to see sweeps at a glance.</strong> On a busy tape, the TTO chart makes the moments when trading overwhelmed the book easy to find.</li><li><strong>Scan the chart for sweeps.</strong> The chart keeps every spike, so a session’s sweeps are easy to find afterwards.</li><li><strong>Keep it off fixed scales.</strong> The ratio is unbounded. In a window with very little book activity it can jump far above 1.</li><li><strong>Pair it with OTR.</strong> Together they show whether the book is being quoted or being traded.</li></ul><h3>Limits of the metric</h3><p>TTO rising during a sweep is close to a restatement of the sweep. It describes what just traded against the book. It does not describe what the next fill will cost.</p><p><strong>Takeaway:</strong> TTO lights up when trading overwhelms the book. That makes sweeps easy to see. It does not add a forecast on top of the sweep itself.</p><h3>7. From a tile to your own system: trigger rules and webhooks</h3><p>Watching a tile builds intuition. Acting on a tile within the time a book changes means handing it to software. VisualHFT’s trigger engine connects any study metric to an HTTP call.</p><h3>Step 1: a rule</h3><p>Open <strong>Trigger Management</strong> from the lightning-bolt button in the toolbar and choose <strong>Add New Rule</strong>. On the <strong>Conditions</strong> tab, press <strong>+</strong> to add a row. Set <strong>Plugin</strong> to a configured study, <strong>Condition</strong> to an operator (Equals, GreaterThan, LessThan, CrossesAbove, CrossesBelow) and <strong>Value</strong> to the threshold.</p><p>CrossesAbove and CrossesBelow fire on the update where the value crosses the threshold. The others are true on every update that satisfies them, so pair them with the rate limit below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*iY9gWCf1GcyFWF-e4xx3sA.png" /></figure><p><em>The metric picker in a new trigger rule.</em></p><h3>Step 2: a webhook</h3><p>On the <strong>Action</strong> tab, tick <strong>Webhook URL</strong> and choose <strong>Configure</strong>. The request is a POST to your URL, with optional headers, a JSON template, and a rate limit. Set the rate limit in seconds or longer so a condition that flips back and forth cannot flood your endpoint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*j2bLP6gS49G4aDDAtTI1AQ.png" /></figure><p>{<br> &quot;rule&quot;: &quot;{{rulename}}&quot;,<br> &quot;metric&quot;: &quot;{{metric}}&quot;,<br> &quot;condition&quot;: &quot;{{condition}}&quot;,<br> &quot;threshold&quot;: &quot;{{threshold}}&quot;,<br> &quot;value&quot;: &quot;{{value}}&quot;,<br> &quot;timestamp&quot;: &quot;{{timestamp}}&quot;<br>}</p><h3>What to wire, based on this study</h3><ul><li><strong>OTR spike as a context flag.</strong> CrossesAbove your symbol&#39;s top-1% level, feeding a system that widens tolerances or pauses passive quoting for a few seconds while quotes flicker.</li><li><strong>LOB Imbalance as a filter.</strong> A threshold on the tile, used to confirm or veto a price-based rule you already run, not as a standalone entry.</li><li><strong>Market Resilience for execution context.</strong> CrossesBelow a low score, used to slow down child orders after a hit to the book.</li></ul><p>If you wire a tile to your own system, test it the way we did: on your venue, at your aggregation level, against the cheapest rule you can think of, and with your own costs.</p><p><strong>Takeaway:</strong> a trigger rule turns a tile into an event your own system can act on. The testing discipline stays yours.</p><h3>8. Scorecard</h3><p><strong>Tile (aggregation level):</strong> <strong>LOB Imbalance, Touch Weighted</strong> (100 ms) <strong>What the capture shows:</strong> Book leans, holds, price moves its way <strong>How often that day:</strong> 52% vs 48.0% (p = 0.043); 62.4% of the 492 that moved <strong>Forecast test on the hold-out:</strong> Next tick 73.9% vs 51.7% (held-out liquid symbols); ties the best free rule on hold-out, loses on discovery; moves smaller than the spread</p><p><strong>Tile (aggregation level):</strong> LOB Imbalance, Equal Weight (100 ms) <strong>How often that day:</strong> No difference on the lean rule <strong>Forecast test on the hold-out:</strong> Next tick 58.2% vs 52.8%; a free rule wins</p><p><strong>Tile (aggregation level):</strong> VPIN (1 s) <strong>What the capture shows:</strong> Rises while the tape turns one-sided <strong>How often that day:</strong> 35 rises; what followed: 45.7% vs 37.3%, p = 0.30 <strong>Forecast test on the hold-out:</strong> Adds nothing to a volatility forecast</p><p><strong>Tile (aggregation level):</strong> Market Resilience (500 ms) <strong>What the capture shows:</strong> Depth hit, score dips, depth refills <strong>How often that day:</strong> 79 of 845 depletions (9.3%) vs 3.0% <strong>Forecast test on the hold-out:</strong> Does not track the next seconds’ cost</p><p><strong>Tile (aggregation level):</strong> Market Resilience Bias (1 s) <strong>What the capture shows:</strong> Arrow points at the side that failed to refill <strong>How often that day:</strong> 127 arrows a day, median 30 s on screen <strong>Forecast test on the hold-out:</strong> 52.1% vs 48.9% at 5 s; not a direction call</p><p><strong>Tile (aggregation level):</strong> OTR (100 ms) <strong>What the capture shows:</strong> Book churns while nothing trades <strong>How often that day:</strong> 65.6% vs 33.1% of top-1% readings <strong>Forecast test on the hold-out:</strong> A book-update count does as well on fills and price impact (exploratory next-10 s scan in Section 5)</p><p><strong>Tile (aggregation level):</strong> TTO (1 s) <strong>What the capture shows:</strong> Jumps during an aggressive sweep <strong>How often that day:</strong> 22.4% of sweeps vs 2.7% <strong>Forecast test on the hold-out:</strong> Sign reverses under a causal read; not replicated</p><p>Every capture is a mechanism: a real instance of the tile doing what its theory describes, chosen from setups that met the rule, favouring clear moves. The table is the evidence.</p><h3>9. What one day can and cannot tell you</h3><ul><li><strong>One day, one venue.</strong> Everything here comes from NASDAQ on 22 August 2023. A second session is needed before calling any of it more than a single-day result.</li><li><strong>The hold-out is other symbols, same day.</strong> It protects against fitting to the discovery symbols. It does not protect against a day that was unusual for everyone.</li><li><strong>Hit rates, not profits.</strong> No transaction costs were applied. Where we measured it, the correctly called moves were smaller than the spread.</li><li><strong>A 10-level book.</strong> Anything read off the book depends on capture depth.</li><li><strong>Captures chosen from setups that met the rule, favouring clear moves, not at random.</strong> Each section says how often the captured picture happens across the day. The MRB captures were chosen because the price followed, and their sections say so.</li></ul><p><strong>Takeaway:</strong> these tiles show you what the book and the tape are doing, grounded in published research. Whether any of them earns a place in a trading rule is a test you run on your own data.</p><h3>Glossary</h3><ul><li><strong>Aggregation level.</strong> How often a tile publishes a value: 100 ms, 500 ms, 1 second. The chart plots the last value in each bucket.</li><li><strong>Aggressor.</strong> The side that crossed the spread to trade. A buy print lifted an offer; a sell print hit a bid.</li><li><strong>Base rate.</strong> How often an outcome happens anyway, with no tile involved. A tile has to beat it to add anything.</li><li><strong>Best bid and offer, the touch.</strong> The highest bid and the lowest offer in the book. The touch is the pair of queues at those prices.</li><li><strong>Bucket (VPIN).</strong> A slice of fixed traded volume. VPIN closes a bucket every time that many shares have traded.</li><li><strong>Causal read.</strong> Reading each value only from the moment it could have been seen, never from a time stamp that runs ahead of it.</li><li><strong>Depletion.</strong> A side of the book losing most of its near-touch depth in a short time.</li><li><strong>Discovery and hold-out.</strong> Discovery symbols are where rules and thresholds were chosen. Hold-out symbols are scored after each test’s rules are locked.</li><li><strong>Free rival.</strong> The cheapest rule that makes the same call without the tile, such as “the next tick undoes the last one”.</li><li><strong>Hidden order.</strong> An order that rests without being displayed. On NASDAQ some of its prints show at half-penny prices.</li><li><strong>Level.</strong> One price in the order book with the total size resting at it.</li><li><strong>Mid price.</strong> The average of the best bid and the best offer.</li><li><strong>p-value.</strong> Roughly, how often a difference this large would appear by chance if there were no real effect. Smaller is stronger.</li><li><strong>Resilience.</strong> How quickly the book returns to its normal shape after a trade takes liquidity out of it.</li><li><strong>Spread.</strong> Best offer minus best bid. The cost of crossing from one side to the other.</li><li><strong>Sweep.</strong> A burst of same-side trades that consumes one or more price levels.</li><li><strong>Toxic flow.</strong> Order flow that leaves liquidity providers on the losing side of the trade.</li><li><strong>TotalView-ITCH.</strong> NASDAQ’s full-depth data feed, which reports each order added, changed, cancelled and executed.</li><li><strong>Volume clock.</strong> Measuring time by traded volume instead of seconds, so busy periods advance the clock faster.</li></ul><h3>References</h3><ul><li>Andersen, T. G., and Bondarenko, O. (2014). VPIN and the flash crash. <em>Journal of Financial Markets</em>, 17, 1 to 46.</li><li>Cont, R., Kukanov, A., and Stoikov, S. (2014). The price impact of order book events. <em>Journal of Financial Econometrics</em>, 12(1), 47 to 88.</li><li>Easley, D., López de Prado, M. M., and O’Hara, M. (2012). Flow toxicity and liquidity in a high-frequency world. <em>The Review of Financial Studies</em>, 25(5), 1457 to 1493.</li><li>European Commission (2016). Commission Delegated Regulation (EU) 2017/566 of 18 May 2016, regulatory technical standards for the ratio of unexecuted orders to transactions. <em>Official Journal of the European Union</em>.</li><li>Friederich, S., and Payne, R. (2015). Order-to-trade ratios and market liquidity. <em>Journal of Banking and Finance</em>, 50, 214 to 223.</li><li>Gould, M. D., and Bonart, J. (2016). Queue imbalance as a one-tick-ahead price predictor in a limit order book. <em>Market Microstructure and Liquidity</em>, 2(2).</li><li>Hasbrouck, J., and Saar, G. (2009). Technology and liquidity provision: The blurring of traditional definitions. <em>Journal of Financial Markets</em>, 12(2), 143 to 172.</li><li>Kyle, A. S. (1985). Continuous auctions and insider trading. <em>Econometrica</em>, 53(6), 1315 to 1335.</li><li>Large, J. (2007). Measuring the resiliency of an electronic limit order book. <em>Journal of Financial Markets</em>, 10(1), 1 to 25.</li><li>Obizhaeva, A. A., and Wang, J. (2013). Optimal trading strategy and supply/demand dynamics. <em>Journal of Financial Markets</em>, 16(1), 1 to 32.</li><li>U.S. Securities and Exchange Commission. MIDAS market structure metrics: trade to order volume ratios. sec.gov.</li></ul><p><em>Related reading:</em></p><ul><li><a href="https://visualhft.com/blog/order-book-imbalance-and-the-next-ten-seconds">Order-book imbalance and the next ten seconds</a></li><li><a href="https://visualhft.com/blog/vpin-real-time-order-toxicity-what-your-execution-stack-cannot-see">VPIN and real-time order toxicity</a></li><li><a href="https://visualhft.com/blog/the-art-and-science-of-market-resilience-in-trading-strategies">The art and science of market resilience</a></li><li><a href="https://visualhft.com/blog/how-to-use-your-own-historical-market-data-in-visualhft">How to use your own historical market data in VisualHFT</a></li></ul><p>Originally published at <a href="https://visualhft.com/blog/from-signal-to-trade-acting-on-toxicity-and-book-imbalance">https://visualhft.com/blog/from-signal-to-trade-acting-on-toxicity-and-book-imbalance</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d07c2375e1c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Healthiest Tile on the Screen Is the One Doing Nothing]]></title>
            <link>https://medium.com/@visualhft/the-healthiest-tile-on-the-screen-is-the-one-doing-nothing-5c4c48022f81?source=rss-719dda8f122a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c4c48022f81</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[trading]]></category>
            <dc:creator><![CDATA[VisualHFT]]></dc:creator>
            <pubDate>Mon, 07 Sep 2026 00:00:54 GMT</pubDate>
            <atom:updated>2026-09-08T23:56:14.772Z</atom:updated>
            <content:encoded><![CDATA[<p>A feed starts to degrade. You have the message rate in front of you and the latency next to it, and both of them are telling you the same thing: something is wrong.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mQwBEynFhNGB2pFh0KblHA.png" /></figure><p>Neither of them tells you <em>which kind</em> of wrong. A session the connector keeps having to re-establish and a setup step that never completed produce a similar picture on a rate chart, and they need completely different responses. One is a conversation with the venue. The other is a book that started from an incomplete picture. Reading the rate harder does not separate them, because the rate is downstream of both.</p><p>The two counters that do separate them are the ones you have probably never looked at, for a reason that is easy to state: on a normal day they show nothing at all.</p><h3>A counter whose healthy state is a blank</h3><p>Reconnections and connector errors sit on their own tile. Both hold at a no-data dot until something happens, which means a still tile is the good news.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AfpLAz82hRT3M7M_.png" /></figure><p><em>Both counters at rest, reporting venue wide, next to two panels that never stop moving.</em></p><p>That property is what makes the pair valuable, and what makes them worth a rule rather than a glance. A metric you watch continuously has to move to earn its place on a screen. A metric that stays blank until it matters earns its place in an alert instead.</p><h3>The three readings</h3><p>When a feed does degrade, read the two counters together against the feed rate. The combination is the diagnosis, and each combination has a shape you can learn to recognise at a glance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DcoEv4yMZSSdxweDY4vKPg.png" /></figure><p>The middle case is the one worth internalising, because it is the one that does not announce itself. A failure on the live stream reconnects, so both counters move together and the rate sags: that shape is loud. A path that degraded shows up in latency percentiles. Errors moving while reconnections stay still is quieter than either, because the stream itself is healthy. It points at a step that runs beside the stream rather than inside it, a snapshot or a subscription that did not complete, which leaves the feed flowing normally on top of a book that started from an incomplete picture.</p><p>That is the case errors catch on their own, and it is the reason the pair beats either counter alone.</p><h3>The ladder, and why it stops</h3><p>The reconnection counter increments once per attempt, after the backoff delay has elapsed and immediately before the reconnect is tried. The backoff is exponential, two to the power of the attempt number in seconds, plus up to a second of jitter. Five attempts is the ceiling rather than a fixed sequence, and an incident can finish well short of it.</p><p>That gives the counter a shape worth recognising. An incident resolved on the first try adds one. An incident that runs the whole ladder adds five at widening intervals, about a minute end to end, after which the connector stops trying and reports the venue as failed rather than retrying into the evening.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c4X7NFPHPsR3aNOD17tEUQ.png" /></figure><p>The practical consequence is a timing one, and it is about motion rather than any absolute reading, because the tile carries a running total for the day. A count still climbing tells you a session is being fought for right now. A count that has gone still, with the feed still quiet, tells you that fight is over and the connector is waiting for you. Read it twice about a minute apart, because that is roughly how long the whole ladder takes.</p><h3>What each counter is for</h3><p>A counter is only useful if a reading means something, so the two are kept to their own jobs rather than both collecting everything that goes wrong.</p><p>A clean shutdown is the clearest case. When a venue closes a session normally, that is reported as a disconnection rather than counted as a failure, because nothing about it is unexpected. An unexpected drop is the other case, and that is the one the reconnection counter records. Errors stay reserved for the things that genuinely could not be read or completed.</p><p>That separation is deliberate, and it is what makes a nonzero error worth acting on the moment it appears.</p><p>The effect is a counter you can act on rather than one that is merely complete.</p><p>Pointing the tile at a venue takes two fields, a provider and an aggregation. There is no symbol to choose, because both counters report venue wide.</p><h3>Make it a rule</h3><p>Everything above argues for the same conclusion: this pair belongs in your alerting, not on your attention. Both counters are published to VisualHFT’s trigger engine and appear in its rule picker, so the rules live in the application alongside the dashboard rather than in separate monitoring tooling.</p><p>Two cover it, and both are as simple as rules get, because on a healthy desk these counters have nothing to say:</p><ul><li>Reconnections greater than zero. A session is being re-established. If you did not just save that connector’s settings, something ended it.</li><li>Errors greater than zero. Correlate against the same venue’s feed card, and against the reconnection counter beside it. Errors moving together with reconnections is the live stream recovering. Errors moving on their own, with the rate healthy, points at a snapshot or subscription step rather than the stream. Errors while the feed is gapping points at the reconnect attempts themselves failing, which is the ladder running out.</li></ul><p>Each rule fires an in-app alert or posts to an endpoint you nominate, with a cooldown so a flapping condition does not flood whatever is on the other side. Write them for the same reason the tile is easy to forget: the failures they catch happen while nobody is looking at the screen.</p><h3>Where this lives</h3><p>Market Operational Ratios is one of the six plugins on VisualHFT’s Infrastructure Monitoring dashboard. It is bundled, included with a Core plan, and it ships in the installer. Both counters are raised from shared paths inside the connector base class, so every venue connector feeds them with no per venue setup.</p><p>The full write up, with every measurement defined, the settings and their accepted ranges, and the diagnostic playbook for each situation the dashboard was built around:</p><p><a href="https://visualhft.com/docs/operating/infrastructure-monitoring"><strong>Monitor your trading infrastructure</strong></a></p><p><em>Originally published at </em><a href="https://visualhft.com/blog/the-healthiest-tile-on-the-screen-is-the-one-doing-nothing"><em>https://visualhft.com</em></a><em> on September 7, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c4c48022f81" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Stale Feed Looks Exactly Like a Calm Market: Monitoring Trading Infrastructure in Real Time]]></title>
            <link>https://medium.com/@visualhft/a-stale-feed-looks-exactly-like-a-calm-market-monitoring-trading-infrastructure-in-real-time-e1429d8468ee?source=rss-719dda8f122a------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1429d8468ee</guid>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[trading-technology]]></category>
            <category><![CDATA[high-frequency-trading]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[market-microstructure]]></category>
            <dc:creator><![CDATA[VisualHFT]]></dc:creator>
            <pubDate>Tue, 25 Aug 2026 00:00:49 GMT</pubDate>
            <atom:updated>2026-08-26T00:35:53.745Z</atom:updated>
            <content:encoded><![CDATA[<p>A market-data feed that stops does not raise an error.</p><p>Every number downstream of it, your book, your signals, your risk, is computed from messages that arrived. When messages stop arriving, those numbers do not go wrong. They go <strong>stale</strong>, and a stale number looks exactly like a calm market. Nothing throws. Nothing turns red. The dashboard shows a quiet book, and quiet books are common.</p><p>That is the defining property of trading-infrastructure failure: it almost never announces itself as an infrastructure failure. It arrives disguised as a market observation, and the instinctive read is the wrong one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GsDIo1M2stXChqRk.gif" /></figure><p><em>Six monitoring plugins on one screen, live: feed health per watched pair, network path quality, host counters, and the exchange-side latency and event counters.</em></p><h3>Four failures that wear a disguise</h3><p><strong>The quiet book that is not quiet.</strong> The feed slows and then stops. There is no exception to catch, because a socket that delivers nothing is not an error condition, it is just a socket delivering nothing. Meanwhile every study you run keeps computing on the last messages it received. If nobody is measuring inter-message silence, the first person to notice is usually the one asking why the last hour of fills does not match the book they were watching.</p><p><strong>The latency with two suspects.</strong> A venue starts looking slow. Feed rates sag, the book ages. The problem is that a venue publishing late and a network path degrading produce the same symptom on every consumer you have, and the two have completely different responses: one is a venue problem you report, the other is a network problem you fix. Without a measurement that separates them, the argument about which one it is takes longer than either fix.</p><p><strong>The book that is wrong rather than slow.</strong> A dropped delta, a frame applied out of order, a resync that never finished. The book in memory stops being a faithful picture of the venue, and everything computed from it is now confidently wrong rather than stale. The tell is momentary impossibility, a best bid above a best ask, and it is invisible unless something is counting exactly that.</p><p><strong>The overnight host failure.</strong> Memory creeping up, a disk quietly filling, a CPU pinned by something that is not you. These are slow, monotonic, and completely visible hours before they become an outage. They are also the failures most often diagnosed in the morning as “the venue was slow last night,” because host symptoms surface first as latency.</p><p>The common thread: in every case the infrastructure question and the market question share a symptom. The job of infrastructure monitoring on a trading desk is not to collect metrics. It is to <strong>separate those two questions fast</strong>.</p><h3>The useful split: which side of the wire</h3><p>The first triage question is not <em>what broke</em>. It is <em>which side of the wire did it break on</em>: the machines you run, or the venue connection you consume. Everything below follows from making that split measurable.</p><h3>Measure feed liveness against a learned baseline</h3><p>A raw message rate is not enough, because “normal” differs by venue, symbol, and hour. The useful signals are relative:</p><ul><li>A <strong>burst</strong> is the current one-second rate exceeding a multiple of a rolling baseline, an exponential moving average over a configurable window (60 seconds by default, multiplier 3.0). One detail matters more than it looks: the comparison runs against the <em>previous</em> average, before the current sample is folded in, so a single large tick cannot raise the baseline enough to hide itself.</li><li>A <strong>gap</strong> is inter-message silence exceeding a threshold (5 seconds by default). The higher-value signal is the warning at <em>half</em> that threshold: “approaching a gap” is the earliest moment you can tell a feed is slowing down, and it arrives before the gap does. That is the state worth alerting on.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lZT_3riACUFO7f_n.gif" /></figure><p>Watching feeds <strong>side by side</strong> is what makes the diagnosis fast. Every card runs on the same machine, the same link, the same process. When one venue gaps while its neighbours keep moving, you have already ruled out your host, your network, and your build. That elimination is the whole point of a fleet view.</p><h3>Measure the path itself, in percentiles of real probes</h3><p>When a venue looks slow, the second suspect is the route to it. The measurement that settles it is active probing of the hop that actually matters to you, your exchange gateway or your colocated box, with the arithmetic done carefully: every individual probe round trip goes into the rolling window, and P50, P95 and P99 are computed over those raw samples. A single bad round trip inside a cycle shows up in P99 instead of being averaged away before it is measured. Jitter is tracked as an RFC 3550 moving average, loss as the percentage of a cycle’s probes that never came back, and TCP retransmits are read from the far end of the link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*VIqQvKW7089VVfuu.gif" /></figure><p>The signature to learn: <strong>P99 rising while P50 holds flat</strong> is intermittent loss, not a route shift. Check packet loss and jitter before concluding the path got longer. And loss is usually a precursor rather than an event, which is why a rule on Packet Loss crossing 1% earns its keep.</p><h3>Measure latency on the venue’s clock</h3><p>Everything you decide is based on a book that was true a moment ago. Market-data latency is <em>how long ago</em>: the age of the book in front of you, measured against the venue’s <strong>own event timestamp</strong> carried in the stream, not against anything the receiving side measures about itself. Where a venue’s feed publishes no event timestamp, no market-latency figure is produced for it at all; nothing is fabricated from the local clock. And when no new sample arrives, the counter holds its last reading rather than spiking, so a briefly static figure means “no new sample”, not a stalled feed.</p><p>Two consequences are worth internalising. The figure includes the offset between your clock and the venue’s, so two venues that are genuinely equidistant can read differently, and a venue whose clock runs ahead of yours reads a flat 1µs. That flat reading means <em>clock skew</em>, not “instant”. Both effects point the same way: judge market latency as a <strong>trend against that venue’s own normal range</strong>, never as an absolute to compare across venues.</p><p>Read it alongside two companions and the ambiguity collapses. Market latency up while Ping and network P99 hold flat means the venue is publishing late, with nothing on your side to fix. All three up means your path degraded and the venue is probably fine. P99 up while P50 holds flat means intermittent loss, so check packet loss and jitter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*gG2knJnDVPGqkLEw.gif" /></figure><p>Ping deserves one caveat: it is an HTTPS round trip to the venue’s REST endpoint, a different path from the market-data socket. Ping steady while market latency climbs means the market-data side specifically is falling behind. That asymmetry is information.</p><h3>Measure what kind of messages, not just how many</h3><p>A healthy message rate can still carry a broken book. Splitting the stream by event type answers questions a raw rate cannot:</p><ul><li>Heavy adds and cancels with trades near zero is a market <strong>quoting at you rather than dealing with you</strong>.</li><li>Top-of-book changes collapsing while adds and cancels hold means the churn moved away from the touch.</li><li>A <strong>crossed book</strong>, best bid above best ask, is not a market condition you trade. On a single venue it means the book in memory is momentarily impossible: a dropped delta, an out-of-order frame, an unfinished resync. It is the one counter where any sustained reading at all is a correctness problem, which makes it the easiest alert you will ever write: greater than zero.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*llgrsaR3TYfZ0N9P.gif" /></figure><h3>Watch the host with the same glance</h3><p>The overnight failure is the cheapest one to prevent, precisely because it is slow. CPU, memory, disk, network, threads, IOPS and uptime per monitored server, Windows or Linux, local or remote, on the same screen as the feeds, means “is it the box?” gets ruled in or out in seconds instead of being the hypothesis you test last.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*EPUAMMmxQ3KUrKAH.gif" /></figure><p>The highest-value rule on a trading host is also the least glamorous: memory usage crossing 90%, disk usage crossing 90%, wired to whatever pages you. It is the only rule that fires while you are not watching, which is exactly when this class of failure happens.</p><h3>Alert on it, do not stare at it</h3><p>None of this works as a screen someone is supposed to keep looking at. Every measurement above needs to feed a rule engine: <em>when</em> a metric crosses a condition, <em>then</em> raise an alert or POST to an endpoint. Two features separate rules that page usefully from rules that cry wolf: a <strong>time window</strong>, so “above the line” becomes “above the line for ten seconds” and one bad probe cycle pages nobody, and a <strong>per-action cooldown</strong>, so a flapping condition does not flood the endpoint on the other side.</p><h3>This is what VisualHFT ships as one dashboard</h3><p>Everything above is a description of VisualHFT’s Infrastructure Monitoring dashboard: a built-in layout hosting six study plugins, included in the installer and unlocked by a Core plan. Nothing extra to buy, nothing extra to install. The six are Data Feeds Monitoring, Network Performance Monitoring, Performance Counters Remote Servers, Market Event Stats, Market Latencies Stats, and Market Operational Ratios.</p><p>Two of the six watch <strong>your</strong> machines; four watch <strong>the venue connection</strong>. That is the which-side-of-the-wire split, built into the layout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f3MGaxdccIuFHV_t.png" /></figure><p>Every metric the six plugins produce, feed gap durations, latency percentiles, host memory, crossed-book counts, is published to VisualHFT’s trigger engine, where a rule is a <em>when</em> (metric, operator, threshold, optional time window) and a <em>then</em> (in-app alert, or a REST POST whose body template substitutes placeholders — the rule name, condition, metric, value, threshold and timestamp — before it is sent). The starting rules we suggest for an infrastructure desk:</p><p>Gap Duration Sec crosses above 5 on your primary feed</p><p>Know the moment a feed goes quiet</p><p>Latency P99 above your critical threshold for 10 seconds</p><p>Path degradation, not a single bad probe</p><p>Packet Loss crosses above 1</p><p>Loss is a precursor, not an event</p><p>Memory Usage crosses above 90 on the trading host</p><p>The classic overnight failure</p><p>Recon greater than 0</p><p>A venue is dropping your session</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*ElL6olp5yNqPy84W.png" /></figure><p>One workflow this enables deserves its own mention: <strong>qualifying a venue before you route to it</strong>. Connect the venue, add its pairs to the feed monitor, point the counter groups at it, and watch fifteen minutes of active hours for five things: a feed card that holds healthy without touching zero, a stable market-latency spread, reconnections and errors that stay flat, a crossed-book counter that never reports, and a trade counter that is actually non-zero. A book with quotes and no prints is not a venue you have finished testing.</p><p>The full write-up lives in the documentation, with every measurement defined, the settings and their accepted ranges, per-venue coverage notes, and the diagnostic playbook for each of the situations above:</p><p><a href="https://visualhft.com/docs/operating/infrastructure-monitoring"><strong>Monitor your trading infrastructure</strong></a></p><p><em>Originally published at </em><a href="https://visualhft.com/blog/a-stale-feed-looks-exactly-like-a-calm-market-monitoring-trading-infrastructure-in-real-time"><em>https://visualhft.com</em></a><em> on August 25, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1429d8468ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>