hedgequantx 2.4.42 → 2.4.43

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 +5 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.4.42",
3
+ "version": "2.4.43",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
package/src/app.js CHANGED
@@ -262,15 +262,14 @@ const run = async () => {
262
262
  await refreshStats();
263
263
  }
264
264
  } else {
265
- // Show spinner while refreshing stats
266
- const spinner = ora({ text: 'LOADING...', color: 'cyan' }).start();
267
- await refreshStats();
268
- spinner.stop();
269
-
270
- // Clear and display dashboard
265
+ // Clear screen first, show banner, then spinner while loading
271
266
  console.clear();
272
267
  await banner(false);
273
268
 
269
+ const spinner = ora({ text: 'LOADING DASHBOARD...', color: 'cyan' }).start();
270
+ await refreshStats();
271
+ spinner.succeed('READY');
272
+
274
273
  const action = await dashboardMenu(currentService);
275
274
 
276
275
  switch (action) {