@barchart/portfolio-api-common 1.0.172 → 1.0.173

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.
@@ -702,7 +702,7 @@ module.exports = (() => {
702
702
  let numerator;
703
703
 
704
704
  if (group.currency !== parent.currency) {
705
- numerator = Rate.convert(actual.market, group.currency, parent.currency, ...rates);
705
+ numerator = Rate.convert(actual.marketAbsolute, group.currency, parent.currency, ...rates);
706
706
  } else {
707
707
  numerator = actual.marketAbsolute;
708
708
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.172",
3
+ "version": "1.0.173",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -2125,7 +2125,7 @@ module.exports = (() => {
2125
2125
  let numerator;
2126
2126
 
2127
2127
  if (group.currency !== parent.currency) {
2128
- numerator = Rate.convert(actual.market, group.currency, parent.currency, ...rates);
2128
+ numerator = Rate.convert(actual.marketAbsolute, group.currency, parent.currency, ...rates);
2129
2129
  } else {
2130
2130
  numerator = actual.marketAbsolute;
2131
2131
  }