What matters
A historical order book records displayed liquidity; a simulator must decide how its own fills consume that display. Two requests can appear individually fillable while exceeding a shared pool. This 2027 experiment compares reuse and tracked consumption with invented quantities, then separates that accounting question from queue priority and from evidence of genuinely fresh liquidity.
By Heath Muchena. 2027 research edition; pinned source review and original examples checked 28 November 2026. Documentation describes software capabilities; the calculations below do not run the reviewed projects or test a live account.
Historical data and simulated inventory serve different purposes
Imagine a recorded level offering ten units at a price of 100. A simulated request asks for eight units. Another request asks for eight before any new book information arrives. Each request is smaller than the displayed ten. Taken together, however, they ask for sixteen. A replay has to specify whether both consult the original display independently or share an available-size balance.
Changing the historical file to reflect a fictional fill would mix two kinds of evidence. The file describes the observed market; the fill belongs to the simulation. Keeping the historical record immutable is therefore compatible with maintaining a separate counter for size already consumed by simulated orders. The important issue is whether the simulator uses that counter when another eligible request arrives.
This article asks one narrow question: can repeated requests draw more than the stated pool before a modeled refresh? It does not ask which participant deserves the liquidity first, whether a quote was accessible at order arrival, or whether a trading signal is profitable. Those questions need additional state and evidence.
What the pinned NautilusTrader documentation says
The inspected fill-prices and matching documentation states that simulated fills do not decrement the historical book. With liquidity consumption enabled, the engine separately tracks original and consumed size at each level. Available quantity is the original size minus the consumed amount, and a fresh update at that level resets the tracked record to the new displayed size.
That documentation also distinguishes behavior for passive L1 fills and trade-driven fills. It explains that consumption tracking estimates available size rather than order priority. The fill-model documentation adds another boundary: synthetic books returned by a custom fill model do not receive the same per-level consumption tracking. A custom model must encode its own intended liquidity behavior.
These are findings about the pinned repository, whose version record identifies v2.0.0rc10. They are not a claim about every older release, every custom model or an installed production configuration. The calculator below does not run NautilusTrader or reproduce its full matching engine. It isolates a single bookkeeping choice that the documentation makes explicit.
The synthetic two-request experiment
Start with a single level of ten units at a price of 100 and two requests for eight units each. In the reuse case, each request independently sees a ten-unit display and receives eight. The total allocation is sixteen. In the tracked case, the first request receives eight and leaves two; the second receives two. Its remaining six units are unallocated in this experiment.
| Event | Reuse the displayed size | Track the shared pool |
|---|---|---|
| Initial display | 10 units | 10 available units |
| Request 1: 8 units | Allocate 8 | Allocate 8; leave 2 |
| Request 2: 8 units | Allocate 8 | Allocate 2; leave 0 |
| Total allocated | 16 | 10 |
| Unallocated request quantity | 0 | 6 |
The difference is six units of allocated quantity. At the invented level price of 100, its quote-value equivalent is 600. That number is not profit, an execution saving or a measured overstatement in any actual strategy. It is the price-times-quantity representation of the difference between two explicitly specified toy rules.
Each request receives one allocation attempt. The tool reports any remainder but does not keep it as a resting order, retry it after a later update, or assign it a queue position. This restriction matters when reading the refresh option. If an old remainder is supposed to remain active, a different experiment must model its lifecycle and its priority relative to subsequent requests.
What changes when a fresh display arrives?
The optional refresh inserts a new displayed quantity immediately after the first request. Set that new quantity to ten. The tracked case allocates eight on the first request, resets its available balance to the new ten-unit display, and allocates another eight on the second. Its total is now sixteen. The arithmetic is consistent with the chosen refresh rule because there are two separate allocation budgets.
That does not prove an additional ten units of economically independent liquidity arrived. A feed’s update semantics determine what a record means: a replacement snapshot, a size change, a correction or another kind of event. This small tool has no feed protocol and cannot infer those semantics. It merely lets the reader see the consequence of declaring a new budget.
The distinction is especially important when comparing data sources. Counting messages is not the same as counting new tradable units. A repeated display can be meaningful current state without representing replenishment that a simulated order could certainly capture. Preserve the provider’s documented event interpretation and the simulator’s update handling before drawing a stronger conclusion.
Availability is different from priority
A finite pool prevents one form of repeated allocation. It does not establish that an order was first in line. Other displayed orders may already be ahead at the same price, and hidden interest or venue rules may affect execution. A model that knows ten units are available still needs an assumption about which request receives them.
NautilusTrader’s queue-position documentation treats displayed quantity ahead as a separate mechanism. It describes tracking that quantity with book and trade data and exposes limitations about historical visibility. The companion queue-position experiment shows why two alternative queue positions can produce different fills under the same opposing flow.
Neither mechanism alone makes a historical replay identical to live execution. A quote might change before an order arrives. A historical trade proves activity at a particular moment, but the simulated strategy did not actually participate in that event. The purpose of these mechanisms is to make assumptions inspectable and constrain unrealistic allocations, rather than to turn historical records into guaranteed fills.
A useful question for a simulator review
Take a deliberately small sequence with one price level, two requests and no intervening update. Write down what the model should allocate before running it. Then inspect whether the implementation preserves historical data, tracks simulated consumption separately, and applies that state to both requests. A compact trace is easier to reason about than a large aggregate performance report.
Next add a clearly specified update and inspect the reset rule. If the outcome changes, explain why the new record restores availability. Finally, add the lifecycle behavior that the real strategy needs: resting remainders, cancellation, amendments or other eligible orders. Each addition should answer a defined question rather than merely produce a more complicated simulation.
The Trading Tool Lab helps organize software capabilities and their evidence boundaries. A DN Research Desk workflow comparison can use small, published cases like these to establish what a chosen configuration does. It should identify the tested version and model, retain event traces and separate local observations from claims found only in documentation.
Method and limitations
The evidence executes an original deterministic allocator. Inputs are one price, one initial size, a bounded list of nonnegative requested quantities and an optional replacement display after the first request. Independent checks verify sixteen versus ten units, the six-unit difference, its 600 quote-value equivalent, the refreshed sixteen-unit case, a zero-sized pool and invalid list entries.
No market data, exchange, model provider, order account or upstream backtesting engine is contacted. There is no random sampling. The example excludes multiple prices, slippage, fees, order arrival latency, hidden liquidity, queue priority and reallocation of previous remainders. Its quantity results describe only the modeled requests and updates.
The practical takeaway is an accounting requirement: when several simulated orders draw from one recorded display, identify the rule that prevents or permits reuse. Then document what makes a later display fresh for that rule. Those two answers make a replay’s fill claims much easier to evaluate.
Download the dated source and scenario record (JSON) · Download the reproducible calculation pack (ZIP).
Frequently asked questions
Does this experiment run NautilusTrader?
No. It is an original single-level allocator. The article separately cites the pinned project documentation.
Is the six-unit difference a profit estimate?
No. It is a difference in allocated quantity. Multiplying by the invented price produces a quote-value equivalent, not profit.
Does a new snapshot prove fresh economic liquidity arrived?
No. Its meaning depends on the data feed and update semantics. The refresh option only applies an explicitly declared replacement budget.
Does consumption tracking model queue priority?
No. Tracking remaining size and deciding which order is entitled to that size are separate questions.
What happens to an unallocated remainder in this tool?
It is reported and then left unmodeled. Each request receives one attempt; the tool does not keep, retry or cancel a resting remainder.
Primary sources and evidence
- NautilusTrader fill prices and matching. Immutable historical book, separate consumption accounting, fresh-update resets and distinction from priority. Checked 2026-11-28.
- NautilusTrader fill models. Consumption behavior has a separate boundary for synthetic custom-model books. Checked 2026-11-28.
- NautilusTrader trade execution and queues. Queue-position tracking is separate from available-size accounting. Checked 2026-11-28.
- NautilusTrader version record. The inspected development source identifies v2.0.0rc10. Checked 2026-11-28.
Editorial disclosure: This research explains documented capabilities and original worked examples. Inclusion does not imply endorsement, a commercial relationship or verified trading performance. No placement in this article was purchased.
Corrections and updates: Send source-backed corrections to press@decentralised.news. This 2027 edition was checked on 28 November 2026; documentation, permissions and product availability can change.




