feat(research): compare immutable fee and slippage scenarios
This commit is contained in:
parent
3ed7b98f7c
commit
397cd0e160
41 changed files with 3234 additions and 144 deletions
|
|
@ -12,7 +12,7 @@ Scheduling source of truth: [manifest entry R08](../manifest.json). No task is a
|
|||
|
||||
## Intended behavior and implementation scope
|
||||
|
||||
First implement bounded chronological parameter selection and nonoverlapping walk-forward recipes for deterministic registered strategies. Explicit warmup and evaluation windows; each validation segment starts from its declared initial capital and empty positions with warmed indicators, not carried money/state. Aggregate segment returns as a labelled reset-segment research series, never claim one continuous tradable equity curve. Parameter sensitivity reuses the existing bounded grid. Cost sensitivity needs a separate explicit immutable financial-policy admission contract; costs are not strategy parameters and must not mutate saved templates. Reject trainable/overlapping-label models until their fit-artifact and declared horizon/embargo contracts are supplied; do not invent general ML infrastructure for SMA.
|
||||
First implement bounded chronological parameter selection and nonoverlapping walk-forward recipes for deterministic registered strategies. Explicit warmup and evaluation windows; each validation segment starts from its declared initial capital and empty positions with warmed indicators, not carried money/state. Present ordered segment returns as a labelled reset-segment research series; do not compound, average risk-adjusted metrics or claim one continuous tradable equity curve. Parameter sensitivity reuses the existing bounded grid. Cost sensitivity needs a separate explicit immutable financial-policy admission contract; costs are not strategy parameters and must not mutate saved templates. Reject trainable/overlapping-label models until their fit-artifact and declared horizon/embargo contracts are supplied; do not invent general ML infrastructure for SMA.
|
||||
|
||||
Persist the immutable validation manifest/report as experiment-owned JSON on the R06 experiment (or a focused child row if immutability requires it), keyed by experiment/report version and containing every contributing run ID, selection rule and segment policy. This is not R03 research-findings storage. Reopening an experiment must recover the same report; new inputs require a new experiment/report identity.
|
||||
|
||||
|
|
@ -109,8 +109,22 @@ The web provides explicit windows, preview, submission, member links, report sav
|
|||
|
||||
### Validated walk-forward handoff
|
||||
|
||||
The repeated-window component is independently accepted and `component_validated_uncommitted`. Forty-one source/test/config files preserve the existing Rust financial engine, worker/run/outbox model and SQL22–24 behavior. New SQL25 headers and exact train-root membership guards keep all-window admission atomic; full native evidence is checked again before sealing an immutable ordered reset-segment report. Member cancellation stays local; series cancellation prevents new member actions without changing completed evidence.
|
||||
The repeated-window component is independently accepted and committed as `3ed7b98`. Forty-one source/test/config files preserve the existing Rust financial engine, worker/run/outbox model and SQL22–24 behavior. New SQL25 headers and exact train-root membership guards keep all-window admission atomic; full native evidence is checked again before sealing an immutable ordered reset-segment report. Member cancellation stays local; series cancellation prevents new member actions without changing completed evidence.
|
||||
|
||||
The web supports explicit 2–10-window recipes, full promised-run counts, synchronous shared submission ownership, member actions through existing pages, and saved report reopen. Native tests prove future-suffix independence, unchanged old migrations/receipts/leases, partial-admission rollback, actual lock contention, finalization receipt races and rejection of corrupted financial/analytics evidence. Repository test gates pass (882 integration /150 Rust), PostgreSQL/Redis 215 tests /1881 assertions, Chromium 14 workflows /412 assertions; final source and authored-test lint/types pass. Exact commands, formatting-only corrections and old fixture lint limitations are recorded in `manifest.json` → `thirty_first_wave_validation`.
|
||||
|
||||
Full R08 remains partial for bounded cost sensitivity; R09 remains blocked. Next scope should define supported fee/slippage scenarios as immutable execution-policy inputs and reuse canonical runs/results, without template mutation, strategy-parameter hacks, a second simulator or a window×cost scheduler. No regime/finding integration, performance work or AI/default/trading activation is included.
|
||||
|
||||
## Authorized cost-sensitivity component — 2026-10-24
|
||||
|
||||
Complete the remaining bounded-cost diagnostic requirement using one existing experiment row with a versioned cost manifest. Its baseline is the current approved saved template and empty parameter grid; trial 0 preserves original costs, while1–99 explicit normalized distinct fee/slippage pairs vary only those two canonical rate fields. Every trial reruns Rust with independent account state. Preserve all other strategy/data/build/risk/execution/analysis inputs. Costs can change fills and funding decisions, so do not subtract estimates from old P&L or assume monotonic returns.
|
||||
|
||||
Reuse the existing editor ordinary owner, list/detail/retry/history and receipt APIs; no new header/report/scheduler. Preserve strict v1 validation sources, ordinary parameter keys, old SQL22–25 and all reproduction guards. Add SQL26 version dispatch and one expected-request helper for run/retry insertion. Require native baseline economic parity, controlled fee/slippage/funding fixtures, original-policy retry/reproduction after template edits, direct SQL/atomicity/receipt/cancel races, upgrade preservation and actual browser reopen. This template study makes no heldout/OOS claim; a completed-source selector and joint cost×parameter/window studies are excluded.
|
||||
|
||||
### Validated full-task handoff — 2026-10-24
|
||||
|
||||
Full supported R08 is independently reviewed and `validated_uncommitted`, awaiting owner acceptance/commit. Waves 29–31 provide frozen chronological input preparation, durable fixed-winner selection, immutable reports and bounded nonoverlapping heldout reset-window series. Wave 32 closes bounded cost diagnostics with one existing experiment type, automatic original-cost baseline and 1–99 explicit fee/slippage pairs. Fixed parameters/data/capital/other risk/build settings and the authoritative Rust engine are preserved; existing retry/reproduction and web workbench flows are reused.
|
||||
|
||||
Every repository gate passed (926 integration /150 Rust), final PostgreSQL/Redis 224 tests /1967 assertions and Chromium 15 workflows /457 assertions. Exact sources, independent reviews, controlled native fee/slippage/funding oracles, baseline economic parity, SQL/admission/recovery proofs and root browser evidence: `manifest.json` → `thirty_second_wave_validation`.
|
||||
|
||||
The unsupported-model acceptance is implemented as explicit rejection of trained/nonzero/missing-horizon inputs, not general purge/embargo fitting. Template cost diagnostics do not claim heldout/OOS validation or automatic ranking. Completed-source selectors, cost×parameter/window studies and fitted-model infrastructure remain optional future scope. No performance work, AI/candidate or trading/default activation occurred. R09 also depends on partial R07; next non-performance work is cross-experiment comparison, with table measurements still paused.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue