@barchart/portfolio-api-common 1.0.122 → 1.0.123

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.
@@ -413,7 +413,7 @@ module.exports = (() => {
413
413
  let numerator;
414
414
 
415
415
  if (group.currency !== parent.currency) {
416
- numerator = Rate.convert(parentData.market, group.currency, parent.currency, ...rates);
416
+ numerator = Rate.convert(actual.market, group.currency, parent.currency, ...rates);
417
417
  } else {
418
418
  numerator = actual.market;
419
419
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.122",
3
+ "version": "1.0.123",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -1436,7 +1436,7 @@ module.exports = (() => {
1436
1436
  let numerator;
1437
1437
 
1438
1438
  if (group.currency !== parent.currency) {
1439
- numerator = Rate.convert(parentData.market, group.currency, parent.currency, ...rates);
1439
+ numerator = Rate.convert(actual.market, group.currency, parent.currency, ...rates);
1440
1440
  } else {
1441
1441
  numerator = actual.market;
1442
1442
  }