- 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
110 lines
3.5 KiB
JSON
110 lines
3.5 KiB
JSON
{
|
|
"name": "@stock-bot/stock-config",
|
|
"version": "1.0.0",
|
|
"description": "Stock trading bot configuration",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./backtest": {
|
|
"types": "./dist/contracts/backtest.d.ts",
|
|
"default": "./dist/contracts/backtest.js"
|
|
},
|
|
"./strategy": {
|
|
"types": "./dist/contracts/strategy.d.ts",
|
|
"default": "./dist/contracts/strategy.js"
|
|
},
|
|
"./strategy-names": {
|
|
"types": "./dist/contracts/strategy-names.d.ts",
|
|
"default": "./dist/contracts/strategy-names.js"
|
|
},
|
|
"./canonical-replay": {
|
|
"types": "./dist/contracts/canonical-replay.d.ts",
|
|
"default": "./dist/contracts/canonical-replay.js"
|
|
},
|
|
"./canonical-research": {
|
|
"types": "./dist/contracts/canonical-research.d.ts",
|
|
"default": "./dist/contracts/canonical-research.js"
|
|
},
|
|
"./research": {
|
|
"types": "./dist/contracts/research.d.ts",
|
|
"default": "./dist/contracts/research.js"
|
|
},
|
|
"./experiments": {
|
|
"types": "./dist/contracts/experiments.d.ts",
|
|
"default": "./dist/contracts/experiments.js"
|
|
},
|
|
"./chronological-validation": {
|
|
"types": "./dist/contracts/chronological-validation.d.ts",
|
|
"default": "./dist/contracts/chronological-validation.js"
|
|
},
|
|
"./experiment-comparison": {
|
|
"types": "./dist/contracts/experiment-comparison.d.ts",
|
|
"default": "./dist/contracts/experiment-comparison.js"
|
|
},
|
|
"./cost-sensitivity": {
|
|
"types": "./dist/contracts/cost-sensitivity.d.ts",
|
|
"default": "./dist/contracts/cost-sensitivity.js"
|
|
},
|
|
"./walk-forward": {
|
|
"types": "./dist/contracts/walk-forward.d.ts",
|
|
"default": "./dist/contracts/walk-forward.js"
|
|
},
|
|
"./research-agents": {
|
|
"types": "./dist/contracts/research-agents.d.ts",
|
|
"default": "./dist/contracts/research-agents.js"
|
|
},
|
|
"./research-responses": {
|
|
"types": "./dist/contracts/research-responses/index.d.ts",
|
|
"default": "./dist/contracts/research-responses/index.js"
|
|
},
|
|
"./candidate-execution": {
|
|
"types": "./dist/contracts/candidate-execution.d.ts",
|
|
"default": "./dist/contracts/candidate-execution.js"
|
|
},
|
|
"./paper-deployments": {
|
|
"types": "./dist/contracts/paper-deployments.d.ts",
|
|
"import": "./dist/contracts/paper-deployments.js"
|
|
},
|
|
"./stored-source": {
|
|
"types": "./dist/contracts/stored-source.d.ts",
|
|
"default": "./dist/contracts/stored-source.js"
|
|
},
|
|
"./diagnostics": {
|
|
"types": "./dist/contracts/diagnostics.d.ts",
|
|
"default": "./dist/contracts/diagnostics.js"
|
|
},
|
|
"./product-responses": {
|
|
"types": "./dist/contracts/product-responses/index.d.ts",
|
|
"default": "./dist/contracts/product-responses/index.js"
|
|
},
|
|
"./canonical-execution": {
|
|
"types": "./dist/contracts/canonical-execution.d.ts",
|
|
"default": "./dist/contracts/canonical-execution.js"
|
|
},
|
|
"./paper-runtime": {
|
|
"types": "./dist/contracts/paper-runtime.d.ts",
|
|
"default": "./dist/contracts/paper-runtime.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "rm -rf dist",
|
|
"dev": "tsc --watch",
|
|
"test": "jest",
|
|
"lint": "eslint src --ext .ts"
|
|
},
|
|
"dependencies": {
|
|
"@stock-bot/types": "workspace:*",
|
|
"@stock-bot/config": "*",
|
|
"@stock-bot/logger": "*",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.11.0",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|