Backtest a trading strategy on your price data
Test whether a trading idea would have worked on past prices, with honest fills, slippage, commissions, and no look-ahead. Compare built-in SMA crossover, RSI mean reversion, and buy-and-hold, or plug in your own strategy file, and get equity curve and trades CSVs plus CAGR, Sharpe, Sortino, max drawdown, and win rate. Reads any OHLCV CSV. Not financial advice.
- Activity
- New: be the first to try it
Will this work for me?
- Effort
- Needs about 10 minutes of setupOur guess from what the kit says it needs.
- Works in
- Claude Code, claude.ai and the desktop app
- You need
Alpaca account: setup steps
- What it is
- This kit works with your own Alpaca account.
- Where to get it
- Sign in to Alpaca, or make a free account if it offers one. Go to Alpaca
Safety label
- Who made it
How this works
- It is a skill: written instructions Claude reads when your request matches what the skill is for. You do not call it by name; just ask for the task.
- While it works, it reads and changes files in the places it lists, nowhere else.
- It runs these commands on your computer: node scripts/backtest.mjs, node scripts/selftest.mjs.
- Nothing runs until you choose to use it, and you can remove it any time.
What it can access
What this kit says it will touch, the same list you see before you add it. These are its Permissions: What a kit is allowed to touch on your computer or accounts, such as reading a folder or using the internet. You see them before you add it.. In Claude Code they become rules, so Claude stops anything not on the list.
Command
Runs the command: node scripts/backtest.mjs (with any arguments, without asking)
Command
Runs the command: node scripts/selftest.mjs (with any arguments, without asking)

