hedgequantx 2.9.98 → 2.9.100
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
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
const LONG_BIAS_MESSAGES = [
|
|
19
19
|
'{bull:Buyers} taking control with aggressive {bull:lifting}',
|
|
20
20
|
'{bull:Bid} side absorbing sell pressure',
|
|
21
|
-
'{bull:Bullish}
|
|
21
|
+
'{bull:Bullish} momentum building',
|
|
22
22
|
'{bull:Buy} programs {bull:lifting} through {zone:resistance}',
|
|
23
23
|
'Strong {bull:buyer} presence at {bull:bid} levels',
|
|
24
24
|
'{flow:Accumulation} with increasing {flow:volume}',
|
|
@@ -40,7 +40,7 @@ const LONG_BIAS_MESSAGES = [
|
|
|
40
40
|
const SHORT_BIAS_MESSAGES = [
|
|
41
41
|
'{bear:Sellers} taking control with aggressive {bear:hitting}',
|
|
42
42
|
'{bear:Offer} side absorbing buy pressure',
|
|
43
|
-
'{bear:Bearish}
|
|
43
|
+
'{bear:Bearish} momentum building',
|
|
44
44
|
'{bear:Sell} programs {bear:hitting} through {zone:support}',
|
|
45
45
|
'Strong {bear:seller} presence at {bear:offer} levels',
|
|
46
46
|
'{flow:Distribution} with increasing {flow:volume}',
|
|
@@ -258,10 +258,10 @@ const RISK_BLOCKED_MESSAGES = [
|
|
|
258
258
|
// =============================================================================
|
|
259
259
|
|
|
260
260
|
const SCANNING_MESSAGES = [
|
|
261
|
-
'Scanning for
|
|
261
|
+
'Scanning for entry signals...',
|
|
262
262
|
'Analyzing order flow for bias...',
|
|
263
|
-
'Monitoring {zone:structure} for
|
|
264
|
-
'Watching
|
|
263
|
+
'Monitoring {zone:structure} for setups...',
|
|
264
|
+
'Watching price action development...',
|
|
265
265
|
'Evaluating high-probability setup...',
|
|
266
266
|
'Processing through strategy filters...',
|
|
267
267
|
'Analyzing order book imbalances...',
|
|
@@ -270,19 +270,19 @@ const SCANNING_MESSAGES = [
|
|
|
270
270
|
'Evaluating at key {zone:levels}...',
|
|
271
271
|
'Analyzing microstructure for edge...',
|
|
272
272
|
'Monitoring {bull:bid}/{bear:ask} imbalances...',
|
|
273
|
-
'Scanning {zone:zones} for
|
|
273
|
+
'Scanning {zone:zones} for setups...',
|
|
274
274
|
'Evaluating {flow:momentum}...',
|
|
275
275
|
'Analyzing regime alignment...',
|
|
276
276
|
];
|
|
277
277
|
|
|
278
278
|
const WAITING_MESSAGES = [
|
|
279
|
-
'Waiting for
|
|
280
|
-
'Pending -
|
|
279
|
+
'Waiting for signal confirmation...',
|
|
280
|
+
'Pending - setup not complete...',
|
|
281
281
|
'Standby - conditions not met...',
|
|
282
282
|
'Awaiting signal - monitoring {zone:zone}...',
|
|
283
|
-
'Ready for
|
|
283
|
+
'Ready for entry trigger...',
|
|
284
284
|
'Monitoring entry trigger...',
|
|
285
|
-
'Waiting for
|
|
285
|
+
'Waiting for confirmation...',
|
|
286
286
|
'Confirmation pending...',
|
|
287
287
|
'Entry conditions not met...',
|
|
288
288
|
'Awaiting confluence...',
|
|
@@ -87,6 +87,9 @@ const oneAccountMenu = async (service) => {
|
|
|
87
87
|
selectedAccount = matchingAccount;
|
|
88
88
|
accountService = selectedAccount.service || connections.getServiceForAccount(selectedAccount.accountId) || service;
|
|
89
89
|
|
|
90
|
+
// Show spinner while loading
|
|
91
|
+
const loadSpinner = ora({ text: 'Loading configuration...', color: 'yellow' }).start();
|
|
92
|
+
|
|
90
93
|
// Load contracts to find the saved symbol (match by baseSymbol first, then exact symbol)
|
|
91
94
|
const contractsResult = await accountService.getContracts();
|
|
92
95
|
if (contractsResult.success && contractsResult.contracts.length > 0) {
|
|
@@ -119,11 +122,14 @@ const oneAccountMenu = async (service) => {
|
|
|
119
122
|
maxRisk: lastConfig.maxRisk,
|
|
120
123
|
showName: lastConfig.showName
|
|
121
124
|
};
|
|
122
|
-
|
|
125
|
+
loadSpinner.succeed('Configuration loaded');
|
|
123
126
|
} else {
|
|
124
|
-
|
|
127
|
+
loadSpinner.fail('Symbol or strategy no longer available, please reconfigure');
|
|
125
128
|
selectedAccount = null;
|
|
126
129
|
}
|
|
130
|
+
} else {
|
|
131
|
+
loadSpinner.fail('Failed to load contracts');
|
|
132
|
+
selectedAccount = null;
|
|
127
133
|
}
|
|
128
134
|
}
|
|
129
135
|
}
|