794 B
794 B
Aider Project Conventions — Algo-Trading-Skills
Code & Skill Architecture Rules
- Skill Standard: All trading playbooks are organized under
skills/<skill-name>/following theagentskills.iostandard. - Discovery: Always check
index.jsonorskills/*/SKILL.mdfrontmatter before writing trading infrastructure code. - Safety First:
- Order execution functions must include client order ID idempotency.
- Backtest feature engineering must prevent lookahead bias.
- Risk limits (drawdown, max position size, max rate) must operate out-of-band or in dedicated risk wrapper classes.
- Validation: Test modifications with
python tools/validate_skills.pyand run tests withpython tools/run_all_tests.py(add--skill <name>to run one skill's suite).