add-strategy
CommunityAuto-create ai-trader strategies from templates
Authorwhchien
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automates the boilerplate work of adding new trading strategies to ai-trader by generating strategy files, docstrings, registration code, and backtest scaffolding according to established conventions.
Core Features & Use Cases
- Automatic file creation with PascalCase class to snake_case filename mapping.
- Comprehensive module and class docstrings with Entry/Exit/Parameters sections.
- Automatic registration in the appropriate init.py and alphabetical all maintenance.
- Standalone backtest scaffolding to verify syntax and importability.
- Pre-flight validation (name, type, parameters, custom indicators) and post-creation checks (git status, import viability).
Quick Start
Provide the strategy type, name, and parameters when prompted to generate files, register the strategy, and create a runnable backtest scaffold.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: add-strategy Download link: https://github.com/whchien/ai-trader/archive/main.zip#add-strategy 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 471,000+ vetted skills library on demand.