backtest-kit 13.3.0 → 13.4.0
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/build/index.cjs +1 -1
- package/build/index.mjs +1 -1
- package/package.json +1 -1
package/build/index.cjs
CHANGED
|
@@ -10749,7 +10749,7 @@ class ClientStrategy {
|
|
|
10749
10749
|
const currentTime = this.params.execution.context.when.getTime();
|
|
10750
10750
|
const currentPrice = await this.params.exchange.getAveragePrice(this.params.execution.context.symbol);
|
|
10751
10751
|
// Process queued commit events with proper timestamp
|
|
10752
|
-
await PROCESS_COMMIT_QUEUE_FN(this,
|
|
10752
|
+
await PROCESS_COMMIT_QUEUE_FN(this, currentPrice, currentTime);
|
|
10753
10753
|
// Check if scheduled signal was cancelled - emit cancelled event once
|
|
10754
10754
|
// NOTE: No _isStopped check here - cancellation must work for graceful shutdown
|
|
10755
10755
|
if (this._cancelledSignal) {
|
package/build/index.mjs
CHANGED
|
@@ -10729,7 +10729,7 @@ class ClientStrategy {
|
|
|
10729
10729
|
const currentTime = this.params.execution.context.when.getTime();
|
|
10730
10730
|
const currentPrice = await this.params.exchange.getAveragePrice(this.params.execution.context.symbol);
|
|
10731
10731
|
// Process queued commit events with proper timestamp
|
|
10732
|
-
await PROCESS_COMMIT_QUEUE_FN(this,
|
|
10732
|
+
await PROCESS_COMMIT_QUEUE_FN(this, currentPrice, currentTime);
|
|
10733
10733
|
// Check if scheduled signal was cancelled - emit cancelled event once
|
|
10734
10734
|
// NOTE: No _isStopped check here - cancellation must work for graceful shutdown
|
|
10735
10735
|
if (this._cancelledSignal) {
|