hedgequantx 2.6.23 → 2.6.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.6.23",
3
+ "version": "2.6.24",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -335,8 +335,10 @@ const launchAlgo = async (service, account, contract, config) => {
335
335
 
336
336
  // Initialize AI Strategy Supervisor - agents observe, learn & optimize
337
337
  // Only if user enabled AI in config
338
+ let aiAgentCount = 0;
338
339
  if (config.enableAI) {
339
340
  const aiAgents = aiService.getAgents();
341
+ aiAgentCount = aiAgents.length;
340
342
  if (aiAgents.length > 0) {
341
343
  const supervisorResult = StrategySupervisor.initialize(strategy, aiAgents, service, account.accountId);
342
344
  stats.aiSupervision = supervisorResult.success;
@@ -358,7 +360,7 @@ const launchAlgo = async (service, account, contract, config) => {
358
360
 
359
361
  // Log AI supervision status
360
362
  if (stats.aiSupervision) {
361
- algoLogger.info(ui, 'AI SUPERVISION', `${aiAgents.length} agent(s) - ${stats.aiMode} mode - LEARNING ACTIVE`);
363
+ algoLogger.info(ui, 'AI SUPERVISION', `${aiAgentCount} agent(s) - ${stats.aiMode} mode - LEARNING ACTIVE`);
362
364
  }
363
365
 
364
366
  // Log execution path