Raif Mondal
The Founder Issue · Research notesNote No. IV
Execution · Risk

Paper fills flatter you

Why a paper-trading engine should make you pay spread, slippage and margin, even when no money is at stake.

Most paper-trading tools fill every order at the last price, instantly and in full. That is the most generous counterparty in the world, and it teaches the wrong habits. IndiPaperTrade is my attempt at a less flattering one for Indian equities.

It listens to live NSE prices from Angel One’s market feed and simulates the parts of execution that cost money: market, limit, stop-loss and bracket orders; partial fills; spread and slippage; margin and leverage. A risk layer tracks drawdown, win rate, profit factor and an annualised Sharpe ratio, and stops trading for the day after a three per cent loss.

Sizing is the part you control

The figure below is not from the engine and not a track record. It is a plain simulation of one modest strategy over three years of random days. Move only the position size and watch what happens to the worst drawdown.

Interactive · Position sizingSimulated, not a track record
Worst drawdown
22.9%
Ending capital
1.13×

The same small daily edge and the same random days. Past a point, a bigger position does not earn more; it only makes the bad stretch deeper. Log scale; dashed line is the starting capital.

Past a certain size, a bigger position stops adding return and only adds pain. That is why the daily loss limit sits in the engine rather than in my head: a rule enforced by code does not negotiate on a bad afternoon.

A rule you break once is only a suggestion.

The codebase is large and still being tidied; some modules are duplicated and it has not yet logged a real trading history. It is a working tool, not a result.