alpaca-trading-backtest · alpacahq/alpaca-skills

Run reproducible historical strategy backtests

Turns a trading strategy idea into a reproducible historical backtest using the Alpaca CLI, producing trade logs, performance diagnostics, and disclosure notes. Useful for testing strategy rules against past market data before considering live or paper trading.

Good for

  • Formalize a strategy idea into testable rules
  • Run a historical backtest with reproducible artifacts
  • Review trade logs, KPIs, and disclosures
Source repository
alpacahq/alpaca-skills

Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.

A good place to start

Backtest a moving-average crossover strategy on SPY from 2018 to 2024 and show me the trade log and performance metrics.

Make your next great thing.

Bring a question, a file, or an idea that’s not quite there yet.