@barchart/portfolio-api-common 1.2.22 → 1.2.23
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.
|
@@ -406,15 +406,7 @@ module.exports = (() => {
|
|
|
406
406
|
|
|
407
407
|
const summary = item.currentSummary;
|
|
408
408
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
if (price) {
|
|
412
|
-
priceToUse = price;
|
|
413
|
-
} else {
|
|
414
|
-
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
if (summary) {
|
|
409
|
+
if (summary && position.instrument.type !== InstrumentType.CASH) {
|
|
418
410
|
let priceToUse;
|
|
419
411
|
|
|
420
412
|
if (price) {
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -3473,15 +3473,7 @@ module.exports = (() => {
|
|
|
3473
3473
|
|
|
3474
3474
|
const summary = item.currentSummary;
|
|
3475
3475
|
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
if (price) {
|
|
3479
|
-
priceToUse = price;
|
|
3480
|
-
} else {
|
|
3481
|
-
|
|
3482
|
-
}
|
|
3483
|
-
|
|
3484
|
-
if (summary) {
|
|
3476
|
+
if (summary && position.instrument.type !== InstrumentType.CASH) {
|
|
3485
3477
|
let priceToUse;
|
|
3486
3478
|
|
|
3487
3479
|
if (price) {
|