hedgequantx 1.2.73 → 1.2.74

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": "1.2.73",
3
+ "version": "1.2.74",
4
4
  "description": "Prop Futures Algo Trading CLI - Connect to Topstep, Alpha Futures, and other prop firms",
5
5
  "main": "src/app.js",
6
6
  "bin": {
package/src/pages/algo.js CHANGED
@@ -385,7 +385,7 @@ const launchAlgo = async (service, account, contract, numContracts, dailyTarget,
385
385
  // Stats
386
386
  const pnlColor = stats.pnl >= 0 ? chalk.green : chalk.red;
387
387
  const pnlStr = (stats.pnl >= 0 ? '+$' : '-$') + Math.abs(stats.pnl).toFixed(2);
388
- const latencyStr = hqxConnected ? (latency > 0 ? `${latency}ms` : '---') : '---';
388
+ const latencyStr = hqxConnected ? (latency > 0 ? `ws:${latency}ms` : 'ws:--') : 'ws:--';
389
389
  const latencyColor = latency < 100 ? chalk.green : (latency < 300 ? chalk.yellow : chalk.red);
390
390
  const serverStatus = hqxConnected ? 'ON' : 'OFF';
391
391
  const serverColor = hqxConnected ? chalk.green : chalk.red;
@@ -450,7 +450,7 @@ const launchAlgo = async (service, account, contract, numContracts, dailyTarget,
450
450
  const qtyVal = numContracts.toString();
451
451
  const srvLabel = 'Server';
452
452
  const srvVal = serverStatus;
453
- const latLabel = 'Latency';
453
+ const latLabel = 'WS';
454
454
  const latVal = latencyStr;
455
455
 
456
456
  // Row 1 cells: widths = 36 + 18 + 10 + 14 + 14 = 92 + 4 separators = 96