Probability a Queued Bid Fills Before a Deadline
Last updated: November 29, 2026
Quick Overview
Your bid rests at the best price with 4 shares queued ahead of you; marketable sell orders of 1 share each arrive as a Poisson process at 3 per second and nothing cancels. What is the probability your 1-share order fills within 2 seconds, and what is the expected wait?
Virtu Financial
November 29, 20260
0
0 solved
Your bid rests at the best price with 4 shares queued ahead of you; marketable sell orders of 1 share each arrive as a Poisson process at 3 per second and nothing cancels. What is the probability your 1-share order fills within 2 seconds, and what is the expected wait?
Queue position drives fill probability for a market maker that earns the spread by resting passive orders, so Virtu quant screens like simple queue models. The interviewer checks that you translate the setup into a Poisson count, compute it cleanly, and state the model's limitations.
What the Interviewer Expects
- Recognize that the fill happens at the 5th arrival
- Write P(fill by t) = P(N(t) >= 5) with N(t) ~ Poisson(6)
- Compute the number to two or three decimals
- Use the Gamma (Erlang) distribution for the expected waiting time
- Name what the model ignores: cancels ahead of you, larger sizes, price moves
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- How do cancels ahead of you in the queue change the answer?
- What if sell order sizes are geometric instead of always 1?
- How would you estimate the arrival rate from data, and how does intraday seasonality matter?
- What does a fill tell you about where the price is likely to go next?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Orders ahead of us are filled first (price-time priority), each arrival consumes exactly one share, nobody cancels, and the price does not move away during the 2 seconds. We need the 5th arrival to ha...
Approach
Arrivals in time t follow with . We fill by t exactly when . The waiting time to the 5th arrival is a sum of five independent Exp(3) ga...