hedgequantx 2.7.17 → 2.7.18
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 +1 -1
- package/src/menus/dashboard.js +4 -2
package/package.json
CHANGED
package/src/menus/dashboard.js
CHANGED
|
@@ -90,7 +90,6 @@ const dashboardMenu = async (service) => {
|
|
|
90
90
|
{ left: '[1] View Accounts', right: '[2] View Stats' },
|
|
91
91
|
{ left: '[+] Add Prop-Account', right: '[A] Algo-Trading' },
|
|
92
92
|
{ left: '[I] AI Agents', right: '[U] Update HQX' },
|
|
93
|
-
{ left: '', right: '[X] Disconnect' },
|
|
94
93
|
];
|
|
95
94
|
|
|
96
95
|
const maxLeftLen = Math.max(...menuItems.map(m => m.left.length));
|
|
@@ -123,7 +122,10 @@ const dashboardMenu = async (service) => {
|
|
|
123
122
|
menuRow('[1] View Accounts', '[2] View Stats', chalk.cyan, chalk.cyan);
|
|
124
123
|
menuRow('[+] Add Prop-Account', '[A] Algo-Trading', chalk.cyan, chalk.magenta);
|
|
125
124
|
menuRow('[I] AI Agents', '[U] Update HQX', chalk.green, chalk.yellow);
|
|
126
|
-
|
|
125
|
+
|
|
126
|
+
// Separator and centered Disconnect button
|
|
127
|
+
console.log(chalk.cyan('╠' + '─'.repeat(W) + '╣'));
|
|
128
|
+
console.log(makeLine(chalk.red('[X] Disconnect'), 'center'));
|
|
127
129
|
|
|
128
130
|
console.log(chalk.cyan('╚' + '═'.repeat(W) + '╝'));
|
|
129
131
|
|