Commit graph

78 commits

Author SHA1 Message Date
4cd6038063 refactor: pre-M0 cleanup, core library hardening, and isolated dev/QA Docker stack
- Remove ~44k LOC of dead code, legacy v1 TS simulator/strategy stack, event-bus, analytics FastAPI prototype, legacy calculation archives, and unused deps (data-ingestion provider API handlers untouched)
- Extract @stock-bot/di/http-security and isolate @stock-bot/browser to data-ingestion via ServiceContainerBuilder.withRegistrations()
- Harden @stock-bot/mongodb read-only proxies, flatten @stock-bot/postgres with unified master+research migrations, and fix @stock-bot/config EnvLoader, ServiceApplication worker lifecycle, NamespacedCache.clear(), and BatchProcessor error propagation
- Flatten workspace root (remove apps/stock/package.json) and collapse orchestrator re-export shims
- Pin all Docker image versions, add shm_size/nofile/RAM caps and docker-compose.quant.yml, fix 05-add-visible-column.sql view recreation, and decouple dev/QA Compose project names for side-by-side execution
- Update PLATFORM-PLAN, DATA-CONTRACTS (bars_1m PARTITION BY MONTH, Rust bulk ETL, DuckDB limits), MILESTONES, and servers docs
2026-11-27 00:11:50 -05:00
ec582bd5e8 refactor(backtest): isolate legacy persistence capabilities (CL33) 2026-10-28 14:45:12 -04:00
3a63b2039e feat(strategies): publish type-only strategy authoring API (CL31) 2026-10-28 14:42:58 -04:00
b4589d5af1 refactor(runtime): expose shared admission and artifact boundaries (CL26) 2026-10-28 14:02:03 -04:00
2165a2efa8 refactor(paper): separate safety enforcement from readiness projection (CL32) 2026-10-28 14:01:18 -04:00
8c858b9d5c fix(monitoring): report observed research and paper readiness (O02) 2026-10-28 12:58:38 -04:00
70d173a908 perf(strategy): fuse validated state copying and freezing (P08) 2026-10-28 12:58:21 -04:00
8a5d0c3ef2 refactor(orchestrator): return validated worker results (CL20) 2026-10-26 20:40:58 -04:00
6055aeeee9 refactor(orchestrator): share pure strategy bookkeeping (CL19) 2026-10-26 20:33:56 -04:00
984dc1a9cc refactor(orchestrator): narrow historical storage to reads (CL17) 2026-10-26 20:30:40 -04:00
8546fce4a9 fix(orchestrator): own startup and shutdown resources (CL16) 2026-10-26 19:28:43 -04:00
21666242f4 refactor(orchestrator): require canonical research contracts (CL14) 2026-10-26 19:22:01 -04:00
8c39ccf7ea refactor: share research domain and simplify application workflows 2026-10-26 15:29:43 -04:00
dd7ac53c51 docs: explain strategy replay and durable execution code 2026-10-25 11:31:23 -04:00
25b5cbf481 feat(research): isolate candidates and add reviewed paper promotion 2026-10-24 18:46:55 -04:00
26b97265c6 feat(research): run durable backtests in a bounded worker pool 2026-10-24 17:41:00 -04:00
bbf0dd4453 feat(research): cut over canonical runtime and enforce agent budgets 2026-10-24 16:47:19 -04:00
0c6aec4dc6 feat(research): prepare stored EOD datasets before canonical admission 2026-10-24 15:26:38 -04:00
366bee810b feat(research): prepare and retain explicit source datasets in the web workbench 2026-10-24 15:06:52 -04:00
67ab30cb7a feat(research): preview chronological validation inputs and windows 2026-10-24 11:23:45 -04:00
618fb9e33c feat(research): run retained strategies through durable canonical engine 2026-10-23 21:59:09 -04:00
d929db707a feat(research): add strategy catalog and versioned backtest setup 2026-10-23 21:11:59 -04:00
4a2e5ad362 feat(research): retain immutable strategy versions and review history 2026-10-23 19:35:56 -04:00
b106c1ca85 feat(research): select and reuse frozen datasets in workbench 2026-10-23 18:13:37 -04:00
6a67ae8683 feat(strategies): add canonical regime-aware mean reversion 2026-10-23 17:10:08 -04:00
75abae2cfc feat(paper): gate canonical execution on durable feed readiness 2026-10-23 16:50:35 -04:00
c01e96e4dd feat(execution): preserve durable recovery on canonical Rust core 2026-10-23 15:58:44 -04:00
ca5abdde0e feat(research): run trusted SMA strategies through native workers 2026-10-23 14:07:53 -04:00
2bcadbd117 feat(research): run stateful TypeScript strategies on canonical replay 2026-10-23 13:08:24 -04:00
3838295eec feat(research): add canonical session reporting and analytics 2026-10-23 12:05:14 -04:00
e3bd722e31 perf(research): add compact replay projections and representative profiling 2026-10-23 10:42:31 -04:00
e3635f23cf feat(engine): expose canonical replay sessions through native workers 2026-10-23 00:54:36 -04:00
b65acccd91 feat(research): add owner-aware ledger and intraday storage
Implement reviewed F02/D02: exact owner accounting, atomic funding checks, idempotent receipts and ledger checkpoints; connect existing EOD intraday storage through validated research admission without active financial-engine cutover.
2026-10-22 21:16:53 -04:00
b4af840d4e feat(research): add financial contracts and availability-aware datasets
Implement reviewed F01/D01 foundations without changing active trading runtimes. Validate strict Rust/TypeScript financial wire contracts, decimal postings, versioned datasets, explicit calendars, provenance, and v1 compatibility.
2026-10-22 20:51:25 -04:00
43ffb547be fix(runtime): isolate legacy research from paper execution 2026-10-22 14:50:24 -04:00
3d26da07f5 fix(runtime): recover safely from partial initialization 2026-10-22 14:17:25 -04:00
a21a1b8cb8 fix(execution): include unpaid fees in funding checks 2026-10-22 14:17:25 -04:00
b7aeca4888 cleanup 2026-10-22 09:46:29 -04:00
e4925ecdfe Separate backtest execution settings from strategy parameters 2026-10-22 00:19:19 -04:00
420c47704e Share backtest request contracts and isolate stored result mapping 2026-10-21 23:57:48 -04:00
007e35c747 Remove dataset input caps and simplify preparation 2026-10-21 23:34:10 -04:00
6bd671d92a Bound backtest dataset preparation and preserve replay identity 2026-10-21 23:18:23 -04:00
cca5d71e6e Add versioned streaming indicators and share chart calculations 2026-10-21 22:22:42 -04:00
7827220b9b Extract shared calculations and preserve legacy research capabilities 2026-10-21 20:27:07 -04:00
ccce401f72 Unify analytics calculations and fail closed on unavailable data 2026-10-21 19:28:21 -04:00
783b619846 Remove legacy strategy frameworks and clarify supported execution paths 2026-10-21 17:38:50 -04:00
4207bf2c1c Centralize strategy contracts and share indicator calculations 2026-10-21 15:50:39 -04:00
366d39001b Separate backtest playback, market projection, and reporting 2026-10-21 14:03:54 -04:00
694c48bbdb Refactor execution boundaries and add durable strategy recovery 2026-10-21 12:23:43 -04:00
d6b09eb635 Freeze historical datasets and qualify backtest instrument identities 2026-10-20 23:59:15 -04:00