@barchart/portfolio-api-common 1.2.122 → 1.2.123

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.
@@ -136,7 +136,7 @@ module.exports = (() => {
136
136
  let average;
137
137
 
138
138
  if (basis && open && !open.getIsZero()) {
139
- average = basis.divide(open);
139
+ average = basis.divide(open).absolute();
140
140
  } else {
141
141
  average = '';
142
142
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.2.122",
3
+ "version": "1.2.123",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",