What Matters: A paper fill is evidence about a simulator, not proof that a real queue would have allocated the same quantity. Alpaca documents specific omissions and fill rules. DN’s independent synthetic example allocates only 40 units to a 100-unit order behind 80 units when 120 units of qualifying flow arrive. Read the fill assumptions before interpreting a simulated result.
A strategy can appear disciplined because it uses limit orders and records every response. Yet a limit price answers only one execution question: the acceptable price. It does not identify the quantity ahead, the liquidity available when the order arrives or how much competing demand will trade first. Those missing details can change exposure without changing the signal.
The useful distinction is between testing an application’s order workflow and estimating the fills that a venue would allocate. A paper account can help with the first while using simplified rules for the second. A transparent review preserves both statements. It does not dismiss paper testing, and it does not promote a successful simulation into evidence of live execution quality.
What the source actually establishes
DN Evidence Block — checked 28 November 2026; author: Heath Muchena. DN reviewed Alpaca’s official paper-trading documentation and ran an original deterministic queue calculation. No Alpaca account, API request, connector or matching engine was used. The 2027 edition identifies the review date rather than implying future simulator behaviour has been observed.
The paper-trading specification excludes queue position for non-marketable limits, market impact and latency slippage from its modelled effects. Its rules describe marketability-based eligibility, quantities not capped by displayed NBBO size, and randomly sized partial fills on 10% of eligible occasions, followed by reassessment of a still-marketable remainder. These are documented simulator conventions, not measurements made by DN.
That combination matters. A partial fill appearing in a paper log does not show that the simulator reconstructed a real queue. Random partial allocation and order priority are different mechanisms. Equally, an uncapped displayed-size rule does not mean every submitted order fills instantly: price eligibility remains a separate condition. Keep the two parts of the specification together.
A reference fill and a queue are different models
Our tool compares an assumed complete fill with a deliberately simple first-in, first-out queue. The complete-fill case is a teaching reference. It is not a reproduction of Alpaca’s random partial-fill process or a prediction of a particular paper order. The queue case is another assumption, not a reconstruction of an exchange.
Use one fictional price and compatible base-unit quantities. The order requests 100 units. At acceptance, 80 units are ahead. Subsequent aggressive flow appropriate for this side and price totals 120 units. Assume no cancellations, hidden orders, price changes or new priority ahead. The first 80 units of flow clear the earlier quantity; the remaining 40 can reach our order.
| Quantity | Base units | Meaning |
|---|---|---|
| Requested order | 100 | Maximum our order can receive |
| Quantity ahead | 80 | Flow consumed before our order |
| Qualifying flow | 120 | Assumed appropriate trades at this level |
| Queue allocation | 40 | 120 − 80, capped at the requested 100 |
| Unfilled remainder | 60 | Requested quantity minus allocated quantity |
The rule is min(requested quantity, max(0, flow minus quantity ahead)). The maximum prevents negative fills before the queue clears. The minimum prevents allocation beyond the instruction. With exactly 80 units of flow, the earlier quantity clears but our order receives zero. With 180 units, it can receive all 100. These boundaries are as informative as the default case.
Use the assumption explorer
Change one input at a time. Increasing quantity ahead while keeping the order and flow fixed reduces or preserves the allocation; it cannot improve it in this model. Increasing qualifying flow can improve allocation only until the order is complete. Increasing requested quantity does not create additional flow. The displayed unfilled amount makes that constraint visible.
The tool reports units rather than a trading score. It has no price, return or probability estimate. A difference of 60 filled units is an exposure difference, not a 60-unit loss or an estimate of simulator bias. Whether extra inventory helps or hurts depends on later prices, funding, fees and the purpose of the order, none of which this narrow calculation supplies.
What a successful paper exercise can still show
A paper workflow can be useful for checking whether an application forms a valid instruction, interprets an acknowledgement, stores identifiers and responds to subsequent state changes. A test can also expose gaps in the application’s own logs. Those are worthwhile outcomes even when the simulator intentionally simplifies execution.
Define the acceptance condition before running such a test. “The order eventually shows filled” is weaker than “the application reconciles the requested quantity, unique executions and terminal remainder.” The latter specifies which records should agree. It also allows a useful failure report when data is missing, instead of forcing every test into a pass/fail headline based on the final status alone.
| Question | Useful evidence | What remains separate |
|---|---|---|
| Did the application handle a response? | Captured request, response and local state | Real queue allocation |
| Did every recorded fill reconcile? | Unique fill identifiers and quantity ledger | Whether the simulator modelled available liquidity |
| Would this size fill in a real queue? | Appropriate historical priority and flow evidence, with assumptions | How the market would react to the additional order |
| Does the strategy have a trading edge? | A separately specified performance evaluation | Future profitability |
Why random partial fills do not establish queue realism
A probability rule can make application testing less trivial. It can require code to handle several execution messages instead of assuming one complete fill. But a random size does not identify which earlier orders consumed liquidity or why a particular remaining quantity became available. The mechanism behind the partial fill determines the claim it can support.
Conversely, our deterministic queue is not automatically realistic because its arithmetic is explicit. Its initial quantity ahead is supplied rather than observed. Its flow is assumed correctly directed. It does not model cancellations, order amendments or the way an aggregate book update should change an estimate. Exact arithmetic over uncertain inputs remains a conditional result.
The distinction is especially important when comparing two screenshots. Different fill rules can produce different inventories, and inventory differences can change every later result. Without the settings and event records, it is impossible to attribute the gap solely to strategy logic. The simulator name alone does not define the experiment.
Keep the data and order context together
Record the instrument, quantity unit, intended side, order type, submission time and price eligibility. Then record the model’s treatment of displayed size, priority, partial allocation and subsequent updates. A queue estimate attached to the wrong side or instrument is not rescued by a correct formula.
A resting buy normally needs suitable selling flow to reach it in this simplified picture. Total market volume across all prices is not an interchangeable input. Nor is the best displayed quantity automatically the amount ahead of an already resting order. The example assumes the necessary identity and timing because it is teaching one relationship; a real reconstruction must establish them.
Also preserve the observation horizon. Sixty units unfilled at the end of our supplied flow might fill later, remain open or be canceled. The calculator cannot choose among those possibilities. Extending the horizon changes the information set, and should be reported as another scenario rather than silently repairing the original result.
A practical review sequence
Start with the outcome the paper test is meant to establish. Read the simulator’s current rules and identify which execution effects it omits. Retain a small event log that can be reconciled independently. Only then compare the observed output with the acceptance condition. Where an omitted effect matters, add a clearly labelled sensitivity exercise or gather the relevant evidence.
There is no need to fund an account merely to understand this distinction. The original explorer runs from supplied numbers. More elaborate infrastructure becomes justified when the research question needs capabilities the small model does not have, not because a decorative dashboard would make the same arithmetic look more sophisticated.
A fill ratio is not a fill probability
The default queue allocates 40% of the request. That fraction describes one authored event sequence; it is not a 40% probability that a future order fills. Repeating the deterministic example a thousand times would return the same number without adding market evidence. To estimate a frequency from observations, a study would need a defined sample of eligible orders, consistent horizons and a treatment of unfilled outcomes. Preserve that denominator before comparing fill statistics across systems.
Methodology and limits
DN reran six checks covering the 40-unit allocation, exact queue clearance, sufficient flow for a complete order, a zero request and invalid inputs. The expected quantities were calculated directly from the stated rule. There is no random seed because the model has no random draw, and no observed market sample is represented.
Refresh the source record when simulator rules change. Use the DN Trading Tool Lab for related execution exercises and the Research Desk to frame a bounded comparison. The useful conclusion here is an explicit assumption ledger, not a forecast of which real orders will fill.
Download the dated source and scenario record (JSON) · Download the reproducible calculation pack (ZIP).
Frequently asked questions
Does this tool reproduce Alpaca fills?
No. The complete-fill reference and FIFO queue are independently authored teaching assumptions.
Why does a 100-unit order receive 40 units?
In the default synthetic case, 120 units of qualifying flow first consume the 80 units ahead, leaving 40.
Does a partial fill prove queue realism?
No. A random partial-fill rule and a reconstruction of order priority are different mechanisms.
Does a higher fill quantity mean higher profit?
No. It changes exposure; the later price path and costs determine its economic effect.
Primary sources and evidence
- Alpaca paper-trading rules. Documented omissions, marketability, displayed-size treatment and random partial fills. 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.




