backtest-kit 2.2.20 → 2.2.21
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 +4 -0
- package/build/index.mjs +4 -0
- package/package.json +1 -1
- package/types.d.ts +8 -0
package/build/index.cjs
CHANGED
|
@@ -33862,6 +33862,8 @@ class NotificationInstance {
|
|
|
33862
33862
|
priceTakeProfit: data.signal.priceTakeProfit,
|
|
33863
33863
|
priceStopLoss: data.signal.priceStopLoss,
|
|
33864
33864
|
note: data.signal.note,
|
|
33865
|
+
scheduledAt: data.signal.scheduledAt,
|
|
33866
|
+
pendingAt: data.signal.pendingAt,
|
|
33865
33867
|
createdAt: data.createdAt,
|
|
33866
33868
|
});
|
|
33867
33869
|
}
|
|
@@ -33884,6 +33886,8 @@ class NotificationInstance {
|
|
|
33884
33886
|
closeReason: data.closeReason,
|
|
33885
33887
|
duration: durationMin,
|
|
33886
33888
|
note: data.signal.note,
|
|
33889
|
+
scheduledAt: data.signal.scheduledAt,
|
|
33890
|
+
pendingAt: data.signal.pendingAt,
|
|
33887
33891
|
createdAt: data.createdAt,
|
|
33888
33892
|
});
|
|
33889
33893
|
}
|
package/build/index.mjs
CHANGED
|
@@ -33842,6 +33842,8 @@ class NotificationInstance {
|
|
|
33842
33842
|
priceTakeProfit: data.signal.priceTakeProfit,
|
|
33843
33843
|
priceStopLoss: data.signal.priceStopLoss,
|
|
33844
33844
|
note: data.signal.note,
|
|
33845
|
+
scheduledAt: data.signal.scheduledAt,
|
|
33846
|
+
pendingAt: data.signal.pendingAt,
|
|
33845
33847
|
createdAt: data.createdAt,
|
|
33846
33848
|
});
|
|
33847
33849
|
}
|
|
@@ -33864,6 +33866,8 @@ class NotificationInstance {
|
|
|
33864
33866
|
closeReason: data.closeReason,
|
|
33865
33867
|
duration: durationMin,
|
|
33866
33868
|
note: data.signal.note,
|
|
33869
|
+
scheduledAt: data.signal.scheduledAt,
|
|
33870
|
+
pendingAt: data.signal.pendingAt,
|
|
33867
33871
|
createdAt: data.createdAt,
|
|
33868
33872
|
});
|
|
33869
33873
|
}
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -6634,6 +6634,10 @@ interface SignalOpenedNotification {
|
|
|
6634
6634
|
priceStopLoss: number;
|
|
6635
6635
|
/** Optional human-readable description of signal reason */
|
|
6636
6636
|
note?: string;
|
|
6637
|
+
/** Signal creation timestamp in milliseconds (when signal was first created/scheduled) */
|
|
6638
|
+
scheduledAt: number;
|
|
6639
|
+
/** Pending timestamp in milliseconds (when position became pending/active at priceOpen) */
|
|
6640
|
+
pendingAt: number;
|
|
6637
6641
|
/** Unix timestamp in milliseconds when the tick result was created (from candle timestamp in backtest or execution context when in live) */
|
|
6638
6642
|
createdAt: number;
|
|
6639
6643
|
}
|
|
@@ -6672,6 +6676,10 @@ interface SignalClosedNotification {
|
|
|
6672
6676
|
duration: number;
|
|
6673
6677
|
/** Optional human-readable description of signal reason */
|
|
6674
6678
|
note?: string;
|
|
6679
|
+
/** Signal creation timestamp in milliseconds (when signal was first created/scheduled) */
|
|
6680
|
+
scheduledAt: number;
|
|
6681
|
+
/** Pending timestamp in milliseconds (when position became pending/active at priceOpen) */
|
|
6682
|
+
pendingAt: number;
|
|
6675
6683
|
/** Unix timestamp in milliseconds when the tick result was created (from candle timestamp in backtest or execution context when in live) */
|
|
6676
6684
|
createdAt: number;
|
|
6677
6685
|
}
|