Skip to content
Back to journal
Order flow · 7 min read · 1,287 words

How FutPrint builds footprint and delta from market data

What arrives from the feed each second, how each second's volume is booked as buying or selling, what one-second snapshots cannot show, and how to read footprint and delta with that in mind.

FutPrint by TrueData · Published
8 chaptersWorked examplesPractical study exercises
FutPrint footprint chart of NIFTY futures on 5-minute bars, with the volume classed as selling to the left of each price and the volume classed as buying to the right

What arrives each second

FutPrint's market data comes from TrueData. For each instrument, the feed delivers a snapshot of the market once a second. A snapshot carries:

  • the last traded price in that second
  • the quantity traded during that second
  • the best bid and the best ask, each with its quantity
  • for futures and options, the open interest, repeated on each snapshot in which the contract trades

A second in which nothing trades sends no snapshot. A quiet stretch therefore appears as missing seconds, not as seconds with zero volume.

Now and then more than one row arrives for the same second. FutPrint treats the second as one unit and books all of its volume at the price of its last row, where the second ended.

The footprint, each bar's delta and the CVD indicator, part of FutPrint's order flow tools, are built from these snapshots.

How a second is booked as buying or selling

The snapshot does not say which side started a trade. FutPrint infers a side for each second by comparing that second's price with the previous snapshot of the same instrument on the same day:

  • Higher than the previous snapshot: the second's volume is booked as buying.
  • Lower: it is booked as selling.
  • Unchanged: the second takes the side of the second before it.
  • The day's opening snapshot has nothing before it to compare with, and is booked as buying.

Two things follow. A second's whole volume goes to one side; it is never split between buying and selling, even if trades within it went both ways. And it is placed at one price, the one where the second ended, even if it traded across several prices.

The buy and sell split is an inference from price movement. It is not a flag from the exchange recording which side started a trade.

Delta is the volume booked as buying minus the volume booked as selling. A footprint row's delta covers the seconds booked at that row's prices, a bar's delta adds up its rows, and cumulative delta carries the bar figures forward from bar to bar.

One exception in method: 15- and 30-second bars built from stored history take the side from the best bid and ask where the quote decides it, and otherwise fall back to the price move, then to the previous side. The interval guide describes those bars.

Worked example: six seconds in one bar

Illustrative table of six one-second snapshots booked into a footprint: rises are booked as buying, falls as selling, unchanged prices repeat the previous side, and a second with no trade sends no snapshot, giving 400 bought, 360 sold and a delta of plus 40
Illustrative numbers, not market data. Six seconds of one bar, booked by the rule above.

The figure follows a bar from its opening second; the second before it ended at 250.00 and was booked as selling. At 10:15:00 the price is higher, 250.05, so its 120 are booked as buying. At 10:15:01 the price has not moved, so its 80 repeat the side: buying. At 10:15:02 the price falls to 250.00 and its 300 are booked as selling, and the unchanged 10:15:03 adds 60 more selling. Nothing trades at 10:15:04, so no snapshot arrives. At 10:15:05 the price rises to 250.10 and its 200 are booked as buying.

After those seconds the bar holds 200 bought at 250.10, 200 bought at 250.05 and 360 sold at 250.00. Its delta is 400 − 360 = +40.

Now consider what the snapshots could not see. Some of the 300 at 10:15:02 may have traded at 250.05, started by buyers, before the price ended the second lower. The footprint shows all 300 sold at 250.00. The 80 at 10:15:01 count as buying because the price did not move, whichever side started those trades.

What one-second snapshots cannot show

  • Individual trades: how many there were in a second, their sizes, and the prices they traded at between snapshots.
  • Which side started any particular trade.
  • Who traded, or why.
  • Quantities waiting at prices beyond the best bid and ask, and orders added or withdrawn.
  • How a second's volume was spread across prices when it traded through several.

For the same reason, the Trades figure in Bar Statistics and the Data Inspector counts seconds that carried volume, not executions.

Why delta is an estimate

Delta assumes that each second's volume belonged to one side, decided by the direction its price moved. Real seconds are mixed. In an active contract, buyers and sellers can both start trades within the same second, and the rule assigns all of it to whichever way the price ended.

Unchanged seconds add a second source of error. While the price sits at one level, every second there inherits the side of the last move, however the trades in those seconds went. A long pause at one price can build a large one-sided figure in a single row.

These errors can offset one another across a bar, or accumulate. Treat delta here as an estimate of net pressure, measured through price movement and weighted by volume. It is not independent of price: a bar that rose through many up-moves will tend to show positive delta. What delta adds is volume, comparing how much traded in the seconds booked as buying (the up-moves and the unchanged seconds after them) with how much traded in those booked as selling.

How this differs from an exchange tick-by-tick feed

An exchange tick-by-tick feed reports individual events as they happen: trades, each with its own price, quantity and time and, in fuller forms, the orders placed, changed and cancelled. From a stream like that, a single trade can be classified on its own against the bid and ask in force at that moment, and several trades within one second keep their separate prices. Some feeds also state which side started a given trade.

FutPrint's footprints are built from the one-second snapshots described above, not from an exchange tick-by-tick feed. A snapshot summarises its second: where the price ended, how much traded and the best quote at that point. Classification therefore works on the second as a whole rather than on the trades inside it. The difference is one of resolution, and it sets what such a footprint can claim.

Reading footprints with this in mind

  • Read a footprint row as the volume of the seconds that ended at that row's prices. In a fast market, where one second can cross several prices, a larger row size makes the picture depend less on exactly where each second ended. The footprint settings guide covers row sizes.
  • Give more weight to patterns that rest on many seconds, across several rows and bars, than to a single cell.
  • Check long stretches at one price. Their side is inherited from the last move, so a lopsided row there may reflect the rule as much as the trading.
  • Remember that the day's opening snapshot is booked as buying by default.
  • Compare like with like. Within one instrument and one set of settings the rule is applied the same way every second. A delta from another platform or feed can differ, because its inputs and rules differ.
  • Read delta beside price rather than as a separate witness. How to read a footprint chart works through this, and Absorption and imbalance shows why a highlighted cell needs context.

A check you can make yourself

During market hours, on a plan with real-time data (see pricing), open Time & Sales beside a chart of a liquid future. Each row shows a time, a price, a quantity and a side. Compare each second's price with the second before it: a rise reads as buy, a fall as sell, and an unchanged price repeats the previous side. Find a run of seconds at one price and note that they all carry the side of the move that led into it.

Then find the footprint rows where those seconds landed. Read that way, the numbers are what they are: a careful summary of each second, not a record of the trades inside it.

Next step

Open the guide for the tool this article is about, then try it on your own charts. The free trial is seven days of the Max plan, with no card.

Your next perspective starts here

Make the market
your workspace.

Data timing, coverage and tools vary by plan.