hedgequantx 2.9.63 → 2.9.65

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.9.63",
3
+ "version": "2.9.65",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -269,7 +269,7 @@ const executeAlgo = async ({ service, account, contract, config, strategy: strat
269
269
  // Log bias only when it changes or every 10 seconds
270
270
  if (bias !== lastBias || currentSecond % 10 === 0) {
271
271
  const biasLog = smartLogs.getMarketBiasLog(bias, delta, buyPressure);
272
- const biasType = bias === 'LONG' ? 'ready' : bias === 'SHORT' ? 'risk' : 'analysis';
272
+ const biasType = bias === 'LONG' ? 'bullish' : bias === 'SHORT' ? 'bearish' : 'analysis';
273
273
  ui.addLog(biasType, `${biasLog.message} ${biasLog.details || ''}`);
274
274
  lastBias = bias;
275
275
  }
@@ -298,6 +298,13 @@ const executeAlgo = async ({ service, account, contract, config, strategy: strat
298
298
  ui.addLog('debug', `${tickLog.message} ${tickLog.details}`);
299
299
  }
300
300
 
301
+ // AI Agents status log every 20 seconds
302
+ if (currentSecond % 20 === 0 && supervisionEnabled && supervisionEngine) {
303
+ const status = supervisionEngine.getStatus();
304
+ const agentNames = status.agents.map(a => a.name.split(' ')[0]).join(', ');
305
+ ui.addLog('analysis', `AI Agents (${status.availableAgents}): ${agentNames} - watching...`);
306
+ }
307
+
301
308
  // Reset volume counters
302
309
  buyVolume = 0;
303
310
  sellVolume = 0;
@@ -35,7 +35,10 @@ const LOG_COLORS = {
35
35
  analysis: chalk.blue,
36
36
  risk: chalk.yellow,
37
37
  system: chalk.blue,
38
- debug: chalk.gray
38
+ debug: chalk.gray,
39
+ // Market bias
40
+ bullish: chalk.cyan.bold,
41
+ bearish: chalk.magenta.bold
39
42
  };
40
43
 
41
44
  // Log type icons - compact HF style
@@ -54,7 +57,9 @@ const LOG_ICONS = {
54
57
  analysis: 'ANLZ ',
55
58
  risk: 'RISK ',
56
59
  system: 'SYS ',
57
- debug: 'DBG '
60
+ debug: 'DBG ',
61
+ bullish: 'BULL ',
62
+ bearish: 'BEAR '
58
63
  };
59
64
 
60
65
  /**