hedgequantx 2.6.5 → 2.6.6

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.6.5",
3
+ "version": "2.6.6",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -26,7 +26,12 @@ const algoTradingMenu = async (service) => {
26
26
  displayBanner();
27
27
  drawBoxHeaderContinue('ALGO TRADING', boxWidth);
28
28
 
29
- console.log(makeLine(chalk.white('[1] ONE ACCOUNT [2] COPY TRADING')));
29
+ // Centered menu line: numbers in cyan, text in yellow
30
+ const menuText = chalk.cyan('[1]') + chalk.yellow(' ONE ACCOUNT ') + chalk.cyan('[2]') + chalk.yellow(' COPY TRADING');
31
+ const plainLen = '[1] ONE ACCOUNT [2] COPY TRADING'.length;
32
+ const leftPad = Math.floor((W - plainLen) / 2);
33
+ const rightPad = W - plainLen - leftPad;
34
+ console.log(chalk.cyan('║') + ' '.repeat(leftPad) + menuText + ' '.repeat(rightPad) + chalk.cyan('║'));
30
35
 
31
36
  drawBoxFooter(boxWidth);
32
37