Introduction
An automated trading strategy identifies a buying opportunity at ₹100. The conditions match its predefined rules, and it sends an order. However, the trade executes at ₹100.40. The strategy followed its instructions, yet the buying price differs from the price that generated the signal.
This difference is known as slippage. It is an important part of understanding how automated trading works in real market conditions.
Slippage in algo trading can affect entry prices, exit prices, and the overall cost of executing a strategy. It helps explain why live trading results may differ from a backtest, even when the underlying trading rules remain unchanged.
For traders exploring Bull8, understanding slippage provides a more practical way to evaluate automated execution. A trading signal establishes when a strategy wants to act. The market determines which prices and quantities are available when its order arrives.
Slippage is the difference between a clearly defined reference price and the actual execution price of a trade. The reference might be the price when a signal appeared, the best available quote when an order was submitted, or another benchmark used consistently for analysis.
Suppose an automated strategy generates a buy signal when a stock trades at ₹250. By the time the order reaches the exchange, the available selling price has moved to ₹250.30. If the order executes there, the buyer experiences ₹0.30 per share of unfavourable slippage relative to the signal price.
However, the reference price needs careful attention. A chart usually displays completed trades. Its last traded price does not guarantee that another buyer or seller can transact at that price.
A stock may show a last traded price of ₹250, while the lowest available selling quote is ₹250.20. A new market buy order interacts with available sellers. It does not automatically execute at the price shown on the chart.
Slippage can work in either direction. Unfavourable slippage makes execution worse than the chosen reference, while favourable slippage improves it.
| Trade direction | Reference price | Execution price | Outcome |
| Buy | ₹100 | ₹100.40 | Unfavourable by ₹0.40 |
| Buy | ₹100 | ₹99.80 | Favourable by ₹0.20 |
| Sell | ₹100 | ₹99.60 | Unfavourable by ₹0.40 |
| Sell | ₹100 | ₹100.20 | Favourable by ₹0.20 |
For a buyer, paying more is unfavourable. For a seller, receiving less is unfavourable. This distinction matters when calculating execution costs across entries, exits and different trading directions.
Favourable execution is possible, but traders should avoid assuming that it will consistently offset unfavourable execution.
Several market and technology factors explain why these differences occur.
Prices can change between signal generation and order execution. An automated strategy still needs to receive data, evaluate conditions, create an order and transmit it through the relevant systems. During this interval, other participants may trade at the prices the strategy originally observed.
Liquidity also matters. It describes the availability of buyers and sellers, including the quantity available at different prices. An instrument may trade regularly while offering a limited quantity at its best quote.
Consider a hypothetical market buy order for 300 shares:
| Available selling quantity | Selling price |
| 100 shares | ₹100.00 |
| 100 shares | ₹100.10 |
| 100 shares | ₹100.30 |
If these quantities remain available when the order arrives, its average execution price would be approximately ₹100.13. Only part of the order fills at ₹100, even though that was initially the lowest selling quote.
This illustrates why order size must be considered alongside market depth. Increasing quantity can change execution costs because the order may need to access additional price levels.
The bid-ask spread creates another difference between observed prices and executable prices. The bid is the highest available buying quote, while the ask is the lowest available selling quote. An immediately executable buy generally interacts with the ask; an immediately executable sell generally interacts with the bid.
Latency adds further uncertainty. Delays can arise in market data delivery, strategy processing, network transmission, broker checks and order routing. Faster processing can reduce some delay-related exposure, but it cannot create liquidity or guarantee a particular price.
To measure slippage meaningfully, use a consistent reference and account for trade direction.
For a buy order:
Adverse slippage per unit = Average execution price − Reference price
For a sell order:
Adverse slippage per unit = Reference price − Average execution price
Under these formulas, a positive result represents unfavourable slippage. A negative result represents favourable execution.
Suppose a strategy plans to buy 100 shares using a ₹100 reference price, but the average fill is ₹100.40.
The adverse slippage is ₹0.40 per share, or ₹40 across the order. Expressed as a percentage of the reference price, it equals:
₹0.40 ÷ ₹100 × 100 = 0.40%
This amount excludes broking, taxes and other charges.
When an order fills through multiple trades, calculate its quantity-weighted average execution price. A simple average of fill prices can be misleading if the quantities differ.
Order type influences how a strategy balances price control and execution urgency.
A market order seeks execution against available opposite-side orders. Its final price depends on available liquidity and market conditions. It may fill across several prices, and execution remains subject to market availability, trading restrictions and applicable controls.
A limit order specifies the maximum price a buyer will pay or the minimum price a seller will accept. A buy limit order at ₹100 cannot execute above ₹100. However, it may remain unfilled or fill only partially.
Importantly, a limit order can still show slippage relative to an earlier signal price. If the signal appeared at ₹99.80 and a buy limit order subsequently filled at ₹100, execution stayed within the limit while differing from the signal.
Stop-loss execution requires similar care. A trigger price activates an order according to its conditions; it does not necessarily establish the final execution price.
Where supported, a stop-market order becomes a market order after triggering. A stop-limit order becomes a limit order. The former faces uncertainty over execution price, while the latter can remain unfilled if the market moves beyond its limit. Availability varies by instrument and broker.
Slippage in options trading deserves particular attention because liquidity can differ considerably between contracts on the same underlying asset.
One strike may have active quotes and substantial available quantity, while another may show a wider spread and limited depth. Liquidity can also differ across expiries and change during the trading session.
For multi-leg strategies, each leg has its own execution conditions. A displayed combined premium may therefore differ from the premium achieved across actual fills.
For example, an options spread might involve buying one contract and selling another. If the purchase executes first while the sale remains pending, the position temporarily differs from the intended completed spread.
Adverse execution on several legs can accumulate. Traders should assess the completed position, the cost of each leg and any exposure created while execution remains incomplete.
This is also why slippage belongs in performance analysis. An entry that costs slightly more and an exit that receives slightly less can reduce the outcome of a completed trade. Across repeated trades, these differences can become material.
Backtesting needs to represent these conditions as realistically as the available data allows.
A backtest evaluates trading rules using historical information. However, a historical candle does not fully describe the prices and quantities that would have been available for a particular order.
For example, a candle may touch ₹100 without establishing that the entire simulated order could have filled there. Other participants may have been ahead in the queue, or the available quantity may have been insufficient.
A backtest may overstate execution quality when it assumes:
- Every signal receives an immediate, complete fill.
- The candle close is always available as an execution price.
- Order size has no effect on average fill price.
- Stop-loss orders always execute at their trigger prices.
- Transaction costs remain negligible.
Slippage assumptions should also reflect the strategy. An approach that trades frequently or targets small price movements can be especially sensitive to execution costs.
Instead of treating one fixed percentage as universally appropriate, test a range of assumptions. Compare ordinary conditions with wider spreads, reduced liquidity and larger price differences. Where possible, use observations from actual fills to improve those assumptions.
Paper trading can help assess workflows and strategy behaviour, but simulated fills do not necessarily reproduce exchange queues, available liquidity or real market impact.
Managing slippage begins with understanding these trade-offs. No single setting removes every execution risk.
Checking spreads and available depth can help traders assess whether an intended quantity is reasonable for current conditions. High trading volume alone does not establish that sufficient quantity exists at the desired price.
Order selection should reflect the strategy’s priorities. A tight limit provides price protection but can increase missed or incomplete trades. A more aggressive order may improve the chance of execution while accepting a less favourable price.
Splitting a large order into smaller orders may reduce immediate pressure on available liquidity in some circumstances. However, it also introduces timing risk, additional processing and the possibility that prices move before the remaining quantity executes.
Strategies also need clear instructions for partial fills. If only part of an entry completes, the exit logic should correspond to the quantity actually held. Multi-leg strategies need particular attention because incomplete execution can change their exposure.
Volatile periods require realistic expectations. Market openings, major announcements and other rapidly changing conditions can produce significant movements between observation and execution. Any decision to restrict trading during such periods should be evaluated against the strategy’s objectives and historical behaviour.
Measurement then turns these observations into useful evidence.
A practical execution review should record the instrument, trade direction, quantity, reference price, order type, relevant timestamps and average fill price. Where available, contemporaneous bid-ask quotes provide additional context.
Keep brokerage and statutory charges separate from slippage. Also avoid counting the same execution cost twice: a slippage measure based on a midpoint reference may already include the effect of crossing the spread.
Review patterns rather than judging a platform from one unusual fill. Consistently poor execution in a particular contract, time window or order size deserves further investigation.
For Bull8 users, this understanding should form part of reviewing a strategy before activation. Examine its entry and exit rules, intended position size, supported order types and behaviour when execution is incomplete.
Check which order records, execution details and risk controls are available for the selected strategy and connected broker. Ask how pending orders and partial fills affect subsequent actions.
Automation can help apply predefined instructions consistently. Actual execution continues to depend on market conditions and the systems involved.
Some common questions bring these points together.
Can slippage happen even when an algo operates quickly? Yes. Speed addresses only part of the execution process. Prices can move rapidly, spreads can widen, and the required quantity may be unavailable at the reference price. Fast order submission does not guarantee a particular fill.
Can limit orders eliminate slippage completely? A limit order protects its specified price boundary. It does not guarantee execution, and its eventual fill can still differ from an earlier signal price. Traders must consider price protection alongside missed trades and partial fills.
Why might a stop-loss execute beyond its trigger? The trigger activates the relevant order. If available prices have moved by the time that order executes, the fill can differ. A stop-limit order adds a price boundary but introduces the possibility of remaining unfilled.
How much slippage should a backtest assume? There is no universal figure. Appropriate assumptions depend on the instrument, spread, liquidity, quantity, execution timing and order type. Test several scenarios and compare assumptions with actual execution records whenever reliable data becomes available.
Does unfavourable slippage prove that a platform performed poorly? No. Market movement, insufficient depth and order characteristics can explain price differences. Assessing platform performance requires examining timestamps, market conditions, order instructions and execution records rather than relying on the final price alone.
How can traders monitor slippage over time? Compare actual average fills with a consistently defined reference price. Separate buying and selling correctly, include entry and exit execution, and review results by instrument, quantity and market conditions. Investigate unusual observations instead of assuming every difference has the same cause.
Understanding slippage in algo trading helps connect strategy design with the practical realities of execution. A valid signal and a correctly submitted order do not guarantee that the original reference price remains available.
For traders considering Bull8, evaluating automated trading should include the execution process, realistic backtesting assumptions and the controls available for the selected strategy. Reviewing actual fills alongside strategy rules provides a clearer picture of how the approach behaves in live markets.
Explore Bull8 automated trading offerings with these execution considerations in mind, and review the relevant strategy details and risks before getting started.