Problem bank
Problem 298 of 333MediumStochastic ProcessesP298
Orders resting at the bid
On a thin venue, the number of orders queued at the best bid is always between 0 and 4. Each tick, with probability a new order joins the queue (unless it already holds 4), with probability one order leaves because it fills or is cancelled (unless the queue is empty), and otherwise nothing changes.
In the long run, what fraction of ticks does the queue spend empty, and what is its average length? Starting from an empty queue, how many ticks does it take on average until the queue is next seen empty? A tick on which it simply stays empty counts as a return.
See the hint and solution with a free account
Every problem on Quant Engine is free, with a hint and a full worked solution. Making an account takes 30 seconds and no card. Then you can see them and track what you have solved.