@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 (
|
|
192
|
+
if (quote.previousPrice) {
|
|
193
193
|
this._data.previousPrice = quote.previousPrice;
|
|
194
194
|
}
|
|
195
195
|
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -3254,7 +3254,7 @@ module.exports = (() => {
|
|
|
3254
3254
|
}
|
|
3255
3255
|
|
|
3256
3256
|
if (this._currentPricePrevious !== quote.lastPrice) {
|
|
3257
|
-
if (
|
|
3257
|
+
if (quote.previousPrice) {
|
|
3258
3258
|
this._data.previousPrice = quote.previousPrice;
|
|
3259
3259
|
}
|
|
3260
3260
|
|