@tradejs/types 3.1.21 → 3.1.22-beta.238

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/index.d.mts CHANGED
@@ -293,6 +293,8 @@ interface PositionLog {
293
293
  amount: number;
294
294
  timestamp: number;
295
295
  };
296
+ /** Canonical rounded realized PnL for this completed position cycle. */
297
+ netProfit?: number;
296
298
  }
297
299
  type PositionLogData = PositionLog[];
298
300
  type TestThresholds = Record<keyof TestStat, MetricThreshold>;
package/dist/index.d.ts CHANGED
@@ -293,6 +293,8 @@ interface PositionLog {
293
293
  amount: number;
294
294
  timestamp: number;
295
295
  };
296
+ /** Canonical rounded realized PnL for this completed position cycle. */
297
+ netProfit?: number;
296
298
  }
297
299
  type PositionLogData = PositionLog[];
298
300
  type TestThresholds = Record<keyof TestStat, MetricThreshold>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tradejs/types",
3
- "version": "3.1.21",
3
+ "version": "3.1.22-beta.238",
4
4
  "description": "MIT-licensed shared TypeScript contracts for the TradeJS framework.",
5
5
  "keywords": [
6
6
  "tradejs",