COB integration - finally
This commit is contained in:
@ -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'):
|
||||
|
@ -117,7 +117,7 @@ class TradeDataManager:
|
||||
model_inputs['price_history'] = []
|
||||
|
||||
total_features = sum(len(v) if isinstance(v, (dict, list)) else 1 for v in model_inputs.values())
|
||||
logger.info(f"✅ Captured {total_features} total features for cold start training")
|
||||
logger.info(f" Captured {total_features} total features for cold start training")
|
||||
|
||||
return model_inputs
|
||||
|
||||
|
Reference in New Issue
Block a user