What problem does it solve?
This Skill automates the process of implementing, testing, and registering new candidate trading strategies, ensuring they meet production-ready standards.
Core Features & Use Cases
- Structured Implementation: Follows a 4-file structure (
config.py, preprocessor.py, signal.py, strategy.py) for new strategies.
- Automated Testing: Enforces comprehensive unit tests for configuration, preprocessing, signal generation, and strategy integration.
- Quality Assurance: Integrates linting, formatting, and type-checking to ensure code quality.
- Use Case: A quantitative analyst identifies a promising new strategy concept (CANDIDATE). They use this Skill to rapidly and reliably translate that concept into production-ready Python code, complete with tests and documentation.
Quick Start
Implement the new strategy named 'momentum-oscillator' by running the p2-implement skill with the strategy name momentum-oscillator.