hedgequantx 2.7.97 → 2.7.99

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/app.js +4 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.7.97",
3
+ "version": "2.7.99",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
package/src/app.js CHANGED
@@ -166,20 +166,19 @@ const run = async () => {
166
166
  // First launch - show banner then try restore session
167
167
  await banner();
168
168
 
169
- const spinner = ora({ text: 'LOADING...', color: 'yellow' }).start();
169
+ const spinner = ora({ text: 'LOADING DASHBOARD...', color: 'yellow' }).start();
170
170
 
171
171
  const restored = await connections.restoreFromStorage();
172
172
 
173
173
  if (restored) {
174
174
  currentService = connections.getAll()[0].service;
175
175
  await refreshStats();
176
- spinner.succeed('SESSION RESTORED');
176
+ // Store spinner globally - dashboard will stop it when ready to display
177
+ global.__hqxSpinner = spinner;
177
178
  } else {
178
179
  spinner.stop(); // Stop spinner - no session to restore
180
+ global.__hqxSpinner = null;
179
181
  }
180
-
181
- // Store spinner globally so dashboardMenu can stop it before clear
182
- global.__hqxSpinner = null;
183
182
 
184
183
  // Main loop
185
184
  while (true) {