@barchart/portfolio-api-common 1.0.118 → 1.0.119
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.
|
@@ -268,7 +268,7 @@ module.exports = (() => {
|
|
|
268
268
|
const item = group._items[0];
|
|
269
269
|
|
|
270
270
|
format.quantity = formatDecimal(item.position.snapshot.open, 2);
|
|
271
|
-
format.basisPrice = formatCurrency(item.basisPrice, currency);
|
|
271
|
+
format.basisPrice = formatCurrency(item.data.basisPrice, currency);
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -1273,7 +1273,7 @@ module.exports = (() => {
|
|
|
1273
1273
|
const item = group._items[0];
|
|
1274
1274
|
|
|
1275
1275
|
format.quantity = formatDecimal(item.position.snapshot.open, 2);
|
|
1276
|
-
format.basisPrice = formatCurrency(item.basisPrice, currency);
|
|
1276
|
+
format.basisPrice = formatCurrency(item.data.basisPrice, currency);
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
1279
1279
|
|