feat: add autonomous paper-trading and calibration pipeline
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
const path = require('path');
|
||||
const { runExecutionWorker } = require('./executionWorker');
|
||||
|
||||
runExecutionWorker({
|
||||
intelligencePath: process.env.INTELLIGENCE_DB || path.resolve('/data/intelligence.sqlite'),
|
||||
pollMs: Number(process.env.AUTONOMY_EXECUTION_POLL_MS) || 10000,
|
||||
mode: process.env.AUTONOMY_EXECUTION_MODE || 'shadow',
|
||||
notional: Number(process.env.AUTONOMY_DEFAULT_NOTIONAL) || 100,
|
||||
}).catch((error) => {
|
||||
console.error('[execution] fatal:', error);
|
||||
process.exit(1);
|
||||
});
|
||||
Reference in New Issue
Block a user