hedgequantx 2.4.41 → 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 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.4.41",
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,11 +262,14 @@ const run = async () => {
262
262
  await refreshStats();
263
263
  }
264
264
  } else {
265
- // Refresh stats BEFORE clearing screen, so everything displays at once
266
- await refreshStats();
265
+ // Clear screen first, show banner, then spinner while loading
267
266
  console.clear();
268
267
  await banner(false);
269
268
 
269
+ const spinner = ora({ text: 'LOADING DASHBOARD...', color: 'cyan' }).start();
270
+ await refreshStats();
271
+ spinner.succeed('READY');
272
+
270
273
  const action = await dashboardMenu(currentService);
271
274
 
272
275
  switch (action) {