- 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>
55 lines
4.2 KiB
JSON
55 lines
4.2 KiB
JSON
{
|
|
"scenario": "risk_on",
|
|
"as_of": "2026-06-13T00:00:00Z",
|
|
"inputs": {
|
|
"fear_greed": { "value": 58, "value_classification": "greed" },
|
|
"global": { "total_market_cap_usd": 2380000000000, "btc_dominance_pct": 51.2 },
|
|
"market_breadth": { "breadth_pct": 58.0, "median_24h_return": 1.3 },
|
|
"trending": ["CAKE", "INJ", "AVAX"],
|
|
"quotes": [
|
|
{ "symbol": "WBNB", "price_usd": 612.4, "percent_change_1h": 0.6, "percent_change_24h": 2.1, "market_cap_usd": 88000000000, "volume_24h_usd": 1900000000, "liquidity_usd": 42000000, "volatility_1h": 2.6, "safety_score": 96, "security_flags": [] },
|
|
{ "symbol": "CAKE", "price_usd": 2.84, "percent_change_1h": 1.4, "percent_change_24h": 4.8, "market_cap_usd": 820000000, "volume_24h_usd": 240000000, "liquidity_usd": 12000000, "volatility_1h": 3.4, "safety_score": 92, "security_flags": [] },
|
|
{ "symbol": "INJ", "price_usd": 27.1, "percent_change_1h": 1.1, "percent_change_24h": 5.6, "market_cap_usd": 2700000000, "volume_24h_usd": 310000000, "liquidity_usd": 8500000, "volatility_1h": 3.9, "safety_score": 88, "security_flags": [] },
|
|
{ "symbol": "ETH", "price_usd": 3420.0, "percent_change_1h": 0.4, "percent_change_24h": 1.6, "market_cap_usd": 411000000000, "volume_24h_usd": 14000000000, "liquidity_usd": 55000000, "volatility_1h": 2.2, "safety_score": 98, "security_flags": [] },
|
|
{ "symbol": "SHIB", "price_usd": 0.0000172, "percent_change_1h": -0.3, "percent_change_24h": 0.9, "market_cap_usd": 10100000000, "volume_24h_usd": 280000000, "liquidity_usd": 4200000, "volatility_1h": 5.8, "safety_score": 71, "security_flags": ["high_holder_concentration"] }
|
|
]
|
|
},
|
|
"computed": {
|
|
"market_regime": "risk_on",
|
|
"regime_reason": "breadth_pct 58 >= 55 AND fear_greed 58 >= 50 (breakout not met: median 1.3 <= 2)",
|
|
"exposure_multiplier": 1.0,
|
|
"asset_scores": [
|
|
{ "symbol": "CAKE", "score": 0.78, "components": { "momentum": 0.66, "volume": 0.58, "volatility": 0.93, "liquidity": 0.69, "sentiment": 0.77, "execution_quality": 0.97 }, "security_penalty": 0.04 },
|
|
{ "symbol": "INJ", "score": 0.74, "components": { "momentum": 0.65, "volume": 0.46, "volatility": 0.85, "liquidity": 0.64, "sentiment": 0.77, "execution_quality": 0.95 }, "security_penalty": 0.06 },
|
|
{ "symbol": "WBNB", "score": 0.71, "components": { "momentum": 0.56, "volume": 0.30, "volatility": 0.93, "liquidity": 0.76, "sentiment": 0.77, "execution_quality": 0.99 }, "security_penalty": 0.02 },
|
|
{ "symbol": "ETH", "score": 0.67, "components": { "momentum": 0.53, "volume": 0.25, "volatility": 0.87, "liquidity": 0.78, "sentiment": 0.77, "execution_quality": 0.99 }, "security_penalty": 0.01 },
|
|
{ "symbol": "SHIB", "score": 0.41, "components": { "momentum": 0.49, "volume": 0.44, "volatility": 0.53, "liquidity": 0.56, "sentiment": 0.77, "execution_quality": 0.95 }, "security_penalty": 0.40 }
|
|
]
|
|
},
|
|
"decision": {
|
|
"target_portfolio": [
|
|
{ "symbol": "CAKE", "weight_pct": 17.0 },
|
|
{ "symbol": "INJ", "weight_pct": 17.0 },
|
|
{ "symbol": "WBNB", "weight_pct": 16.79 },
|
|
{ "symbol": "ETH", "weight_pct": 15.83 },
|
|
{ "symbol": "USDT", "weight_pct": 33.38 }
|
|
],
|
|
"actions": [
|
|
{ "type": "entry", "symbol": "CAKE", "side": "buy", "target_weight_pct": 17.0, "reason": "score 0.78 >= 0.65; capped at max_position_weight_pct 17", "execution": "twap" },
|
|
{ "type": "entry", "symbol": "INJ", "side": "buy", "target_weight_pct": 17.0, "reason": "score 0.74 >= 0.65; per-name cap applied", "execution": "twap" },
|
|
{ "type": "entry", "symbol": "WBNB", "side": "buy", "target_weight_pct": 16.79, "reason": "score 0.71 >= 0.65", "execution": "twap" },
|
|
{ "type": "entry", "symbol": "ETH", "side": "buy", "target_weight_pct": 15.83, "reason": "score 0.67 >= 0.65", "execution": "twap" },
|
|
{ "type": "reject", "symbol": "SHIB", "reason": "score 0.41 < min_score_to_enter 0.65 (security penalty 0.40 from high_holder_concentration flag)" }
|
|
],
|
|
"risk_policy": {
|
|
"max_position_pct": 18.0,
|
|
"min_stable_reserve_pct": 10.0,
|
|
"max_total_drawdown_pct": 22.0,
|
|
"kill_switch_drawdown_pct": 24.0,
|
|
"throttled": false,
|
|
"kill_engaged": false
|
|
},
|
|
"daily_trade_requirement": { "enabled": true, "satisfied_by": "signal_trades", "trades_today": 4 }
|
|
}
|
|
}
|