@barchart/portfolio-api-common 1.0.111 → 1.0.112

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.
@@ -91,7 +91,7 @@ module.exports = (() => {
91
91
  this._currentQuote = quote;
92
92
 
93
93
  this._data.previousPrice = this._data.currentPrice;
94
- this._data.currentPrice = price;
94
+ this._data.currentPrice = quote.lastPrice;
95
95
 
96
96
  this._quoteChangedEvent.fire(this._data, this._currentQuote);
97
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -1473,7 +1473,7 @@ module.exports = (() => {
1473
1473
  this._currentQuote = quote;
1474
1474
 
1475
1475
  this._data.previousPrice = this._data.currentPrice;
1476
- this._data.currentPrice = price;
1476
+ this._data.currentPrice = quote.lastPrice;
1477
1477
 
1478
1478
  this._quoteChangedEvent.fire(this._data, this._currentQuote);
1479
1479
  }