Use Kelly allocation for Torch position scaling

This commit is contained in:
Codex
2026-06-26 20:20:23 +03:00
parent 87cb7e8fe3
commit 61a063cda7
12 changed files with 239 additions and 62 deletions
+3
View File
@@ -156,6 +156,9 @@ class CryptoSpotBot:
learning["adaptive_rules"] = self._with_exposure_context(learning.get("adaptive_rules") or {})
account = self.broker.account_state(prices)
account["risk_guard"] = risk_guard
account["symbol"] = symbol
account["symbol_exposure_usdt"] = self.broker.symbol_exposure(symbol)
account["open_positions_for_symbol"] = open_count
if risk_guard.get("block_new_entries"):
self.storage.insert_signal(
Signal(