- Rust engine: real bootstrap/wiring preflight (guardrail-agent), execution layer (retry/router/pre-trade/post-trade/reconciliation), guardrail-doctor diagnostics with allowlist-drift guard. - guardrail-cli: extracted pure helpers into util.rs (split in progress). - 6 Track-2 skills + ensemble; python-lab analytics (regime/drawdown/montecarlo/dossier/ensemble/journal/seed); clients (ts/py/go/mcp/langchain/web-lite/proof-verifier); alert relay; scenarios; helm/k8s/compose; docs. - dashboard/vercel.json + docs/VERCEL_DEPLOY.md for Vercel deployment. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
40 lines
1.4 KiB
JSON
40 lines
1.4 KiB
JSON
{
|
|
"description": "Required-output schema contract for the trend-breakout-momentum-bsc Skill.",
|
|
"required_outputs": [
|
|
"market_regime",
|
|
"breakout_scores",
|
|
"target_portfolio",
|
|
"actions",
|
|
"risk_policy"
|
|
],
|
|
"market_regime_enum": ["risk_on", "risk_off", "chop", "breakout"],
|
|
"breakout_score_fields": ["symbol", "trend_score", "momentum_component", "struct_score", "breakout_tilt", "base_score", "security_penalty", "breakout_score"],
|
|
"target_portfolio_fields": ["symbol", "weight_pct"],
|
|
"action_types": ["entry", "exit", "rebalance", "trim", "no_entry", "reject", "heartbeat"],
|
|
"invariants": {
|
|
"score_range": [0.0, 1.0],
|
|
"breakout_tilt_range": [0.0, 1.0],
|
|
"struct_score_range": [0.0, 1.0],
|
|
"weights_sum_pct": 100,
|
|
"max_position_weight_pct": 17.0,
|
|
"min_score_to_enter": 0.65,
|
|
"min_score_to_hold": 0.50,
|
|
"target_stable_reserve_pct": 12.0,
|
|
"min_stable_reserve_pct": 10.0,
|
|
"max_positions": 5,
|
|
"tilt_blend": "0.4*trend_score + 0.35*momentum_component + 0.25*struct_score",
|
|
"volume_confirm_ratio": 1.5,
|
|
"volume_fakeout_ratio": 1.0,
|
|
"donchian_lookback": 20,
|
|
"ema_stack": [12, 26, 50],
|
|
"macd": [12, 26, 9],
|
|
"atr_period": 14,
|
|
"stop_loss_pct": 12.0,
|
|
"take_profit_pct": 40.0,
|
|
"drawdown_throttle_pct": 22.0,
|
|
"kill_switch_pct": 24.0,
|
|
"exposure_multipliers": { "breakout": 1.1, "risk_on": 1.0, "chop": 0.4, "risk_off": 0.15 },
|
|
"reserve_symbol": "USDT"
|
|
}
|
|
}
|