Costs and position size
Every rupee a trade costs, how slippage adds up, and how many shares to size for the risk you can take.
What a trade really costs
Every order pays a stack of small charges, and a trade has two orders. Put in a trade you might make and see every rupee, who takes it, and how far the price must move before you’re even.
Product
Delivery: you buy shares to keep, and they go into your demat account.
Trade
Selling first needs intraday: a short stock position can’t be held overnight in India’s cash market.
This round trip costs
₹48.71
0.325% of the ₹15,000 put in
Break-even
₹1,504.88
The price must rise 0.325% just to cover charges
At the same price you’d get back
₹14,951.29
₹48.71 less than you put in
| Charge, and who takes it | Buy | Sell | Total |
|---|---|---|---|
| BrokerageYour broker, for carrying out the order. None on delivery at this app’s rates.Buy ₹0 · Sell ₹0 | ₹0 | ₹0 | ₹0 |
| STTThe government (Securities Transaction Tax), collected by the exchange. On both orders.Buy ₹15 · Sell ₹15 | ₹15 | ₹15 | ₹30 |
| Exchange transaction chargeNSE, for matching your order with someone on the other side. On both orders.Buy ₹0.46 · Sell ₹0.46 | ₹0.46 | ₹0.46 | ₹0.92 |
| SEBI turnover feeSEBI, the market regulator: ₹10 per crore traded. On both orders.Buy ₹0.02 · Sell ₹0.02 | ₹0.02 | ₹0.02 | ₹0.03 |
| Stamp dutyThe government, as a tax on the buyer. On the buy order only.Buy ₹2.25 · Sell ₹0 | ₹2.25 | ₹0 | ₹2.25 |
| GSTThe government: 18% of brokerage + exchange charge + SEBI fee (never of STT or stamp duty). On both orders.Buy ₹0.09 · Sell ₹0.09 | ₹0.09 | ₹0.09 | ₹0.17 |
| DP chargeYour depository participant: a flat ₹15.34 when shares leave your demat account. On the sell only, once per stock per day.Buy ₹0 · Sell ₹15.34 | ₹0 | ₹15.34 | ₹15.34 |
| Total charges | ₹17.81 | ₹30.90 | ₹48.71 |
10 shares: bought at ₹1,500, sold at ₹1,500 (no move). The sell is priced as the first sale of this stock today, so it carries the DP charge. Rates are indicative discount-broker figures from the same engine the Strategy Lab and backtests use, and may not match your broker. Slippage comes on top: see the next module.
The same trade as intraday would cost ₹15.94 (0.106%), break-even +0.106%.
Where the money goes
A trade is a round trip: an order to open it and another to close it, and both pay. That’s why buying and selling at the same price leaves you a little poorer, and why the price has to move by the break-even amount before a trade makes a single rupee.
On delivery, STT on both orders is usually the biggest line, and the flat DP charge makes small sales relatively expensive: try ₹5,000 and then ₹5,00,000 above and watch the percentage. Intraday pays brokerage on each order but STT only on the sell, so its round trip costs less.
In futures every charge is worked out on the full contract value, even though you only put up margin. Options charges are worked out on the premium, but the flat brokerage per order can be a big share of a small premium.
Check yourself
0 of 3 right
Answer every question correctly to complete this module.
Slippage
Slippage is the gap between the price you saw and the price you got. It comes from the spread, from delay, and from the size of your order. Place a market order below and watch it eat through the order book.
Stock
Order
The book below holds 6,550 shares on the sell side.
While your order travels, the price…
A tick here is ₹0.05. Prices in this app are delayed, and a fast market can move before an order lands.
| Price | Shares waiting | Qty | Your fills |
|---|---|---|---|
| Asks: sellers, lowest price at the bottom | |||
| ₹500.30 | 2,200 | ||
| ₹500.25 | 1,500 | ||
| ₹500.20 | 1,100 | ||
| ₹500.15 | 800 | ||
| ₹500.10 | 600 | ||
| ₹500.05 | 350 | ||
| Last traded ₹500.00 · spread ₹0.10 | |||
| ₹499.95 | 350 | ||
| ₹499.90 | 600 | ||
| ₹499.85 | 800 | ||
| ₹499.80 | 1,100 | ||
| ₹499.75 | 1,500 | ||
| ₹499.70 | 2,200 | ||
| Bids: buyers, highest at the top | |||
You see the last trade at ₹500.00 and the best ask at ₹500.05. Press Place market buy to send 1,000 shares.
What a few basis points a fill cost over a year
Per fill
₹30.00
each buy and each sell
Per round trip
₹60.00
in and out
Per year
₹14,400
480 fills · 14.4% of one trade’s size
That’s on top of about ₹19,843 a year in charges for the same 240 intraday round trips. Slippage never shows up on a contract note, which is why it’s easy to forget, and why every backtest here charges it.
How the backtests here handle it
Every market fill in a backtest is moved 3 basis points (0.03%) against you by default: entries, exits on the strategy’s own signal, stop-loss and trailing stop exits, and the 3:20 pm intraday square-off. You can change the figure in the Strategy Lab’s execution settings.
A target exit pays none. It is a limit order waiting at your price, so it fills at exactly that price or not at all. You get certainty of price, not of a fill: a real limit order can be missed when the market only just touches it.
To keep slippage small: trade liquid stocks, use limit orders when you can wait, size orders well below what’s waiting at the best price, and be careful in the first minutes after 9:15 am and around big news, when spreads widen and prices jump.
Check yourself
0 of 3 right
Answer every question correctly to complete this module.
Position size by risk
Decide how much you’re willing to lose before you buy, then let the stop-loss tell you how many shares that allows. It’s the one rule that keeps a bad run from ending your trading.
₹5,000 is the most one trade may lose.
Trade
Shares to buy
416
₹12 a share to the stop (3%)
Money at risk
₹4,992
1% of your capital
Capital used
₹1,66,400
33.3% of your capital
If the stop is hit
−₹5,372
including ₹380.37 of delivery charges, before slippage
₹5,000 you’ll risk ÷ ₹12 a share to the stop = 416 shares.
The stop decides the size, not the other way round. A wide stop means fewer shares; a tight one means more, for the same rupees at risk. The real loss can be a little bigger than planned: charges, slippage on the stop, and a gap past it all add to it. The Strategy Lab can size every trade this way (“Risk % of equity per trade”, with a stop-loss set).
Losing streaks: 2% vs 5% vs 10% a trade
Even a good strategy has runs of losses. Here is what’s left after each loss in a row, risking a share of what’s left each time.
- 2% a trade
- 5% a trade
- 10% a trade
| Risk a trade | ₹5,00,000 becomes | Fall | Gain needed to get back |
|---|---|---|---|
| 2% a trade | ₹4,08,536 | −18.3% | +22.4% |
| 5% a trade | ₹2,99,368 | −40.1% | +67% |
| 10% a trade | ₹1,74,339 | −65.1% | +186.8% |
Why losses hurt more than gains help
A 50% loss needs a 100% gain to recover: ₹1,00,000 falling to ₹50,000 has to double to get back. The deeper the fall, the steeper the climb.
Lose 10%
needs +11.1%
Lose 20%
needs +25%
Lose 25%
needs +33.3%
Lose 33%
needs +50%
Lose 50%
needs +100%
Lose 75%
needs +300%
Lose 90%
needs +900%
Check yourself
0 of 3 right
Answer every question correctly to complete this module.
Trading often vs costs
An idea earns what it earns; trading it more often doesn’t make it better, but every extra round trip pays the full cost again. Find the point where costs eat the whole edge.
Product
About 4.2 a month, or one every 5 trading days.
One round trip costs
₹297.82
0.298% of capital: ₹237.82 charges + ₹60.00 slippage
Costs eat the edge at
50 trades
a year, about 4.2 a month
At 50 trades a year you keep
0.1% (₹109)
Costs take 99% of the 15% edge
- Edge before costs
- Costs
At 50 trades a year, each trade’s share of the edge is 0.3% against a cost of 0.298% a round trip. Each trade still earns more than it costs.
What one delivery round trip of ₹1,00,000 pays (200 shares)
- STT₹200.00
- Slippage₹60.00
- DP charge₹15.34
- Stamp duty₹15.00
- Exchange charge₹6.14
- GST₹1.14
- SEBI fee₹0.20
The edge is per idea; the cost is per trade
Suppose an idea is worth 15% a year before costs. Trade it 10 times and each trade carries 1.5% of edge; trade it 200 times and each carries 0.075%. The cost of a round trip doesn’t shrink with it, so past some number of trades every trade costs more than it earns. That’s the point on the chart.
Delivery pays more per round trip (mostly STT on both sides), so it suits fewer, longer trades. Intraday round trips cost less each but, done every day, add up to far more in a year. Switch the product above and compare where the line crosses.
In the Strategy Lab the Charges column shows what each strategy paid, and a note counts the trades whose gain before charges became a loss after them. A strategy that only works gross doesn’t work.
Check yourself
0 of 3 right
Answer every question correctly to complete this module.