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 +1 -1
- package/src/pages/algo.js +5 -1
package/package.json
CHANGED
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
|
-
//
|
|
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') {
|