hedgequantx 1.8.20 → 1.8.21
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/pages/algo/ui.js +10 -8
package/package.json
CHANGED
package/src/pages/algo/ui.js
CHANGED
|
@@ -216,16 +216,18 @@ class AlgoUI {
|
|
|
216
216
|
const r1c2 = buildCell('Follower', followerName, chalk.magenta, colR);
|
|
217
217
|
row(r1c1.padded, r1c2.padded);
|
|
218
218
|
|
|
219
|
-
|
|
219
|
+
// Full width separator
|
|
220
|
+
const GF = BOX.ML + BOX.H.repeat(W) + BOX.MR;
|
|
220
221
|
|
|
221
|
-
|
|
222
|
-
const leadSymbol = (stats.leadSymbol || stats.symbol || 'N/A').substring(0, 35);
|
|
223
|
-
const followerSymbol = (stats.followerSymbol || stats.symbol || 'N/A').substring(0, 35);
|
|
224
|
-
const r2c1 = buildCell('Symbol', leadSymbol, chalk.yellow, colL);
|
|
225
|
-
const r2c2 = buildCell('Symbol', followerSymbol, chalk.yellow, colR);
|
|
226
|
-
row(r2c1.padded, r2c2.padded);
|
|
222
|
+
this._line(chalk.cyan(GF));
|
|
227
223
|
|
|
228
|
-
|
|
224
|
+
// Row 2: Symbol (centered, single row)
|
|
225
|
+
const symbol = (stats.symbol || stats.leadSymbol || 'N/A').substring(0, 60);
|
|
226
|
+
const symbolText = `Symbol: ${symbol}`;
|
|
227
|
+
const symbolPadded = center(symbolText, W);
|
|
228
|
+
this._line(chalk.cyan(BOX.V) + chalk.yellow(symbolPadded) + chalk.cyan(BOX.V));
|
|
229
|
+
|
|
230
|
+
this._line(chalk.cyan(GT));
|
|
229
231
|
|
|
230
232
|
// Row 3: Lead Qty | Follower Qty
|
|
231
233
|
const r3c1 = buildCell('Qty', (stats.leadQty || '1').toString(), chalk.cyan, colL);
|