@barchart/portfolio-api-common 1.0.95 → 1.0.96
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.
|
@@ -245,9 +245,9 @@ module.exports = (() => {
|
|
|
245
245
|
.withField('portfolio', DataType.STRING)
|
|
246
246
|
.withField('position', DataType.STRING)
|
|
247
247
|
.withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
|
|
248
|
-
.withField('instrument.name', DataType.STRING)
|
|
249
|
-
.withField('instrument.type', DataType.forEnum(InstrumentType, 'InstrumentType'))
|
|
250
|
-
.withField('instrument.currency', DataType.forEnum(Currency, 'Currency'))
|
|
248
|
+
.withField('instrument.name', DataType.STRING, true)
|
|
249
|
+
.withField('instrument.type', DataType.forEnum(InstrumentType, 'InstrumentType'), true)
|
|
250
|
+
.withField('instrument.currency', DataType.forEnum(Currency, 'Currency'), true)
|
|
251
251
|
.withField('instrument.symbol.barchart', DataType.STRING, true)
|
|
252
252
|
.withField('instrument.symbol.display', DataType.STRING, true)
|
|
253
253
|
.withField('date', DataType.DAY)
|
|
@@ -272,11 +272,6 @@ module.exports = (() => {
|
|
|
272
272
|
.withField('portfolio', DataType.STRING)
|
|
273
273
|
.withField('position', DataType.STRING)
|
|
274
274
|
.withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
|
|
275
|
-
.withField('instrument.name', DataType.STRING)
|
|
276
|
-
.withField('instrument.type', DataType.forEnum(InstrumentType, 'InstrumentType'))
|
|
277
|
-
.withField('instrument.currency', DataType.forEnum(Currency, 'Currency'))
|
|
278
|
-
.withField('instrument.symbol.barchart', DataType.STRING, true)
|
|
279
|
-
.withField('instrument.symbol.display', DataType.STRING, true)
|
|
280
275
|
.withField('date', DataType.DAY)
|
|
281
276
|
.withField('price', DataType.DECIMAL)
|
|
282
277
|
.withField('quantity', DataType.DECIMAL)
|
|
@@ -288,6 +283,11 @@ module.exports = (() => {
|
|
|
288
283
|
.withField('portfolio', DataType.STRING)
|
|
289
284
|
.withField('position', DataType.STRING)
|
|
290
285
|
.withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
|
|
286
|
+
.withField('instrument.name', DataType.STRING, true)
|
|
287
|
+
.withField('instrument.type', DataType.forEnum(InstrumentType, 'InstrumentType'), true)
|
|
288
|
+
.withField('instrument.currency', DataType.forEnum(Currency, 'Currency'), true)
|
|
289
|
+
.withField('instrument.symbol.barchart', DataType.STRING, true)
|
|
290
|
+
.withField('instrument.symbol.display', DataType.STRING, true)
|
|
291
291
|
.withField('date', DataType.DAY)
|
|
292
292
|
.withField('price', DataType.DECIMAL)
|
|
293
293
|
.withField('quantity', DataType.DECIMAL)
|
|
@@ -388,8 +388,8 @@ module.exports = (() => {
|
|
|
388
388
|
.withField('portfolio', DataType.STRING)
|
|
389
389
|
.withField('position', DataType.STRING)
|
|
390
390
|
.withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
|
|
391
|
-
.withField('instrument.type', DataType.forEnum(InstrumentType, 'InstrumentType'))
|
|
392
|
-
.withField('instrument.currency', DataType.forEnum(Currency, 'Currency'))
|
|
391
|
+
.withField('instrument.type', DataType.forEnum(InstrumentType, 'InstrumentType'), true)
|
|
392
|
+
.withField('instrument.currency', DataType.forEnum(Currency, 'Currency'), true)
|
|
393
393
|
.withField('date', DataType.DAY)
|
|
394
394
|
.withField('amount', DataType.DECIMAL)
|
|
395
395
|
.withField('fee', DataType.DECIMAL, true)
|