@barchart/portfolio-api-common 1.0.232 → 1.0.233
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.
- package/lib/data/TransactionType.js +11 -0
- package/package.json +1 -1
- package/test/SpecRunner.js +11 -0
|
@@ -112,6 +112,17 @@ module.exports = (() => {
|
|
|
112
112
|
return this._closing;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
/**
|
|
116
|
+
* Indicates if the transactions is a fee (which neither opens or closes) the
|
|
117
|
+
* position.
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
* @returns {Boolean}
|
|
121
|
+
*/
|
|
122
|
+
get fee() {
|
|
123
|
+
return this._fee;
|
|
124
|
+
}
|
|
125
|
+
|
|
115
126
|
/**
|
|
116
127
|
* A purchase.
|
|
117
128
|
*
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -557,6 +557,17 @@ module.exports = (() => {
|
|
|
557
557
|
return this._closing;
|
|
558
558
|
}
|
|
559
559
|
|
|
560
|
+
/**
|
|
561
|
+
* Indicates if the transactions is a fee (which neither opens or closes) the
|
|
562
|
+
* position.
|
|
563
|
+
*
|
|
564
|
+
* @public
|
|
565
|
+
* @returns {Boolean}
|
|
566
|
+
*/
|
|
567
|
+
get fee() {
|
|
568
|
+
return this._fee;
|
|
569
|
+
}
|
|
570
|
+
|
|
560
571
|
/**
|
|
561
572
|
* A purchase.
|
|
562
573
|
*
|