create-tradejs 3.1.29-beta.301 → 3.1.29-beta.303
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -57,7 +57,9 @@ When the strategy is `DoubleTap`, `engine.ts` ports the Bjorgum Double Tap patte
|
|
|
57
57
|
- When a research config includes `MAX_LOSS_VALUE`, set it to `10`.
|
|
58
58
|
- When updating a backtest `:ai` config, enable both `LONG` and `SHORT`; let the AI gate disable a side later if needed.
|
|
59
59
|
2. Start with small cache-only runs: `yarn backtest -c <Strategy>:<name> -d 30 --cacheOnly --fast`.
|
|
60
|
-
3.
|
|
60
|
+
3. For a diagnostic study, locate the failing stage before selecting a field
|
|
61
|
+
to tune. For a preregistered parameter study, change only the specified
|
|
62
|
+
fields.
|
|
61
63
|
|
|
62
64
|
When a symmetric candidate loses in aggregate but its reconciled LONG/SHORT
|
|
63
65
|
attribution shows a material improvement on only one side, do not discard or
|
|
@@ -342,9 +344,36 @@ Bootstrap the complete immutable calendar window, including zero-trade
|
|
|
342
344
|
clusters; do not sample only active clusters. Report CSCV/PBO as unavailable
|
|
343
345
|
when fold vectors are identical and there is no meaningful model ranking.
|
|
344
346
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
347
|
+
### Diagnose where the edge is lost
|
|
348
|
+
|
|
349
|
+
- Reuse the prior notes and trial ledger. Start with a short cache-only
|
|
350
|
+
baseline on known weak and strong windows. Use `--researchTrace` for
|
|
351
|
+
setup/entry/skip attribution and targeted replay for decision details. Join
|
|
352
|
+
by setup identity and count each setup once. Audit which stages can actually
|
|
353
|
+
be observed: setup before gate, gate decision, order, fill, and exit. Record
|
|
354
|
+
missing stages or unknown feature values separately. Skip summaries are
|
|
355
|
+
counts and cannot reconstruct individual setups.
|
|
356
|
+
- Measure signed price movement and favorable/adverse excursion from an
|
|
357
|
+
explicitly defined eligible entry time on fixed horizons. Include signals
|
|
358
|
+
rejected by the gate or without fills when their identity and timing are
|
|
359
|
+
observable. Label those measurements as hypothetical and separate them
|
|
360
|
+
from realized fills and costs. Use `research-visuals` or TradingView to
|
|
361
|
+
inspect representative favorable and unfavorable examples from both the
|
|
362
|
+
accepted and rejected sets. Use the full eligible sample to quantify effects.
|
|
363
|
+
- Before comparing economics, report support by unique setup, active time
|
|
364
|
+
blocks and market episodes, feature coverage at decision time and the overlap
|
|
365
|
+
between control and candidate. For a risk filter, add a baseline with risk
|
|
366
|
+
reduced by a rule fixed from development evidence, and use portfolio replay
|
|
367
|
+
when concurrent exposures can change the result. For execution questions,
|
|
368
|
+
use `execution-calibration` on verified runtime and replay evidence. Report
|
|
369
|
+
which submit/fill, fee and funding measurements are available.
|
|
370
|
+
- Treat windows used to select a rule as development evidence. Evaluate a
|
|
371
|
+
new rule first on the weak and strong development windows and extend to an
|
|
372
|
+
isolated 180-day run when a material PnL/drawdown trade-off warrants it.
|
|
373
|
+
Extend competing candidates to the frozen long window only when support
|
|
374
|
+
and comparability justify the cost. Freeze the rule and success criteria
|
|
375
|
+
before opening a new confirmation period. Report insufficient support when
|
|
376
|
+
the data cannot distinguish the mechanism from noise.
|
|
348
377
|
|
|
349
378
|
Before writing research results, read `references/research-notes.md` and follow
|
|
350
379
|
it exactly.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "tradejs-skill-bundle/v1",
|
|
3
3
|
"source": "TradeJS-Dev/TradeJS:.codex/skills",
|
|
4
|
-
"bundleSha256": "
|
|
4
|
+
"bundleSha256": "773bd442dade76970e8749eb690512c352c21de199847e677d3f1580c3b16585",
|
|
5
5
|
"skills": [
|
|
6
6
|
"ai-train-local-research",
|
|
7
7
|
"backtest-config-redis",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
".codex/skills/strategy-backtest-research/scripts/research-notes-check.test.mjs": "256618c16d797374078198e6e61c50b518cef5bbbc85c3ceffa891035ae58318",
|
|
66
66
|
".codex/skills/strategy-backtest-research/scripts/retire-worktree.py": "6870d1c537e32c9626c27c1e0dfd5911e4e2fe917b82de28a15f82193f1e6384",
|
|
67
67
|
".codex/skills/strategy-backtest-research/scripts/retire-worktree.test.py": "648071b5c6326f5129c3d1893da763212d2bdd92d4ea66226e3823e7189848ef",
|
|
68
|
-
".codex/skills/strategy-backtest-research/SKILL.md": "
|
|
68
|
+
".codex/skills/strategy-backtest-research/SKILL.md": "baa9525098dcc321f0714dbe98a744cb05f840b6ace056acc66205b7b869391d",
|
|
69
69
|
".codex/skills/strategy-candidate-compare/SKILL.md": "cd3cf47259c9eb96bfaba795983788b77d463557a965692aaa19ad2de16850e6",
|
|
70
70
|
".codex/skills/strategy-candidate-report/SKILL.md": "f5cb27dd1ddc2e24afaf2aa2b86aa9edf6ef2b91f3d7acc5d49ee8209d8d3d7b",
|
|
71
71
|
".codex/skills/strategy-forward-start/SKILL.md": "6c6eda74450fc3165ce94ca12323c8277855beb1626b023811a78b2f5d294ee0",
|