hedgequantx 2.9.69 → 2.9.71

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.69",
3
+ "version": "2.9.71",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -43,7 +43,7 @@ const dashboardMenu = async (service) => {
43
43
 
44
44
  // New rectangle (banner is always closed)
45
45
  console.log(chalk.cyan('╔' + '═'.repeat(W) + '╗'));
46
- console.log(makeLine(chalk.yellow.bold('WELCOME, HQX TRADER!'), 'center'));
46
+ console.log(makeLine(chalk.reset.yellow.bold('WELCOME, HQX TRADER!'), 'center'));
47
47
  console.log(chalk.cyan('╠' + '═'.repeat(W) + '╣'));
48
48
 
49
49
  // Show connected propfirms
@@ -330,11 +330,11 @@ const executeAlgo = async ({ service, account, contract, config, strategy: strat
330
330
 
331
331
  marketFeed.on('connected', () => {
332
332
  stats.connected = true;
333
- ui.addLog('connected', 'Market data connected!');
334
- ui.addLog('info', 'Subscribing to market data...');
333
+ ui.addLog('connected', 'Market data connected');
335
334
  });
336
- marketFeed.on('subscribed', (symbol) => ui.addLog('info', `Subscribed to ${symbol}`));
337
- marketFeed.on('debug', (msg) => ui.addLog('info', msg));
335
+ marketFeed.on('subscribed', (symbol) => ui.addLog('system', `Subscribed: ${symbol}`));
336
+ // Suppress debug logs - not needed in production
337
+ // marketFeed.on('debug', (msg) => ui.addLog('debug', msg));
338
338
  marketFeed.on('error', (err) => ui.addLog('error', `Market: ${err.message}`));
339
339
  marketFeed.on('disconnected', () => { stats.connected = false; ui.addLog('error', 'Market disconnected'); });
340
340
 
@@ -346,7 +346,6 @@ const executeAlgo = async ({ service, account, contract, config, strategy: strat
346
346
  }
347
347
  await marketFeed.connect(rithmicCredentials);
348
348
  await marketFeed.subscribe(symbolCode, contract.exchange || 'CME');
349
- ui.addLog('info', `Symbol code: ${symbolCode}`);
350
349
  } catch (e) {
351
350
  ui.addLog('error', `Failed to connect: ${e.message}`);
352
351
  }