APPLIED STUDY · ORIGINAL LESSON
Learning plan and prerequisites
Before you begin: Understand limit orders, time priority and trade quantity at a price.
- Separate a price touch from evidence of a passive order fill
- Track queue-ahead quantity under a toy priority rule
- Bound outcomes when only OHLC is available
Mechanism and interpretation
A demand-zone touch often motivates a resting buy limit, but a candle low at the limit does not prove the order filled. Other buyers may stand ahead at the same price, the order may arrive after the relevant trades, or the observed print may belong to another venue. A fill model needs order arrival, priority and eligible execution volume, not just geometric contact.
Under a simplified price-time queue, track quantity ahead of the order. Executions against that queue reduce ahead quantity before reaching the new order. Cancellations ahead may also improve position, but aggregate depth reductions do not reveal whose orders canceled unless suitable data exist. State whether hidden orders or replenishment are included. The toy model is an illustration, not a universal venue algorithm.
When only OHLC data exist, report a touch-based optimistic fill assumption separately from a stricter penetration or next-event assumption. These are sensitivity scenarios, not direct observations of the user's order. A strategy whose apparent edge disappears under modest fill uncertainty needs that limitation clearly visible.
Worked case — synthetic data
A synthetic 100-unit buy limit sits at a demand edge 50.00 behind 300 displayed units. Subsequent sell executions at 50.00 total 250 with no cancellations ahead. The order receives no fill, despite the price touching 50.00. Another 100 executes:the first 50 clears the remaining queue ahead and the next 50 fills half the order. Total own fill is 50, not 100.
If a market-data bar reports low 50.00 and total volume 1000, it still does not disclose how much volume traded at 50.00 or when this order arrived. The bar alone cannot reproduce the queue calculation.
Context and failure modes
Real matching may use pro-rata or other allocation rules. Queue position can change through modifications and reserve refreshes. A trade below a buy limit may support stronger fill evidence under some assumptions, but feeds, latency and venue scope still matter. Never treat an unverified passive fill as guaranteed merely to complete a hypothetical chart example.
Practice task
A buy 80 at 100 has 120 ahead. Eligible sell volume 100 arrives, then 50, with no other changes. Calculate ahead quantity and own fill after each event. If the first 100 occurred before the order arrived, what must be reconsidered?
Worked practice answer
After 100, ahead falls to 20 and own fill remains 0. The next 50 clears 20 and fills 30 of the 80, leaving 50. If the earlier 100 occurred before arrival, it cannot be used to advance this order's queue position; the arrival book and subsequent events must be reconstructed. A final price chart cannot repair the missing ordering information.