@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(
|
|
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
package/test/SpecRunner.js
CHANGED
|
@@ -1436,7 +1436,7 @@ module.exports = (() => {
|
|
|
1436
1436
|
let numerator;
|
|
1437
1437
|
|
|
1438
1438
|
if (group.currency !== parent.currency) {
|
|
1439
|
-
numerator = Rate.convert(
|
|
1439
|
+
numerator = Rate.convert(actual.market, group.currency, parent.currency, ...rates);
|
|
1440
1440
|
} else {
|
|
1441
1441
|
numerator = actual.market;
|
|
1442
1442
|
}
|