hedgequantx 2.6.56 → 2.6.57
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
|
@@ -344,6 +344,7 @@ const launchAlgo = async (service, account, contract, config) => {
|
|
|
344
344
|
}
|
|
345
345
|
stats.trades++;
|
|
346
346
|
currentPosition = 0;
|
|
347
|
+
stats.position = 0; // Reset UI position display
|
|
347
348
|
pendingOrder = false;
|
|
348
349
|
algoLogger.info(ui, 'HOLD TIME', `${(holdDurationMs / 1000).toFixed(1)}s`);
|
|
349
350
|
});
|