@barchart/portfolio-api-common 1.0.58 → 1.0.59
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.
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -787,7 +787,7 @@ module.exports = (() => {
|
|
|
787
787
|
const position = item.position;
|
|
788
788
|
const snapshot = item.position.snapshot;
|
|
789
789
|
|
|
790
|
-
updates.
|
|
790
|
+
updates.basis = updates.basis.add(snapshot.basis);
|
|
791
791
|
|
|
792
792
|
return updates;
|
|
793
793
|
}, {
|