Liquidity Filters
Why a tighter liquidity floor isn't always safer, and how to choose one
Almost every strategy has a liquidity floor: a minimum price, a minimum average daily volume, a minimum dollar volume. It keeps the strategy out of stocks you couldn't trade.
The trouble is that most traders pick these numbers once, out of habit or caution, and then apply them to every strategy without testing them. A floor set too high can quietly cost you a lot of edge.
An Example
A trader I coach had built his strategies on a fairly strict universe: stocks over $10, with at least 800,000 shares or $8 million traded a day. He loosened it to stocks over $1, with at least 100,000 shares and $1 million a day.
One strategy went from a profit factor of 1.31 to 1.59, still with about 8,000 trades over 3.7 years, and with a smooth equity curve. Most of his other strategies got worse at first. But they now had far more trades to work with, which, as you'll see below, is a better place to start from.
Why Loosening Can Help
Bigger moves
Lower-priced and less heavily traded stocks tend to move more, relative to their price, than large, liquid ones. The same signal often produces bigger winners in them.
Less competition
The biggest, most liquid stocks are the ones every trader and every institution is watching. Any edge in them has a lot of people competing for it. Less-followed stocks have fewer people looking, and more room for an edge to survive.
This is the same reason trading stocks is easier than trading futures: everyone is looking at the same handful of charts, and far fewer are scanning and backtesting the whole market.
Let the data decide
A floor set by habit throws trades away before the Cruncher ever sees them. If those trades were bad, the Cruncher would have found a rule to remove them. If they were good, you never find out.
Start with a looser floor, include columns for price, average daily volume and dollar volume in your backtest, and crunch it. If a higher floor makes the strategy better, the Cruncher will suggest it, at the level that actually matters for this strategy. If it doesn't, you've kept trades you'd otherwise have thrown away.
When It Gets Worse
Loosening the floor won't help every strategy, and the first backtest after you loosen it often looks worse. That isn't a failure.
A lower profit factor on many more trades is a new starting point, not a final answer. Crunch it. The trades the old floor removed now sit alongside everything else, and the Cruncher can look for the best way to cut, which may be a higher floor, or may be something else entirely that the old floor was only roughly standing in for. Compare the result to your old version after crunching, not before.
How Much Liquidity Do You Need?
It depends on your position size, not on a universal number. A floor that's far too low for a trader putting on $100,000 positions can be plenty for one trading $5,000. Work out how big your positions are and set the floor at the least liquidity you could realistically get those filled in. That's your floor for the starting point. Anything higher should earn its place by improving the strategy.
A few things to keep in mind:
- Spread is execution, not strategy. Trade-Ideas users often use a spread filter, and AmiBroker's bar data has no spread. That's fine. A spread filter is usually standing in for a minimum liquidity filter, and average volume or dollar volume from bar data does that job.
- Costs grow on cheap stocks. Commissions are charged per share, so they take a much bigger share of each trade's move on low-priced stocks. Include commissions in your backtest before you trust a strategy that favors them. See Commissions in Backtests.
- Short sellers pay to borrow. Less liquid stocks are more often hard to borrow, and some can't be borrowed at all.
Don't Go Too Far
Looser isn't always better. A backtest that includes stocks that barely trade, some of them not at all on most days, is full of trades you could never take. A starting point with more than 100,000 trades is almost certainly too wide.
The goal isn't the loosest possible universe. It's a floor set by what you can trade, with the rest left for the data to decide.
Small Caps Are Different
There's a lot of money to be made in small-cap stocks, but trading them is different from trading large, liquid names, and it's riskier. Loosening the floor on an existing strategy is one thing. A strategy built for small caps is a strategy of its own, worth treating as one.