hedgequantx 1.2.141 → 1.2.142
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/app.js +5 -7
package/package.json
CHANGED
package/src/app.js
CHANGED
|
@@ -665,20 +665,18 @@ const dashboardMenu = async (service) => {
|
|
|
665
665
|
// Dashboard box header
|
|
666
666
|
console.log();
|
|
667
667
|
console.log(chalk.cyan('╔' + '═'.repeat(W) + '╗'));
|
|
668
|
-
console.log(chalk.cyan('║') + chalk.
|
|
668
|
+
console.log(chalk.cyan('║') + chalk.yellow.bold(centerLine('Welcome, HQX Trader!', W)) + chalk.cyan('║'));
|
|
669
669
|
console.log(chalk.cyan('╠' + '═'.repeat(W) + '╣'));
|
|
670
670
|
|
|
671
671
|
// Connection info - show all active connections
|
|
672
672
|
const allConns = connections.getAll();
|
|
673
673
|
if (allConns.length > 0) {
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
674
|
+
allConns.forEach(c => {
|
|
675
|
+
const connText = c.propfirm || c.type || 'Connected';
|
|
676
|
+
console.log(chalk.cyan('║') + chalk.green(padLine(` ${connText}`, W)) + chalk.cyan('║'));
|
|
677
|
+
});
|
|
677
678
|
}
|
|
678
679
|
|
|
679
|
-
const userText = 'Welcome, HQX Trader!';
|
|
680
|
-
console.log(chalk.cyan('║') + chalk.white(padLine(userText, W)) + chalk.cyan('║'));
|
|
681
|
-
|
|
682
680
|
console.log(chalk.cyan('╠' + '═'.repeat(W) + '╣'));
|
|
683
681
|
|
|
684
682
|
// Menu options in 2 columns
|