Backtest options
A backtest puts a fixed amount of capital into whatever the screen holds, in equal weight. Cash from a sale is reused. Each option below is on the run form and applies to that run only.
How a run works
Membership on a weekday is traded at the next weekday’s close. Prices are the unadjusted close, carried forward when a print is missing. A name with no price is dropped. Earnings and other filings count from the filing date, not the quarter end. The chart’s comparison line is a separate buy-and-hold of the same starting capital in the benchmark ETF. It starts the first day any capital is deployed.
The first run uses the last three years. After that, the start and end dates on the form are sent as they are. Basic and Pro include the backtest. Compare plans.
Start and end
The window the simulation walks. Dates are weekdays inside that range.
Starting capital
Dollars available on the first day. The default is $100,000. The allowed range is $1,000 to $10,000,000. The shortcuts set $50,000, $100,000, and $250,000.
Cost (bps / side)
A cost charged on the dollars bought or sold, in basis points. One basis point is 0.01%. The default is 5. The allowed range is 0 to 100. A buy and a later sell each pay the cost.
Sell screen
Optional. Leave it on “Leave when this screen drops the name” and a holding is sold once it leaves the buy screen. Pick another saved watch and check “Hold a name until it also leaves the sell screen” to keep the name after the buy screen drops it, until that second screen drops it too.
Rebalance
- When the screen changes trades only as names enter or leave. Weights are left alone as prices move. This is the default.
- Also weekly does that, and also sizes the book back to equal weight on the first weekday of each week.
- Also monthly does that, and also sizes the book back to equal weight on the first weekday of each month.
Drift band (%)
0 turns the band off. Any other number is a relative gap. At 20, a resize is skipped when every held name is within 20% of its target weight. A name that is new, and therefore has no weight yet, is outside the band, so the book still trades to buy it. A weekly or monthly reset still resizes even when every name is inside the band.
Minimum hold (weekdays)
How many weekdays a name stays after it is bought, even if the screen drops it. 0 sells on the next fill after the screen drops it. The count includes the entry day. The longest hold is 60 weekdays.
Max weight
No cap lets equal weight use the whole book. A cap of 10%, 20%, 25%, or 50% limits each name to that share of equity. Dollars above the cap stay in cash, unless idle cash is parked.
Idle cash
- Leave as cash keeps unused dollars in cash. This is the default.
- Park in the benchmark buys the benchmark ETF with dollars the screen is not using, including a day when the screen is empty. Those shares are part of the portfolio. They are not the comparison line.
Benchmark
SPY, QQQ, or IWM. The comparison line, and the “vs” figure, are buy-and-hold of that ETF. The default is SPY. These three are kept out of the screened universe.
Stocks to hold
A number. 0 uses the sort and limit saved on the watch. If that watch has no limit, 0 holds every match. Any other number holds that many names, in the watch’s sort order. The most you can enter is 100. The number is for this run. It is not written back onto the watch.
Last backtest
The time under the title is the last run whose buy screen still matches the saved watch: the conditions, the sort, the limit, and the early-earnings switch. Dates, capital, cost, the sell screen, and the options on this page are not part of that check. Changing an option leaves the time in place. Changing the screen hides it until you run again.
Related
- Screener Guide — the screen a backtest replays
- Early Earnings — announced quarters before the filing
- ChatGPT and Claude — a chat backtest uses the defaults: three years, next close, $100,000, and 5 basis points