backtest-kit 2.2.25 → 2.2.26

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 CHANGED
@@ -33940,6 +33940,7 @@ class NotificationInstance {
33940
33940
  exchangeName: data.exchangeName,
33941
33941
  signalId: data.signal.id,
33942
33942
  position: data.signal.position,
33943
+ priceOpen: data.signal.priceOpen,
33943
33944
  priceTakeProfit: data.signal.priceTakeProfit,
33944
33945
  priceStopLoss: data.signal.priceStopLoss,
33945
33946
  originalPriceTakeProfit: data.signal.originalPriceTakeProfit,
package/build/index.mjs CHANGED
@@ -33920,6 +33920,7 @@ class NotificationInstance {
33920
33920
  exchangeName: data.exchangeName,
33921
33921
  signalId: data.signal.id,
33922
33922
  position: data.signal.position,
33923
+ priceOpen: data.signal.priceOpen,
33923
33924
  priceTakeProfit: data.signal.priceTakeProfit,
33924
33925
  priceStopLoss: data.signal.priceStopLoss,
33925
33926
  originalPriceTakeProfit: data.signal.originalPriceTakeProfit,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backtest-kit",
3
- "version": "2.2.25",
3
+ "version": "2.2.26",
4
4
  "description": "A TypeScript library for trading system backtest",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",
package/types.d.ts CHANGED
@@ -7156,6 +7156,8 @@ interface SignalCancelledNotification {
7156
7156
  priceTakeProfit: number;
7157
7157
  /** Stop loss exit price */
7158
7158
  priceStopLoss: number;
7159
+ /** Entry price for the position */
7160
+ priceOpen: number;
7159
7161
  /** Original take profit price before any trailing adjustments */
7160
7162
  originalPriceTakeProfit: number;
7161
7163
  /** Original stop loss price before any trailing adjustments */