- 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
35 lines
1.3 KiB
JSON
35 lines
1.3 KiB
JSON
{
|
|
"name": "@stock-bot/orchestrator",
|
|
"version": "0.1.0",
|
|
"description": "Trading system orchestrator — canonical Rust execution and durable research/paper workers",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"dev": "bun --watch src/index.ts",
|
|
"build": "bun build src/index.ts src/backtest/native-worker.ts src/paper/paper-host.ts --outdir dist --entry-naming '[name].[ext]' --target node --external @stock-bot/engine",
|
|
"start": "bun dist/index.js",
|
|
"test": "bun test",
|
|
"build:rust": "cd ../engine && cargo build --release && napi build --platform --release"
|
|
},
|
|
"dependencies": {
|
|
"@stock-bot/research": "workspace:*",
|
|
"@stock-bot/calculations": "workspace:*",
|
|
"decimal.js-light": "2.5.1",
|
|
"@stock-bot/engine": "workspace:*",
|
|
"@stock-bot/di": "workspace:*",
|
|
"@stock-bot/logger": "workspace:*",
|
|
"@stock-bot/stock-config": "workspace:*",
|
|
"hono": "^4.0.0",
|
|
"zod": "^3.22.0",
|
|
"@stock-bot/services": "workspace:*",
|
|
"@stock-bot/postgres": "workspace:*",
|
|
"@stock-bot/invariants": "workspace:*",
|
|
"@stock-bot/types": "workspace:*",
|
|
"@stock-bot/handlers": "workspace:*",
|
|
"@stock-bot/trading-runtime": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.0.0"
|
|
}
|
|
}
|