hedgequantx 2.6.22 → 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
|
@@ -270,7 +270,7 @@ const launchAlgo = async (service, account, contract, config) => {
|
|
|
270
270
|
if (tickSize !== null && tickValue !== null) {
|
|
271
271
|
strategy.initialize(contractId, tickSize, tickValue);
|
|
272
272
|
} else {
|
|
273
|
-
algoLogger.
|
|
273
|
+
algoLogger.warning(ui, 'WARNING', 'Tick size/value not available from API');
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
// Initialize Position Manager for fast path
|
|
@@ -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', `${
|
|
363
|
+
algoLogger.info(ui, 'AI SUPERVISION', `${aiAgentCount} agent(s) - ${stats.aiMode} mode - LEARNING ACTIVE`);
|
|
362
364
|
}
|
|
363
365
|
|
|
364
366
|
// Log execution path
|