walk-forward-validation
CommunityRobust backtesting for time-series data.
Finance & Accounting#validation#financial modeling#time series#backtesting#trading strategy#overfitting
Authoragiprolabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust framework for backtesting trading strategies and machine learning models on financial time-series data, preventing common pitfalls like lookahead bias and overfitting.
Core Features & Use Cases
- Time-Series Aware Splits: Implements rolling and expanding window validation suitable for financial data.
- Overfit Detection: Includes methods like Deflated Sharpe Ratio (DSR) and Probability of Backtest Overfitting (PBO) to assess model reliability.
- Use Case: Evaluate a new algorithmic trading strategy by simulating its performance on historical market data, ensuring that the validation process accurately reflects real-world trading conditions and guards against false positives.
Quick Start
Use the walk-forward-validation skill to perform a rolling window backtest with a 90-day training size and a 14-day test size on the provided price data.
Dependency Matrix
Required Modules
numpypandasscipy
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: walk-forward-validation Download link: https://github.com/agiprolabs/claude-trading-skills/archive/main.zip#walk-forward-validation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.