Market microstructure: bid, ask and slippage
Understanding the execution price is essential when evaluating short-horizon strategies.
Bid and ask
The best bid is the highest displayed buy price and best ask the lowest displayed sell price. Their difference is the quoted spread. Depth refers to available quantities at price levels. Quotes can change between observing and submitting an order.
Worked example
A fictional book has a bid of 99.90 and ask of 100.10. A buy at 100.10 followed immediately by a sale at 99.90 loses 0.20 per unit before explicit fees, even if midpoint remains 100. Larger orders may consume multiple levels.
Market and limit orders
Market orders prioritize execution rather than a fixed price, subject to market rules. Limit orders constrain price but may not fill. Queue position, latency, market impact and partial fills affect outcomes.
Backtest application
Use executable bid/ask where available and account for order size. Do not assume every candle touch fills a limit order. If only OHLC is available, explicitly model uncertainty and stress costs.
Further study
SEBI investor education · NSE official website · TradeViora Academy resources
Original educational guide; independent review pending.
