backtesting-trading-strategies
CommunityBacktest and compare trading strategies history.
Finance & Accounting#python#historical-data#backtest#trading-strategy#performance-metrics#parameter-optimization#equity-curve
Authorgracefullight
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Backtest trading strategies against historical data to compare performance and stability before risking real capital.
Core Features & Use Cases
- Built-in backtesting framework with multiple strategies (SMA, EMA, RSI, MACD, Bollinger, Breakout, Mean Reversion, Momentum)
- Generates comprehensive performance metrics (Total Return, CAGR, Sharpe, Sortino, Calmar) and risk measures (Max Drawdown, VaR)
- Exports equity curves, trade logs, and chart-ready visuals for reporting and decision making
- Use Case: validate strategy signals across assets and timeframes, then optimize parameters to improve robustness
Quick Start
Run a backtest with a chosen strategy and symbol, for example: python scripts/backtest.py --strategy sma_crossover --symbol BTC-USD --period 1y --capital 10000 --params '{"fast_period": 20, "slow_period": 50}'
Dependency Matrix
Required Modules
pandasnumpyyfinancerequestsmatplotlib
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: backtesting-trading-strategies Download link: https://github.com/gracefullight/stock-checker/archive/main.zip#backtesting-trading-strategies 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.