Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/DevOps & CI/CD
wshobson avatar

Backtesting Frameworks

wshobson/agents

This framework builds event-driven and vectorized backtesting engines that handle the messy realities of strategy validation. It implements proper order execution with slippage and commission models, maintains point-in-time data integrity to prevent look-ahead bias, and includes survivorship bias checks by tracking delisted securities. The walk-forward analysis component automatically splits your data into training, validation, and test sets to catch overfitting before you deploy capital. You get equity curves, drawdown analysis, and trade-level attribution out of the box. Essential when you need to move beyond toy backtests and build something that actually reflects real trading conditions.

installs
16.9K
GitHub stars
41.8K
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add wshobson/agents --skill backtesting-frameworks --agent claude-code

Installs into .claude/skills of the current project.

Files

Backtesting Frameworks

Build robust, production-grade backtesting systems that avoid common pitfalls and produce reliable strategy performance estimates.

When to Use This Skill

  • Developing trading strategy backtests
  • Building backtesting infrastructure
  • Validating strategy performance
  • Avoiding common backtesting biases
  • Implementing walk-forward analysis
  • Comparing strategy alternatives

Core Concepts

1. Backtesting Biases

BiasDescriptionMitigation
Look-aheadUsing future informationPoint-in-time data
SurvivorshipOnly testing on survivorsUse delisted securities
OverfittingCurve-fitting to historyOut-of-sample testing
SelectionCherry-picking strategiesPre-registration
TransactionIgnoring trading costsRealistic cost models

2. Proper Backtest Structure

Historical Data
      │
      ▼
┌─────────────────────────────────────────┐
│              Training Set               │
│  (Strategy Development & Optimization)  │
└─────────────────────────────────────────┘
      │
      ▼
┌─────────────────────────────────────────┐
│             Validation Set              │
│  (Parameter Selection, No Peeking)      │
└─────────────────────────────────────────┘
      │
      ▼
┌─────────────────────────────────────────┐
│               Test Set                  │
│  (Final Performance Evaluation)         │
└─────────────────────────────────────────┘

3. Walk-Forward Analysis

Window 1: [Train──────][Test]
Window 2:     [Train──────][Test]
Window 3:         [Train──────][Test]
Window 4:             [Train──────][Test]
                                     ─────▶ Time

Detailed worked examples and patterns

Detailed sections (starting with ## Implementation Patterns) live in references/details.md. Read that file when the navigation summary above is insufficient.

Best Practices

Do's

  • Use point-in-time data - Avoid look-ahead bias
  • Include transaction costs - Realistic estimates
  • Test out-of-sample - Always reserve data
  • Use walk-forward - Not just train/test
  • Monte Carlo analysis - Understand uncertainty

Don'ts

  • Don't overfit - Limit parameters
  • Don't ignore survivorship - Include delisted
  • Don't use adjusted data carelessly - Understand adjustments
  • Don't optimize on full history - Reserve test set
  • Don't ignore capacity - Market impact matters

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/wshobson/agents
Categories
DevOps & CI/CD, Cloud & Infrastructure, Finance & Trading

More from wshobson/agents

All 174
  • Python Code Style16.6K
  • Openapi Spec Generation16.5K
  • Kpi Dashboard Design16.3K
  • Interaction Design16.3K
  • Design System Patterns16.1K
  • Terraform Module Library15.7K
  • React Native Design15.6K
  • Solidity Security15.5K
  • React State Management15.4K
  • Uv Package Manager15.3K
  • React Native Architecture15.2K
  • Gdpr Data Handling15K
  • Python Project Structure14.9K
  • K8s Security Policies14.8K
  • Accessibility Compliance14.7K
  • Monorepo Management14.7K
  • Python Error Handling14.2K
  • Rag Implementation14K
  • Deployment Pipeline Design13.9K
  • Changelog Automation13.8K
  • Visual Design Foundations13.7K
  • Bash Defensive Patterns13.5K
  • Debugging Strategies13.5K
  • Stripe Integration13.5K

Recommended

More DevOps & CI/CD
1apify avatarapify-ultimate-scraperapify/agent-skillsUniversal AI-powered web scraper for any platform. Scrape data from Instagram, Facebook, TikTok, YouTube, LinkedIn, X/Twitter, Google Maps, Google Search, Googl16.3Kinstalls
2wshobson avatarkpi-dashboard-designwshobson/agentsDesign effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use this skill when building an executi16.3Kinstalls
3yuan1z0825 avatarnature-paper2pptyuan1z0825/nature-skillsBuild a complete Nature-style Chinese PPTX presentation from a scientific paper, preprint, PDF, article text, figure legends, or reading notes. Use for journal 16.2Kinstalls
4gmgnai avatargmgn-cookinggmgnai/gmgn-skills[FINANCIAL EXECUTION] Create and launch meme coins and crypto tokens on launchpads (Pump.fun, FourMeme, Bonk, BAGS, Flap, Klik, Clanker, etc.) via bonding curve16.1Kinstalls
5wshobson avatardesign-system-patternswshobson/agentsBuild scalable design systems with design tokens, theming infrastructure, and component architecture patterns. Use when creating design tokens, implementing the16.1Kinstalls
6github avatarsql-optimizationgithub/awesome-copilotUniversal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases15.8Kinstalls