@barchart/portfolio-api-common 1.9.0 → 1.9.1
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.
|
@@ -247,7 +247,7 @@ module.exports = (() => {
|
|
|
247
247
|
.withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
|
|
248
248
|
.withField('date', DataType.DAY)
|
|
249
249
|
.withField('price', DataType.DECIMAL, true)
|
|
250
|
-
.withField('quantity', DataType.DECIMAL)
|
|
250
|
+
.withField('quantity', DataType.DECIMAL, true)
|
|
251
251
|
.withField('fee', DataType.DECIMAL, true)
|
|
252
252
|
.withField('force', DataType.BOOLEAN, true)
|
|
253
253
|
.withField('close', DataType.BOOLEAN, true)
|
|
@@ -261,7 +261,7 @@ module.exports = (() => {
|
|
|
261
261
|
.withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
|
|
262
262
|
.withField('date', DataType.DAY)
|
|
263
263
|
.withField('price', DataType.DECIMAL)
|
|
264
|
-
.withField('quantity', DataType.DECIMAL)
|
|
264
|
+
.withField('quantity', DataType.DECIMAL, true)
|
|
265
265
|
.withField('fee', DataType.DECIMAL, true)
|
|
266
266
|
.withField('force', DataType.BOOLEAN, true)
|
|
267
267
|
.withField('close', DataType.BOOLEAN, true)
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -5456,7 +5456,7 @@ module.exports = (() => {
|
|
|
5456
5456
|
.withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
|
|
5457
5457
|
.withField('date', DataType.DAY)
|
|
5458
5458
|
.withField('price', DataType.DECIMAL, true)
|
|
5459
|
-
.withField('quantity', DataType.DECIMAL)
|
|
5459
|
+
.withField('quantity', DataType.DECIMAL, true)
|
|
5460
5460
|
.withField('fee', DataType.DECIMAL, true)
|
|
5461
5461
|
.withField('force', DataType.BOOLEAN, true)
|
|
5462
5462
|
.withField('close', DataType.BOOLEAN, true)
|
|
@@ -5470,7 +5470,7 @@ module.exports = (() => {
|
|
|
5470
5470
|
.withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
|
|
5471
5471
|
.withField('date', DataType.DAY)
|
|
5472
5472
|
.withField('price', DataType.DECIMAL)
|
|
5473
|
-
.withField('quantity', DataType.DECIMAL)
|
|
5473
|
+
.withField('quantity', DataType.DECIMAL, true)
|
|
5474
5474
|
.withField('fee', DataType.DECIMAL, true)
|
|
5475
5475
|
.withField('force', DataType.BOOLEAN, true)
|
|
5476
5476
|
.withField('close', DataType.BOOLEAN, true)
|