KauplemineBacktesting

Backtester

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

PPredictive Labs·Kauplemine

Kogu oskus — vaikeversiooni hoitakse GitHubis; sinu muudatused jäävad sinu enda klooni.

Kasuta seda oskustLaadi alla .zip
Kuidas see töötab?
  • ChatGPT avab uue vestluse, kuhu oskus on laaditud. Kui see on lingi jaoks liiga pikk, kopeeritakse see lõikelauale — lihtsalt kleebi.
  • Claude töötab samamoodi. Püsivaks paigaldamiseks laadi alla .zip ja lae see üles: Claude → Settings → Capabilities → Skills (Pro/Team/Enterprise).
  • Kopeeri prompt kopeerib oskuse, et saaksid selle kleepida mis tahes assistenti, sh 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