backtest-expertExpert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.
Install via ClawdBot CLI:
clawdbot install Veeramanikandanr48/backtest-expertSystematic approach to backtesting trading strategies based on professional methodology that prioritizes robustness over optimistic results.
Goal: Find strategies that "break the least", not strategies that "profit the most" on paper.
Principle: Add friction, stress test assumptions, and see what survives. If a strategy holds up under pessimistic conditions, it's more likely to work in live trading.
Use this skill when:
Define the edge in one sentence.
Example: "Stocks that gap up >3% on earnings and pull back to previous day's close within first hour provide mean-reversion opportunity."
If you can't articulate the edge clearly, don't proceed to testing.
Define with complete specificity:
Critical: No subjective judgment allowed. Every decision must be rule-based and unambiguous.
Test over:
Examine initial results for basic viability. If fundamentally broken, iterate on hypothesis.
This is where 80% of testing time should be spent.
Parameter sensitivity:
Execution friction:
Time robustness:
Sample size:
Walk-forward analysis:
Warning signs:
Questions to answer:
Decision criteria:
Add friction everywhere:
Rationale: Strategies that survive pessimistic assumptions often outperform in live trading.
Look for parameter ranges where performance is stable, not optimal values that create performance spikes.
Good: Strategy profitable with stop loss anywhere from 1.5% to 3.0%
Bad: Strategy only works with stop loss at exactly 2.13%
Stable performance indicates genuine edge; narrow optima suggest curve-fitting.
Wrong approach: Study hand-picked "market leaders" that worked
Right approach: Test every stock that met criteria, including those that failed
Selective examples create survivorship bias and overestimate strategy quality.
Intuition: Useful for generating hypotheses
Validation: Must be purely data-driven
Never let attachment to an idea influence interpretation of test results.
Recognize these patterns early to save time:
See references/failed_tests.md for detailed examples and diagnostic framework.
File: references/methodology.md
When to read: For detailed guidance on specific testing techniques.
Contents:
File: references/failed_tests.md
When to read: When strategy fails tests, or learning from past mistakes.
Contents:
Time allocation: Spend 20% generating ideas, 80% trying to break them.
Context-free requirement: If strategy requires "perfect context" to work, it's not robust enough for systematic trading.
Red flag: If backtest results look too good (>90% win rate, minimal drawdowns, perfect timing), audit carefully for look-ahead bias or data issues.
Tool limitations: Understand your backtesting platform's quirks (interpolation methods, handling of low liquidity, data alignment issues).
Statistical significance: Small edges require large sample sizes to prove. 5% edge per trade needs 100+ trades to distinguish from luck.
This skill focuses on systematic/quantitative backtesting where:
Discretionary traders study differentlyโthis skill may not apply to setups requiring subjective judgment.
Generated Mar 1, 2026
A hedge fund team is developing a new mean-reversion trading strategy for equities. They need to rigorously test the strategy's robustness across different market conditions, validate parameter stability, and ensure it can withstand realistic execution costs before allocating capital.
A fintech startup has created an algorithmic trading system for cryptocurrency markets. They must systematically backtest their strategy to identify overfitting, test slippage models, and ensure consistent performance across bull and bear market regimes before launching to clients.
A portfolio manager at an asset management firm wants to validate a factor-based investment strategy. They need to apply stress testing methodology, check for survivorship bias, and ensure the strategy doesn't rely on narrow parameter optimizations before implementation.
A financial education platform is creating a course on systematic trading. They need to demonstrate proper backtesting methodology to students, showing how to avoid common pitfalls like curve-fitting and look-ahead bias through practical examples.
A prop trading firm needs to evaluate an existing trading strategy that shows deteriorating performance. They must conduct walk-forward analysis, test parameter sensitivity, and determine whether to refine or abandon the strategy based on stress test results.
Offer cloud-based backtesting infrastructure with built-in stress testing tools, slippage modeling, and robustness analysis. Clients pay subscription fees for access to professional-grade testing environments and analytics.
Provide expert consulting services to hedge funds and asset managers for strategy validation. Offer systematic backtesting, stress testing frameworks, and bias prevention methodology as a professional service.
Create premium courses, workshops, and certification programs teaching systematic backtesting methodology. Focus on practical applications of stress testing, parameter robustness, and avoiding common pitfalls in trading strategy development.
๐ฌ Integration Tip
Integrate with existing quantitative research platforms by focusing on the stress testing workflow modules. Prioritize realistic cost modeling and parameter sensitivity analysis components for maximum practical value.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.