hedgequantx 2.7.54 → 2.7.55

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.7.54",
3
+ "version": "2.7.55",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -188,20 +188,18 @@ const showStats = async (service) => {
188
188
  return;
189
189
  }
190
190
 
191
- // Filter active accounts (status === 0)
192
- const activeAccounts = allAccountsData.filter(acc => acc.status === 0);
193
-
194
- if (activeAccounts.length === 0) {
195
- spinner.fail('No active accounts found');
196
- await prompts.waitForEnter();
197
- return;
198
- }
191
+ // Use all accounts (don't filter by status - Rithmic may have different status formats)
192
+ const activeAccounts = allAccountsData;
199
193
 
200
194
  // Aggregate account data from APIs
201
195
  const accountData = await aggregateAccountData(activeAccounts);
202
196
 
203
197
  spinner.stop();
204
198
 
199
+ // Clear and show banner before displaying stats
200
+ console.clear();
201
+ displayBanner();
202
+
205
203
  // Calculate stats from API data
206
204
  const stats = aggregateStats(activeAccounts, accountData.allTrades);
207
205
  const metrics = calculateDerivedMetrics(stats, accountData.totalStartingBalance, accountData.totalPnL);