@barchart/portfolio-api-common 1.2.103 → 1.2.104
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.
|
@@ -704,6 +704,9 @@ module.exports = (() => {
|
|
|
704
704
|
actual.summaryTotalPrevious2 = updates.summaryTotalPrevious2;
|
|
705
705
|
actual.marketPrevious = updates.marketPrevious;
|
|
706
706
|
actual.marketPrevious2 = updates.marketPrevious2;
|
|
707
|
+
actual.periodRealized = updates.periodRealized;
|
|
708
|
+
actual.periodUnrealized = updates.periodUnrealized;
|
|
709
|
+
actual.periodIncome = updates.periodIncome;
|
|
707
710
|
actual.cashTotal = updates.cashTotal;
|
|
708
711
|
|
|
709
712
|
format.basis = formatCurrency(actual.basis, currency);
|
|
@@ -717,6 +720,9 @@ module.exports = (() => {
|
|
|
717
720
|
format.summaryTotalPrevious2Negative = updates.summaryTotalPrevious2.getIsNegative();
|
|
718
721
|
format.marketPrevious = formatCurrency(updates.marketPrevious, currency);
|
|
719
722
|
format.marketPrevious2 = formatCurrency(updates.marketPrevious2, currency);
|
|
723
|
+
format.periodRealized = formatCurrency(updates.periodRealized, currency);
|
|
724
|
+
format.periodUnrealized = formatCurrency(updates.periodUnrealized, currency);
|
|
725
|
+
format.periodIncome = formatCurrency(updates.periodIncome, currency);
|
|
720
726
|
format.cashTotal = formatCurrency(updates.cashTotal, currency);
|
|
721
727
|
|
|
722
728
|
calculateUnrealizedPercent(group);
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -3148,6 +3148,9 @@ module.exports = (() => {
|
|
|
3148
3148
|
actual.summaryTotalPrevious2 = updates.summaryTotalPrevious2;
|
|
3149
3149
|
actual.marketPrevious = updates.marketPrevious;
|
|
3150
3150
|
actual.marketPrevious2 = updates.marketPrevious2;
|
|
3151
|
+
actual.periodRealized = updates.periodRealized;
|
|
3152
|
+
actual.periodUnrealized = updates.periodUnrealized;
|
|
3153
|
+
actual.periodIncome = updates.periodIncome;
|
|
3151
3154
|
actual.cashTotal = updates.cashTotal;
|
|
3152
3155
|
|
|
3153
3156
|
format.basis = formatCurrency(actual.basis, currency);
|
|
@@ -3161,6 +3164,9 @@ module.exports = (() => {
|
|
|
3161
3164
|
format.summaryTotalPrevious2Negative = updates.summaryTotalPrevious2.getIsNegative();
|
|
3162
3165
|
format.marketPrevious = formatCurrency(updates.marketPrevious, currency);
|
|
3163
3166
|
format.marketPrevious2 = formatCurrency(updates.marketPrevious2, currency);
|
|
3167
|
+
format.periodRealized = formatCurrency(updates.periodRealized, currency);
|
|
3168
|
+
format.periodUnrealized = formatCurrency(updates.periodUnrealized, currency);
|
|
3169
|
+
format.periodIncome = formatCurrency(updates.periodIncome, currency);
|
|
3164
3170
|
format.cashTotal = formatCurrency(updates.cashTotal, currency);
|
|
3165
3171
|
|
|
3166
3172
|
calculateUnrealizedPercent(group);
|