Spot-Perpetual Flow Filter Backtest in Crypto: Fees, Slippage and Break-Even Costs
A spot-perp filter requires spot buying to support a perp long. It aims to avoid moves driven only by leverage.
Short answer
A spot-perp flow filter compares spot and perpetual delta (or CVD change) over the signal window and allows longs only when spot delta is positive too. Moves led by perps alone are more often reversed. Testing it needs trade-level or taker-volume data for both markets on the same venue and timeframe. Compute break-even cost, compare with the unfiltered strategy, and check sample size.
Break-even cost
| Item | Value (illustrative) |
|---|---|
| Trades | 95 |
| Gross avg per trade | +0.58% |
| Fees (2 × 0.05%) | −0.10% |
| Slippage (2 × 0.04%) | −0.08% |
| Net avg per trade | +0.40% |
| Break-even round-trip cost | 0.58% |
Filter effect
| Version | Trades | Net avg (illustrative) |
|---|---|---|
| Unfiltered | 180 | +0.17% |
| Spot delta > 0 | 95 | +0.44% |
| Spot delta < 0 | 85 | −0.12% |
Conclusion
Related: Spot Flow During a Futures Squeeze in Crypto: What Price Response Adds to the Reading, CVD Divergence Backtest in Crypto: Fees, Slippage and Break-Even Costs.
Backtest the spot-perp flow filter rule with costs in ChartsPod.
Open the ChartsPod terminalCompute break-even cost, compare with the unfiltered strategy, and check sample size.
Review Spot-Perpetual Flow Filter Backtest in Crypto with bar replay before using it live.
Open ChartsPod replayQuestions readers ask
What is a spot-perp flow filter?
Requiring spot delta to agree with a perp signal.
What data is needed?
Taker volume for both markets.
Why does it help?
Perp-only moves reverse more often.
Sources and methodology
Backtest cost logic follows TradingView's Pine Script strategy documentation; indicator definitions are standard. All performance numbers are illustrative examples of the method, not results of real tests.
- TradingView Pine Script: Strategies — simulated fills and assumptions.
- TradingView Pine Script: Repainting — live vs historical calculation.
- ChartsPod documentation — guides for order flow, derivatives, alerts, backtests, journal and workspaces.
This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.
CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.