hedgequantx 2.9.63 → 2.9.64

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.64",
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
  }
@@ -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
  /**