hedgequantx 2.6.105 → 2.6.106
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 +12 -12
package/package.json
CHANGED
package/src/pages/algo/ui.js
CHANGED
|
@@ -48,19 +48,19 @@ const LOG_ICONS = {
|
|
|
48
48
|
win: '✔ WIN ',
|
|
49
49
|
loss: '✘ LOSS ',
|
|
50
50
|
be: '★ BE ',
|
|
51
|
-
entry: '➡ ENTRY
|
|
51
|
+
entry: '➡ ENTRY',
|
|
52
52
|
filled: '✔ FILL ',
|
|
53
53
|
connected: '✔ CONN ',
|
|
54
|
-
ready: '✔ READY
|
|
55
|
-
error: '✘
|
|
56
|
-
reject: '✘
|
|
54
|
+
ready: '✔ READY',
|
|
55
|
+
error: '✘ ERROR',
|
|
56
|
+
reject: '✘ REJCT',
|
|
57
57
|
info: '➡ INFO ',
|
|
58
|
-
system: '★
|
|
59
|
-
signal: '★
|
|
60
|
-
trade: '✔ TRADE
|
|
61
|
-
success: '✔
|
|
62
|
-
warning: '⬅
|
|
63
|
-
analysis: '★ ANLYS
|
|
58
|
+
system: '★ SYSTM',
|
|
59
|
+
signal: '★ SIGNL',
|
|
60
|
+
trade: '✔ TRADE',
|
|
61
|
+
success: '✔ SUCCS',
|
|
62
|
+
warning: '⬅ WARNG',
|
|
63
|
+
analysis: '★ ANLYS'
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
/**
|
|
@@ -365,12 +365,12 @@ class AlgoUI {
|
|
|
365
365
|
} else {
|
|
366
366
|
visible.forEach(log => {
|
|
367
367
|
const color = LOG_COLORS[log.type] || chalk.gray;
|
|
368
|
-
const icon = LOG_ICONS[log.type] || 'INFO
|
|
368
|
+
const icon = LOG_ICONS[log.type] || '➡ INFO ';
|
|
369
369
|
// HF style: TIME | COLORED TYPE | MESSAGE with colored numbers
|
|
370
370
|
const coloredIcon = color.bold(icon);
|
|
371
371
|
// Color numbers: positive=cyan, negative=red, symbols=yellow
|
|
372
372
|
const coloredMessage = colorizeMessage(log.message);
|
|
373
|
-
const line = ` ${chalk.gray(log.timestamp)} ${coloredIcon}${coloredMessage}`;
|
|
373
|
+
const line = ` ${chalk.gray(log.timestamp)} ${coloredIcon} ${coloredMessage}`;
|
|
374
374
|
this._line(chalk.cyan(BOX.V) + fitToWidth(line, W) + chalk.cyan(BOX.V));
|
|
375
375
|
});
|
|
376
376
|
for (let i = visible.length; i < maxLogs; i++) {
|