backtest-kit 2.2.21 → 2.2.23
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 +2 -0
- package/build/index.mjs +2 -0
- package/package.json +1 -1
- package/types.d.ts +4 -0
package/build/index.cjs
CHANGED
|
@@ -33924,6 +33924,8 @@ class NotificationInstance {
|
|
|
33924
33924
|
cancelReason: data.reason,
|
|
33925
33925
|
cancelId: data.cancelId,
|
|
33926
33926
|
duration: durationMin,
|
|
33927
|
+
scheduledAt: data.signal.scheduledAt,
|
|
33928
|
+
pendingAt: data.signal.pendingAt,
|
|
33927
33929
|
createdAt: data.createdAt,
|
|
33928
33930
|
});
|
|
33929
33931
|
}
|
package/build/index.mjs
CHANGED
|
@@ -33904,6 +33904,8 @@ class NotificationInstance {
|
|
|
33904
33904
|
cancelReason: data.reason,
|
|
33905
33905
|
cancelId: data.cancelId,
|
|
33906
33906
|
duration: durationMin,
|
|
33907
|
+
scheduledAt: data.signal.scheduledAt,
|
|
33908
|
+
pendingAt: data.signal.pendingAt,
|
|
33907
33909
|
createdAt: data.createdAt,
|
|
33908
33910
|
});
|
|
33909
33911
|
}
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -7126,6 +7126,10 @@ interface SignalCancelledNotification {
|
|
|
7126
7126
|
cancelId: string;
|
|
7127
7127
|
/** Duration in minutes from scheduledAt to cancellation */
|
|
7128
7128
|
duration: number;
|
|
7129
|
+
/** Signal creation timestamp in milliseconds (when signal was first created/scheduled) */
|
|
7130
|
+
scheduledAt: number;
|
|
7131
|
+
/** Pending timestamp in milliseconds (when position became pending/active at priceOpen) */
|
|
7132
|
+
pendingAt: number;
|
|
7129
7133
|
/** Unix timestamp in milliseconds when the tick result was created (from candle timestamp in backtest or execution context when in live) */
|
|
7130
7134
|
createdAt: number;
|
|
7131
7135
|
}
|