@barchart/portfolio-api-common 1.0.83 → 1.0.84

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.
@@ -92,6 +92,10 @@ module.exports = (() => {
92
92
  return this._dataFormat;
93
93
  }
94
94
 
95
+ get actual() {
96
+ return this._dataActual;
97
+ }
98
+
95
99
  get single() {
96
100
  return this._single;
97
101
  }
@@ -265,6 +269,10 @@ module.exports = (() => {
265
269
  format.totalNegative = actual.total.getIsNegative();
266
270
  }
267
271
 
272
+ function calculatePercent() {
273
+
274
+ }
275
+
268
276
  const unchanged = { up: false, down: false };
269
277
 
270
278
  return PositionGroup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.83",
3
+ "version": "1.0.84",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -1031,6 +1031,10 @@ module.exports = (() => {
1031
1031
  return this._dataFormat;
1032
1032
  }
1033
1033
 
1034
+ get actual() {
1035
+ return this._dataActual;
1036
+ }
1037
+
1034
1038
  get single() {
1035
1039
  return this._single;
1036
1040
  }
@@ -1204,6 +1208,10 @@ module.exports = (() => {
1204
1208
  format.totalNegative = actual.total.getIsNegative();
1205
1209
  }
1206
1210
 
1211
+ function calculatePercent() {
1212
+
1213
+ }
1214
+
1207
1215
  const unchanged = { up: false, down: false };
1208
1216
 
1209
1217
  return PositionGroup;