feat: add autonomous paper-trading and calibration pipeline

This commit is contained in:
ImBenji
2026-08-03 14:03:27 +01:00
parent 5a9a2e4c6d
commit c4028cc394
46 changed files with 2246 additions and 115 deletions
+93
View File
@@ -10,11 +10,13 @@ services:
environment:
NODE_ENV: production
INTELLIGENCE_DB: /data/intelligence.sqlite
DURIIN_RUN_SCHEDULER: "false"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
intelligence:
profiles: [legacy]
build:
context: .
provenance: false
@@ -31,6 +33,97 @@ services:
networks:
- nginx_proxy_manager_default
autonomy:
profiles: [autonomy]
build:
context: .
provenance: false
command: node workers/autonomy-entrypoint.js
env_file: .env
volumes:
- ./config.json:/app/config.json:ro
- ./data:/data
environment:
NODE_ENV: production
DURIIN_DB: /data/archive.sqlite
INTELLIGENCE_DB: /data/intelligence.sqlite
AUTONOMY_POLL_MS: "1000"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
coordinator:
profiles: [autonomy]
build:
context: .
provenance: false
command: node workers/coordinator-entrypoint.js
env_file: .env
volumes:
- ./config.json:/app/config.json:ro
- ./data:/data
environment:
NODE_ENV: production
DURIIN_DB: /data/archive.sqlite
INTELLIGENCE_DB: /data/intelligence.sqlite
AUTONOMY_POLL_MS: "1000"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
autonomy-outcomes:
profiles: [autonomy]
build:
context: .
provenance: false
command: node workers/outcome-autonomy-entrypoint.js
env_file: .env
volumes:
- ./data:/data
environment:
NODE_ENV: production
INTELLIGENCE_DB: /data/intelligence.sqlite
AUTONOMY_OUTCOME_POLL_MS: "60000"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
calibration:
profiles: [autonomy]
build:
context: .
provenance: false
command: node workers/calibration-entrypoint.js
env_file: .env
volumes:
- ./data:/data
environment:
NODE_ENV: production
INTELLIGENCE_DB: /data/intelligence.sqlite
AUTONOMY_CALIBRATION_POLL_MS: "60000"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
execution:
profiles: [autonomy]
build:
context: .
provenance: false
command: node workers/execution-entrypoint.js
env_file: .env
volumes:
- ./data:/data
environment:
NODE_ENV: production
INTELLIGENCE_DB: /data/intelligence.sqlite
AUTONOMY_EXECUTION_MODE: "shadow"
AUTONOMY_DEFAULT_NOTIONAL: "100"
AUTONOMY_EXECUTION_POLL_MS: "10000"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
networks:
nginx_proxy_manager_default:
external: true