Quant Memo
Market Making/●●●●●

How many shares can you buy under an average-price cap?

Asked at Flow Traders

The offer side of the book looks like this:

SidePriceSize
Ask20.0020.00500500
Ask20.0120.01500500
Ask20.0320.0310001000

You are willing to buy as many shares as possible, but only if your average price is at or below 20.0120.01.

What is the largest quantity you can buy, and what average price do you pay?

Show a hint

Fill the cheap levels first, then figure out how many shares from the expensive level you can add before the blended average crosses your cap.

Your answer

This one is open-ended. Work it through, then check your reasoning against the full solution.

More Market Making questions