hedgequantx 2.9.87 → 2.9.88
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/dist/lib/m/hqx-2b.js +8 -0
- package/package.json +1 -1
package/dist/lib/m/hqx-2b.js
CHANGED
|
@@ -647,8 +647,16 @@ var require_core = __commonJS({
|
|
|
647
647
|
}
|
|
648
648
|
if (sweep && sweep.isValid) {
|
|
649
649
|
if (Date.now() - this.lastSignalTime < this.config.execution.cooldownMs) {
|
|
650
|
+
this.emit("log", {
|
|
651
|
+
type: "debug",
|
|
652
|
+
message: `[2B] COOLDOWN - waiting ${Math.ceil((this.config.execution.cooldownMs - (Date.now() - this.lastSignalTime)) / 1e3)}s`
|
|
653
|
+
});
|
|
650
654
|
return null;
|
|
651
655
|
}
|
|
656
|
+
this.emit("log", {
|
|
657
|
+
type: "debug",
|
|
658
|
+
message: `[2B] GENERATING SIGNAL from ${sweep.sweepType} sweep...`
|
|
659
|
+
});
|
|
652
660
|
const signal = generateSignal({
|
|
653
661
|
contractId,
|
|
654
662
|
currentBar: bar,
|