feat: add autonomous paper-trading and calibration pipeline
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
const path = require('path');
|
||||
const { runCoordinatorWorker } = require('./coordinatorWorker');
|
||||
|
||||
runCoordinatorWorker({
|
||||
archivePath: process.env.DURIIN_DB || path.resolve('/data/archive.sqlite'),
|
||||
intelligencePath: process.env.INTELLIGENCE_DB || path.resolve('/data/intelligence.sqlite'),
|
||||
pollMs: Number(process.env.AUTONOMY_POLL_MS) || 1000,
|
||||
}).catch((error) => {
|
||||
console.error('[coordinator] fatal:', error);
|
||||
process.exit(1);
|
||||
});
|
||||
Reference in New Issue
Block a user