- clients/typescript: dependency-free Node CLI (status/regime/journal/ensemble/skills/verify/snapshots) + 6 typed SDK methods. tsc clean. - skills: 7th Track-2 skill momentum-volatility-blend; 32 examples validate across 8 dirs; INDEX has 7. - dashboard: /submission judge landing page (readiness/proof-verify/scorecard/prizes/compete). tsc clean. - guardrail-agent: graceful Ctrl-C/SIGTERM shutdown + top-level error->non-zero exit (shutdown.rs). bounded run exits 0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
60 lines
6.0 KiB
JSON
60 lines
6.0 KiB
JSON
{
|
|
"scenario": "risk_off",
|
|
"as_of": "2026-06-14T00:00:00Z",
|
|
"note": "Fearful, broadly declining tape — trends fail. Exposure minimal (multiplier 0.15); cut to a near-full USDT reserve, hold at most one resilient leader tiny, and place a heartbeat trade to satisfy the daily-trade requirement while protective exits run. Every name is either in a downtrend (momentum_leg 0) or at blow-off vol from the sell-off.",
|
|
"inputs": {
|
|
"fear_greed": { "value": 24, "value_classification": "fear" },
|
|
"global": { "total_market_cap_usd": 2050000000000, "btc_dominance_pct": 55.0 },
|
|
"market_breadth": { "breadth_pct": 33.0, "median_24h_return": -3.2 },
|
|
"quotes": [
|
|
{ "symbol": "BTCB", "price_usd": 61000.0, "percent_change_1h": -0.4, "percent_change_24h": -1.8, "percent_change_7d": -5.0, "market_cap_usd": 1200000000000, "volume_24h_usd": 22000000000, "liquidity_usd": 60000000, "volatility_1h": 2.6, "safety_score": 99, "security_flags": [] },
|
|
{ "symbol": "WBNB", "price_usd": 560.0, "percent_change_1h": -0.9, "percent_change_24h": -4.6, "percent_change_7d": -10.2, "market_cap_usd": 80000000000, "volume_24h_usd": 2400000000, "liquidity_usd": 41000000, "volatility_1h": 4.0, "safety_score": 96, "security_flags": [] },
|
|
{ "symbol": "ETH", "price_usd": 3150.0, "percent_change_1h": -1.1, "percent_change_24h": -5.2, "percent_change_7d": -11.0, "market_cap_usd": 378000000000, "volume_24h_usd": 17000000000, "liquidity_usd": 53000000, "volatility_1h": 3.8, "safety_score": 98, "security_flags": [] },
|
|
{ "symbol": "CAKE", "price_usd": 2.30, "percent_change_1h": -1.6, "percent_change_24h": -7.8, "percent_change_7d": -16.0, "market_cap_usd": 740000000, "volume_24h_usd": 210000000, "liquidity_usd": 8500000, "volatility_1h": 6.6, "safety_score": 90, "security_flags": [] }
|
|
],
|
|
"indicators": [
|
|
{ "symbol": "BTCB", "ema12": 61500.0, "ema26": 62200.0, "ema50": 63000.0, "macd_hist": -260.0, "atr14": 1500.0, "realised_vol_annual_pct": 58.0 },
|
|
{ "symbol": "WBNB", "ema12": 575.0, "ema26": 588.0, "ema50": 600.0, "macd_hist": -7.0, "atr14": 22.0, "realised_vol_annual_pct": 96.0 },
|
|
{ "symbol": "ETH", "ema12": 3220.0, "ema26": 3300.0, "ema50": 3380.0, "macd_hist": -42.0, "atr14": 110.0, "realised_vol_annual_pct": 88.0 },
|
|
{ "symbol": "CAKE", "ema12": 2.45, "ema26": 2.58, "ema50": 2.66, "macd_hist": -0.07, "atr14": 0.16, "realised_vol_annual_pct": 145.0 }
|
|
]
|
|
},
|
|
"computed": {
|
|
"market_regime": "risk_off",
|
|
"regime_reason": "breadth_pct 33 <= 40 AND median_24h_return -3.2 < -2 AND fear_greed 24 <= 30 (fear) -> risk_off (broad decline; trends fail)",
|
|
"exposure_multiplier": 0.15,
|
|
"risk_budget_pct": 13.2,
|
|
"risk_budget_reason": "(100 - target_stable_reserve 12) * 0.15 = 13.2; no name pairs a valid uptrend with healthy vol, so the book is a near-full USDT reserve with one tiny resilient-leader heartbeat starter.",
|
|
"blend_scores": [
|
|
{ "symbol": "BTCB", "momentum_leg": 0.00, "vol_quality": 1.00, "blend_tilt": 0.00, "base_score": 0.58, "security_penalty": 0.01, "blend_score": 0.00, "realised_vol_annual_pct": 58.0, "components": "most resilient large-cap and realised vol 58 is healthy, but EMA stack falling + macd_hist<0 -> momentum_leg 0 -> blend_score 0" },
|
|
{ "symbol": "WBNB", "momentum_leg": 0.00, "vol_quality": 0.45, "blend_tilt": 0.00, "base_score": 0.45, "security_penalty": 0.02, "blend_score": 0.00, "realised_vol_annual_pct": 96.0, "components": "downtrend (momentum_leg 0) AND realised vol 96 ramping toward blow-off -> double demoted" },
|
|
{ "symbol": "ETH", "momentum_leg": 0.00, "vol_quality": 0.73, "blend_tilt": 0.00, "base_score": 0.44, "security_penalty": 0.01, "blend_score": 0.00, "realised_vol_annual_pct": 88.0, "components": "downtrend, macd_hist<0 -> momentum_leg 0; vol 88 elevated" },
|
|
{ "symbol": "CAKE", "momentum_leg": 0.00, "vol_quality": 0.00, "blend_tilt": 0.00, "base_score": 0.38, "security_penalty": 0.03, "blend_score": 0.00, "realised_vol_annual_pct": 145.0, "components": "steep downtrend (momentum_leg 0) AND realised vol 145 > ceiling 110 (blow-off) -> vol_quality 0" }
|
|
],
|
|
"blend_reason": "No asset pairs a valid uptrend with healthy realised vol in a falling tape: every EMA stack is inverted (momentum_leg 0) and the survivors that hold vol are still down-trending. All blend_scores are 0. The Skill holds a near-full USDT reserve; a single tiny BTCB heartbeat trade keeps the agent daily-trade compliant while protective exits run."
|
|
},
|
|
"decision": {
|
|
"target_portfolio": [
|
|
{ "symbol": "BTCB", "weight_pct": 6.0 },
|
|
{ "symbol": "USDT", "weight_pct": 94.0 }
|
|
],
|
|
"rules": {
|
|
"entry": [
|
|
"Do not initiate blend entries in risk_off (failed-trend regime); hold the USDT reserve.",
|
|
"If a daily heartbeat trade is required, place the smallest compliant clip in the single most resilient large-cap (highest base_score) and immediately bring exposure back to the reserve.",
|
|
"Per-name weight capped at 17%; min_stable_reserve floor 10% always honoured."
|
|
],
|
|
"exit": [
|
|
"Exit any inherited blend position whose blend_score < 0.50, whose trend breaks (close below EMA26 / negative MACD hist), or whose realised vol leaves the healthy band.",
|
|
"Force-exit at stop_loss 12% or take_profit 40%; on the risk_off transition rotate all risk into USDT.",
|
|
"Stay flat until breadth and momentum recover into risk_on/breakout with healthy vol."
|
|
]
|
|
},
|
|
"actions": [
|
|
{ "type": "exit", "symbol": "WBNB", "side": "sell", "target_weight_pct": 0.0, "reason": "risk_off transition + downtrend (momentum_leg 0) + vol ramping to blow-off -> rotate to USDT", "execution": "twap" },
|
|
{ "type": "exit", "symbol": "ETH", "side": "sell", "target_weight_pct": 0.0, "reason": "downtrend, macd_hist<0 -> rotate to USDT", "execution": "twap" },
|
|
{ "type": "heartbeat", "symbol": "BTCB", "side": "buy", "target_weight_pct": 6.0, "reason": "smallest compliant daily-trade clip in the most resilient large-cap; satisfies min_trades_per_day 1 without taking real trend risk", "execution": "twap" }
|
|
]
|
|
}
|
|
}
|