feat(paper): gate canonical execution on durable feed readiness

This commit is contained in:
Boki 2026-10-23 16:50:35 -04:00
parent c01e96e4dd
commit 75abae2cfc
24 changed files with 3720 additions and 66 deletions

View file

@ -87,6 +87,8 @@ export const stockAppSchema = baseAppSchema.extend({
port: z.number().default(3002),
defaultMode: z.enum(['backtest', 'paper', 'live']).default('paper'),
paperTradingCapital: z.number().default(100000),
// Validated by the orchestrator's canonical contract before opening resources.
canonicalPaper: z.record(z.unknown()).optional(),
enableWebSocket: z.boolean().default(true),
backtesting: z
.object({