backtrader
CommunityEvent-driven backtesting engine for complex strategies.
Finance & Accounting#python#event-driven#backtesting#quantitative finance#trading strategy#backtrader
Authoragiprolabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust framework for event-driven backtesting, enabling the simulation of complex trading strategies with bar-by-bar execution, realistic order types, and detailed performance analysis.
Core Features & Use Cases
- Event-Driven Simulation: Processes data bar-by-bar for realistic trade execution, handling partial fills and order status changes.
- Complex Order Types: Supports market, limit, stop, stop-limit, and bracket orders.
- Advanced Analysis: Integrates multiple analyzers for metrics like Sharpe Ratio, Drawdowns, and Trade Statistics.
- Use Case: Develop and rigorously test a high-frequency trading strategy that requires precise order execution logic and real-time risk management, simulating its performance against historical market data.
Quick Start
Run the backtrader skill to execute the EMA crossover backtest script with default parameters.
Dependency Matrix
Required Modules
backtraderpandasnumpymatplotlib
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: backtrader Download link: https://github.com/agiprolabs/claude-trading-skills/archive/main.zip#backtrader 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.