Method
How Sandlance tests a strategy, and where its results stop.
What a backtest does
A strategy ranks companies on measures taken from their financial reports and share prices — quality, value, growth, momentum, borrowing costs and others, each weighted as you choose — and says how it is traded: how often it re-ranks, how many names it holds on each side, when it sells, and whether it hedges the market. Sandlance then trades it one session at a time, from January 2013 to the end of 2019: each trade made at the next close, each position carried day by day, the way a real book would be run.
Every trade pays commission, half the bid-ask spread by the company's liquidity, and market impact that grows with the trade's share of the day's volume; no trade takes more than 5% of a day's volume. Short positions pay the borrow fee recorded for that stock that day where one is recorded, and an estimate where it isn't, and each result says how much of its short side rested on estimates. A company whose prices are in doubt (a gap or a jump that looks like another security's prices or a missed split) is left out while they are.
Only what was known at the time
- US companies are scored from the reports filed with the SEC by each date — the filing date, not the end of the fiscal year it covers.
- International companies are dated by fiscal period end in their source data, so an optional delay (about 120 days) keeps a report out until it would have been published.
- Prices for valuation measures are the price a share actually traded at that day, not a price adjusted for later dividends and splits, which would leak the future into the past.
- Companies that later failed or were bought stay in the history, so the results aren't only of survivors.
How sure a result is
- Every result opens with the years it was tested on, after costs, and how it did against the S&P 500 over the same days, including what it earned with the market hedged out.
- When many settings are tried, the best one is partly luck. Sandlance counts every setup each person has tried and shows the line the best of that many would reach by chance, and the chance a result beats it once its skew and fat tails are allowed for (the deflated Sharpe ratio).
- Ranges come from resampling the run's own days in blocks; the first and second half of the years are shown side by side; cost stress tests double and triple the costs; and a fit on published factors shows which known styles the book leans on.
- The years from 2020 on are kept back as a holdout: research never sees them, and a test on them is recorded each time one is run, so a later result can say it was made after they were seen.
Checking it live
Backtests are only a guide; the check is a record kept forward. Sandlance's track record lists its blended paper book every trading day and its default strategy's weekly books, each hashed and timestamped the day it is made, before its returns happen, and priced from then on, the good and the bad.
Limits
- Results on past data don't predict future returns, and a strategy that worked can stop working once others use it.
- Data has gaps and errors, especially outside the US and for small companies; a company without a reading on a measure counts as average on it.
- The tested years, 2013 to 2019, were mostly a rising market with one sharp fall; a strategy can do very differently in other markets.
- Borrowing a stock to short can be refused or recalled, and estimated borrow fees can be wrong.
- Sandlance is a research tool. Nothing here or in the app is investment, tax or legal advice.