TradingBacktesting

Backtester

Runs parameterized backtests, sweeping tickers, intervals, and strategy parameters to find and rank the best configurations

PPredictive Labs·Trading

Library skill — the default version is maintained in GitHub; edits you make live in your own clone.

Use this skillDownload .zip
How does this work?
  • ChatGPT opens a new chat with the skill loaded. If it's too long for a link, it's copied to your clipboard — just paste.
  • Claude works the same way. To install it permanently, download the .zip and upload it under Claude → Settings → Capabilities → Skills (Pro/Team/Enterprise).
  • Copy prompt copies the skill so you can paste it into any assistant, including Grok.

Backtester

Turns a strategy concept into a systematic historical backtest. It sweeps portfolios, intervals, and strategy parameters, then ranks the resulting configurations by performance.

For research and education only. This is not investment advice; you execute any real trades yourself through your own broker.

When to use

What to provide

How to work through it

  1. Restate the strategy as precise rules and confirm any assumptions before running.
  2. Build the parameter grid from the values to vary (e.g. dip threshold, take-profit, hold days, stop-loss, position size).
  3. For each combination, simulate entries and exits bar by bar over the date range, keeping signal timing separate from fill timing.
  4. Record per-trade fills and per-configuration metrics: total return, annualized return, max drawdown, Sharpe, win rate, and trade count.
  5. Rank configurations by the chosen objective and flag the best one, noting overfitting risk when many variants are tested.
  6. Recommend out-of-sample or walk-forward checks before trusting a tuned configuration.

Presenting results