trading-backtest
/trading-backtest
Testuje strategie handlowe wstecz i w krokach do przodu uczciwie, z opłatami, poślizgiem cen, finansowaniem i dźwignią, a potem stosuje bramkę awansu.
- Autor
- F0rger123 ↗
- Repozytorium
- ultimate-claude-trading-skill ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Testuje strategie handlowe wstecz i w krokach do przodu uczciwie, z opłatami, poślizgiem cen, finansowaniem i dźwignią, a potem stosuje bramkę awansu.
Wyzwalacze z opisu
Oryginalny opis (EN)
Backtest and walk-forward test trading strategies honestly with fees, slippage, funding and leverage, then apply the promotion gate. Use when the user says "backtest this", "run the tournament", "which strategy is best", "is this profitable", "test my strategy", or "what are the odds".
Jak działa
- Run
- How it scores (tell the user this)
- Reporting
- Never
Podgląd SKILL.md
--- name: trading-backtest description: Backtest and walk-forward test trading strategies honestly with fees, slippage, funding and leverage, then apply the promotion gate. Use when the user says "backtest this", "run the tournament", "which strategy is best", "is this profitable", "test my strategy", or "what are the odds". --- # Backtest and tournament ## Run - **Preferred (corrected engine):** `python research/corrected_tournament.py && python research/summarize_corrected.py`. It uses the shared mark-to-market ledger, leak-free 3-year/6-month walk-forward, block bootstrap and a deflated Sharpe across all registered trials. Output: `reports/corrected/summary.md`. - **Legacy engine (below)** writes `reports/tournament-latest.md`; old copies live in `reports/legacy/`. - All strategies, all coins: `python -m tradedesk tournament` - Some of them: `python -m tradedesk tournament --symbols ETH,SOL --strategies donchian_1h,mtf_trend` - Output: `reports/tournament-latest.md`, `reports/tournament-latest.json`, `state/ladder.json`. ## How it scores (tell the user this) - **Walk-forward:** parameters are picked on 180 days, then scored on the next 60 days the strategy has not seen, stepping forward each time. Only these out-of-sample (OOS) trades count. - **Costs on every trade:** 0.06% fee and 0.02% slippage each side, plus funding of 0.001% per hour. - **Fills:** at the next bar's open. If the stop and the target are both inside one bar, the stop wins. A gap past the stop fills at the open. - **Leverage:** capped at the overnight limits the live desk uses on Coinbase (BTC 3.9x, ETH 3.3x, SOL 1.8x). Liquidation is modeled. - **Bootstrap:** 2,000 random resamples of the OOS trades give a 5th-percentile return. - **Gate to move to forward testing (all must pass):** - at least 100 OOS trades - profit factor of 1.20 or more - max drawdown of 20% or less at 1% risk - at least 60% of windows profitable - bootstrap 5th-percentile return above 0 ## Reporting - Lead with whether anything passed. - For each near miss, say which check failed and by how much. - Compare in-sample to OOS results. A big gap means the parameters were curve-fit. - The backtest uses spot candles because perp history only starts in mid-2025. Say so. ## Never Edit gates, costs or windows to make a result pass. If the user asks you to, explain why that defeats the test. Record any change they still want in `docs/DECISIONS.md`.
Wersje
W bazie nie ma innych skilli o nazwie trading-backtest.
Migawka bazy z 13.11.2026 · wersja paczki 11b46baddce7 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100backtesting-trading-strategies
Testuje strategie handlowe na kryptowalutach na danych historycznych z metrykami wydajności. - 90trading-desk
Wyjaśnia cały zestaw handlowy: backtest, testy do przodu, handel papierowy, handel realny z zabezpieczeniami, uczenie i panel na telefon, i kieruje do właściwego skilla. - 100backtesting-trading-strategies
Testuje strategie handlowe na kryptowalutach i rynkach tradycyjnych na danych historycznych: Sharpe, Sortino, max drawdown, krzywe kapitału i optymalizacja parametrów. - 90strategy-backtest
Porównuje strategie na spółce z IDX, testuje zwycięską metodą walk-forward i przekazuje wynik do TradingView jako skrypt Pine. - 950xarchive-backtest
Testuje strategie handlowe i styl traderów na danych 0xArchive, zapisując każdą próbę i uzasadniając wynik. - 100backtesting
Prowadzi przez backtesting strategii handlowych na danych historycznych: obciążenia fałszujące wyniki, realistyczne koszty, walidacja walk-forward i statystyki odróżniające przewagę od przypadku.