Skip to content

Commit e1bf433

Browse files
Pigbibiclaudecursoragent
committed
fix(risk): harden apply_risk_gate and relax pool rotation limits
Preserve budgets on reject; pool rotation uses default gate; trend/BTC use 50% cap. Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 1b6323b commit e1bf433

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/crypto_strategies/entrypoints/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def evaluate_crypto_live_pool_rotation(ctx: StrategyContext) -> StrategyDecision
261261
risk_flags=risk_flags,
262262
diagnostics=diagnostics,
263263
)
264-
return apply_risk_gate(decision, max_single_weight=0.30)
264+
return apply_risk_gate(decision)
265265

266266

267267
crypto_live_pool_rotation_entrypoint = CallableStrategyEntrypoint(
@@ -426,7 +426,7 @@ def evaluate_crypto_trend_rotation(ctx: StrategyContext) -> StrategyDecision:
426426
risk_flags=risk_flags,
427427
diagnostics=diagnostics,
428428
)
429-
return apply_risk_gate(decision, max_single_weight=0.30)
429+
return apply_risk_gate(decision, max_single_weight=0.50)
430430

431431

432432
crypto_trend_rotation_entrypoint = CallableStrategyEntrypoint(

0 commit comments

Comments
 (0)