hedgequantx 1.2.66 → 1.2.67

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.66",
3
+ "version": "1.2.67",
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
@@ -465,6 +465,11 @@ const launchAlgo = async (service, account, contract, numContracts, dailyTarget,
465
465
  }
466
466
 
467
467
  // Setup event handlers - logs scroll down naturally
468
+ hqxServer.on('latency', (data) => {
469
+ latency = data.latency || 0;
470
+ displayUI(); // Refresh UI with new latency
471
+ });
472
+
468
473
  hqxServer.on('log', (data) => {
469
474
  printLog(data.type || 'info', data.message);
470
475
  });