@barchart/portfolio-api-common 1.2.26 → 1.2.27

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.
@@ -189,7 +189,7 @@ module.exports = (() => {
189
189
  }
190
190
 
191
191
  if (this._currentPricePrevious !== quote.lastPrice) {
192
- if (this._data.previousPrice === null && quote.previousPrice) {
192
+ if (quote.previousPrice) {
193
193
  this._data.previousPrice = quote.previousPrice;
194
194
  }
195
195
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.2.26",
3
+ "version": "1.2.27",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -3254,7 +3254,7 @@ module.exports = (() => {
3254
3254
  }
3255
3255
 
3256
3256
  if (this._currentPricePrevious !== quote.lastPrice) {
3257
- if (this._data.previousPrice === null && quote.previousPrice) {
3257
+ if (quote.previousPrice) {
3258
3258
  this._data.previousPrice = quote.previousPrice;
3259
3259
  }
3260
3260