hedgequantx 1.8.45 → 1.8.46

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": "1.8.45",
3
+ "version": "1.8.46",
4
4
  "description": "Prop Futures Algo Trading CLI - Connect to Topstep, Alpha Futures, and other prop firms",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -43,7 +43,7 @@ const dashboardMenu = async (service) => {
43
43
  console.log(makeLine(propfirmText, 'center'));
44
44
  }
45
45
 
46
- // Stats bar
46
+ // Stats bar with yellow icons
47
47
  const statsInfo = getCachedStats();
48
48
  if (statsInfo) {
49
49
  console.log(chalk.cyan('╠' + '═'.repeat(W) + '╣'));
@@ -60,15 +60,17 @@ const dashboardMenu = async (service) => {
60
60
  pnlDisplay = '--';
61
61
  }
62
62
 
63
- const statsPlain = `Connections: ${statsInfo.connections} Accounts: ${statsInfo.accounts} Balance: ${balStr} P&L: ${pnlDisplay}`;
63
+ // Yellow icons: for each stat
64
+ const icon = chalk.yellow('✔ ');
65
+ const statsPlain = `✔ Connections: ${statsInfo.connections} ✔ Accounts: ${statsInfo.accounts} ✔ Balance: ${balStr} ✔ P&L: ${pnlDisplay}`;
64
66
  const statsLeftPad = Math.floor((W - statsPlain.length) / 2);
65
67
  const statsRightPad = W - statsPlain.length - statsLeftPad;
66
68
 
67
69
  console.log(chalk.cyan('║') + ' '.repeat(statsLeftPad) +
68
- chalk.white(`Connections: ${statsInfo.connections}`) + ' ' +
69
- chalk.white(`Accounts: ${statsInfo.accounts}`) + ' ' +
70
- chalk.white('Balance: ') + balColor(balStr) + ' ' +
71
- chalk.white('P&L: ') + pnlColor(pnlDisplay) +
70
+ icon + chalk.white(`Connections: ${statsInfo.connections}`) + ' ' +
71
+ icon + chalk.white(`Accounts: ${statsInfo.accounts}`) + ' ' +
72
+ icon + chalk.white('Balance: ') + balColor(balStr) + ' ' +
73
+ icon + chalk.white('P&L: ') + pnlColor(pnlDisplay) +
72
74
  ' '.repeat(Math.max(0, statsRightPad)) + chalk.cyan('║'));
73
75
  }
74
76