COB integration - finally

This commit is contained in:
Dobromir Popov
2025-06-26 01:42:48 +03:00
parent 616f019855
commit 3a5a1056c4
5 changed files with 1013 additions and 336 deletions

View File

@ -140,7 +140,7 @@ class TradingOrchestrator:
from NN.models.dqn_agent import DQNAgent
state_size = self.config.rl.get('state_size', 13800) # Enhanced with COB features
action_size = self.config.rl.get('action_space', 3)
self.rl_agent = DQNAgent(state_size=state_size, action_size=action_size)
self.rl_agent = DQNAgent(state_shape=state_size, n_actions=action_size)
# Load best checkpoint and capture initial state
if hasattr(self.rl_agent, 'load_best_checkpoint'):