@sonarwatch/portfolio-core 0.14.137 → 0.14.139
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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/Portfolio.d.ts +2 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.14.139](https://github.com/sonarwatch/portfolio/compare/core-0.14.138...core-0.14.139) (2025-02-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.14.138](https://github.com/sonarwatch/portfolio/compare/core-0.14.137...core-0.14.138) (2025-02-27)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.14.137](https://github.com/sonarwatch/portfolio/compare/core-0.14.136...core-0.14.137) (2025-02-27)
|
|
6
14
|
|
|
7
15
|
|
package/package.json
CHANGED
package/src/Portfolio.d.ts
CHANGED
|
@@ -287,14 +287,8 @@ export type IsoLevPosition = {
|
|
|
287
287
|
pnlValue: UsdValue;
|
|
288
288
|
liquidationPrice: UsdValue;
|
|
289
289
|
leverage?: number;
|
|
290
|
-
tp?:
|
|
291
|
-
|
|
292
|
-
price: UsdValue;
|
|
293
|
-
};
|
|
294
|
-
sl?: {
|
|
295
|
-
loss: UsdValue;
|
|
296
|
-
price: UsdValue;
|
|
297
|
-
};
|
|
290
|
+
tp?: number;
|
|
291
|
+
sl?: number;
|
|
298
292
|
value: UsdValue;
|
|
299
293
|
};
|
|
300
294
|
export type CrossLevPosition = Omit<IsoLevPosition, 'collateralValue'>;
|