How to add the QuanterLab: backtest a trading rule skill to Claude Code
The skill sits in the QuanterLab Claude plugin. Decide on your observation window, universe and benchmark before preparing the historical comparison.
- Add the publisher’s marketplace and install the quanterlab plugin to bring in its skill and connection configuration.
- Sign in through the publisher’s QuanterLab connection before trying a historical test.
- Open /plugin and confirm quanterlab is enabled. Ask Claude Code to use its backtest-a-rule skill for one sample task.
claude plugin marketplace add quanterlab-ug/quanterlab-claude-pluginclaude plugin install quanterlab@quanterlabTry a first task
Replay a hypothetical monthly rebalance over a historical sample. Ask QuanterLab to identify the inputs available at each rebalance date and compare the turnover and reported return with a defined hold benchmark.
What to know before you start
Define the rule, tradable universe, comparison baseline, and time frame before the QuanterLab test. Review point-in-time input choices and the period held back for evaluation before interpreting performance against simply holding the position.