Polashi
All guides
Prices and liquidity1 min read

Filling a limit order across two ask levels

Calculate how a buy limit interacts with a higher second ask level.

Record the quotes and available size

A hypothetical 51¢ limit for 30 shares can match eight shares at 46¢ and the next 22 at 51¢. Both levels are within the stated price limit.

The hypothetical order book has a best bid of 44¢ and offers 8 shares at 46¢, followed by 22 at 51¢. The top-of-book spread is 2¢. Consider a position requiring all 30 shares.

Calculate the weighted fill

The first level costs $3.68 and the second costs $11.22. Total cost before fees is $14.90, or an average of 49.67¢ per share. With a hypothetical $0.15 total fee, the average becomes 50.17¢.

Weight each price by the quantity filled there. The best ask describes only the first level. An actual fill can also differ from this example if new orders arrive or available orders are canceled.

From best quote to all-in averageIllustrative YES order book for 30 shares. Average prices assume both ask levels are available when the order fills.
Best bid
44¢
Best ask
46¢
Average before fees
49.67¢
Average with fees
50.17¢

Recheck the conditions

Record each level's filled quantity and average fill. If either level moves above the limit, leave those shares unfilled and price the remainder as a separate scenario.

For a standard $1 binary payout held to settlement, an all-in cost of 50.17¢ per share implies a break-even YES probability of about 50.17%. Keep the timestamp, quantity, and fee assumptions with the estimate so it can be recomputed if any of them change.