@barchart/portfolio-api-common 1.0.39 → 1.0.40

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.
@@ -98,6 +98,10 @@ module.exports = (() => {
98
98
  createGroups(this._tree, this._items, this._definitions);
99
99
  }
100
100
 
101
+ getSymbols() {
102
+ return Object.keys(this._symbols);
103
+ }
104
+
101
105
  setPrice(symbol, price) {
102
106
  if (this._symbols.hasOwnProperty(symbol)) {
103
107
  this._symbols.forEach(item.setPrice(price));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -613,6 +613,10 @@ module.exports = (() => {
613
613
  createGroups(this._tree, this._items, this._definitions);
614
614
  }
615
615
 
616
+ getSymbols() {
617
+ return Object.keys(this._symbols);
618
+ }
619
+
616
620
  setPrice(symbol, price) {
617
621
  if (this._symbols.hasOwnProperty(symbol)) {
618
622
  this._symbols.forEach(item.setPrice(price));