hedgequantx 1.2.103 → 1.2.104

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.103",
3
+ "version": "1.2.104",
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
@@ -961,8 +961,12 @@ const launchAlgo = async (service, account, contract, numContracts, dailyTarget,
961
961
  hqxServer.disconnect();
962
962
  algoRunning = false;
963
963
 
964
- // Clear screen and show final result
964
+ // Small delay to ensure all cleanup is done
965
+ await new Promise(r => setTimeout(r, 500));
966
+
967
+ // Clear screen, show cursor, and show final result
965
968
  console.clear();
969
+ process.stdout.write('\x1B[?25h'); // Make sure cursor is visible
966
970
 
967
971
  console.log();
968
972
  if (stopReason === 'target') {