hedgequantx 2.6.10 → 2.6.12
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 +3 -3
package/package.json
CHANGED
package/src/app.js
CHANGED
|
@@ -143,7 +143,7 @@ const banner = async (clear = true) => {
|
|
|
143
143
|
console.log(chalk.cyan('╠' + '═'.repeat(innerWidth) + '╣'));
|
|
144
144
|
|
|
145
145
|
const tagline = isMobile ? `HQX v${version}` : `PROP FUTURES ALGO TRADING v${version}`;
|
|
146
|
-
console.log(chalk.cyan('║') + chalk.
|
|
146
|
+
console.log(chalk.cyan('║') + chalk.yellow(centerText(tagline, innerWidth)) + chalk.cyan('║'));
|
|
147
147
|
|
|
148
148
|
// Close box for loading state
|
|
149
149
|
console.log(chalk.cyan('╚' + '═'.repeat(innerWidth) + '╝'));
|
|
@@ -174,7 +174,7 @@ const bannerOpen = async () => {
|
|
|
174
174
|
console.log(chalk.cyan('╠' + '═'.repeat(innerWidth) + '╣'));
|
|
175
175
|
|
|
176
176
|
const tagline = isMobile ? `HQX v${version}` : `PROP FUTURES ALGO TRADING v${version}`;
|
|
177
|
-
console.log(chalk.cyan('║') + chalk.
|
|
177
|
+
console.log(chalk.cyan('║') + chalk.yellow(centerText(tagline, innerWidth)) + chalk.cyan('║'));
|
|
178
178
|
// NO bottom border - dashboardMenu will continue
|
|
179
179
|
};
|
|
180
180
|
|
|
@@ -285,7 +285,7 @@ const run = async () => {
|
|
|
285
285
|
|
|
286
286
|
if (!connections.isConnected()) {
|
|
287
287
|
console.clear();
|
|
288
|
-
await
|
|
288
|
+
await bannerOpen();
|
|
289
289
|
const choice = await mainMenu();
|
|
290
290
|
|
|
291
291
|
if (choice === 'exit') {
|