Description
Add a GitHub Actions workflow that runs the backtester on every PR and posts a summary comment with win rate, PnL, and Sharpe ratio.
Why
This is a great showcase of CI/CD + quant finance in open source. It ensures signal engine changes don't degrade performance and gives contributors instant feedback.
Acceptance Criteria
Tech Notes
- Backtester exists at
packages/core/src/backtest/
- Use
actions/github-script to post PR comments
- Keep runtime under 2 minutes (use 30-day window)
Getting Started
git clone https://github.com/naimkatiman/tradeclaw.git
cd tradeclaw && npm install && npm run dev
Difficulty: Medium | Area: CI/CD (GitHub Actions)
Description
Add a GitHub Actions workflow that runs the backtester on every PR and posts a summary comment with win rate, PnL, and Sharpe ratio.
Why
This is a great showcase of CI/CD + quant finance in open source. It ensures signal engine changes don't degrade performance and gives contributors instant feedback.
Acceptance Criteria
.github/workflows/backtest.ymlpackages/core/docs/baseline-backtest.json)Tech Notes
packages/core/src/backtest/actions/github-scriptto post PR commentsGetting Started
Difficulty: Medium | Area: CI/CD (GitHub Actions)