@barchart/portfolio-api-common 1.0.126 → 1.0.127
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.
|
@@ -276,9 +276,7 @@ module.exports = (() => {
|
|
|
276
276
|
this._forexQuotes[index] = rate;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
this._trees.forEach((
|
|
280
|
-
tree.walk(group => group.setForexRate(rate), true, false);
|
|
281
|
-
});
|
|
279
|
+
Object.keys(this._trees).forEach(key => this._trees[key].walk(group => group.setForexRate(rate), true, false));
|
|
282
280
|
}
|
|
283
281
|
|
|
284
282
|
setPositionFundamentals(data) {
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -992,9 +992,7 @@ module.exports = (() => {
|
|
|
992
992
|
this._forexQuotes[index] = rate;
|
|
993
993
|
}
|
|
994
994
|
|
|
995
|
-
this._trees.forEach((
|
|
996
|
-
tree.walk(group => group.setForexRate(rate), true, false);
|
|
997
|
-
});
|
|
995
|
+
Object.keys(this._trees).forEach(key => this._trees[key].walk(group => group.setForexRate(rate), true, false));
|
|
998
996
|
}
|
|
999
997
|
|
|
1000
998
|
setPositionFundamentals(data) {
|