@tradejs/types 3.1.21 → 3.1.22
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 +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
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>;
|