@barchart/portfolio-api-common 1.0.107 → 1.0.108

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.
@@ -255,7 +255,7 @@ module.exports = (() => {
255
255
  format.summaryTotalPreviousNegative = updates.summaryTotalPrevious.getIsNegative();
256
256
 
257
257
  if (group.single) {
258
- format.quantity = formatDecimal(group.position.snapshot.open, 2);
258
+ format.quantity = formatDecimal(group._items[0].position.snapshot.open, 2);
259
259
  }
260
260
  }
261
261
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.107",
3
+ "version": "1.0.108",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -1258,7 +1258,7 @@ module.exports = (() => {
1258
1258
  format.summaryTotalPreviousNegative = updates.summaryTotalPrevious.getIsNegative();
1259
1259
 
1260
1260
  if (group.single) {
1261
- format.quantity = formatDecimal(group.position.snapshot.open, 2);
1261
+ format.quantity = formatDecimal(group._items[0].position.snapshot.open, 2);
1262
1262
  }
1263
1263
  }
1264
1264