@barchart/portfolio-api-common 1.0.254 → 1.0.255

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.
@@ -730,7 +730,7 @@ module.exports = (() => {
730
730
  actual.unrealized = updates.unrealized;
731
731
  actual.unrealizedToday = updates.unrealizedToday;
732
732
  actual.summaryTotalCurrent = updates.summaryTotalCurrent;
733
- actual.total = updates.unrealizedToday.add(actual.realized).add(actual.income);
733
+ actual.total = updates.unrealized.add(actual.realized).add(actual.income);
734
734
 
735
735
  format.market = formatCurrency(actual.market, currency);
736
736
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.254",
3
+ "version": "1.0.255",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -2487,7 +2487,7 @@ module.exports = (() => {
2487
2487
  actual.unrealized = updates.unrealized;
2488
2488
  actual.unrealizedToday = updates.unrealizedToday;
2489
2489
  actual.summaryTotalCurrent = updates.summaryTotalCurrent;
2490
- actual.total = updates.unrealizedToday.add(actual.realized).add(actual.income);
2490
+ actual.total = updates.unrealized.add(actual.realized).add(actual.income);
2491
2491
 
2492
2492
  format.market = formatCurrency(actual.market, currency);
2493
2493