cryptobot-types 1.1.4 → 1.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cryptobot-types",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "",
5
5
  "types": "types/index.d.ts",
6
6
  "registry": "https://registry.npmjs.org/",
@@ -52,3 +52,9 @@ export interface CloseOrder
52
52
  action: "close";
53
53
  bruttoPnlUSD: number;
54
54
  }
55
+
56
+ //extended order extends T with realizedFee ad realizedPnlUSD
57
+ export interface ExtendedOrder<T extends BaseOrder> extends T {
58
+ realizedFee: number;
59
+ realizedPnlUSD: number;
60
+ }