@barchart/portfolio-api-common 1.5.0 → 1.5.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.
|
@@ -353,7 +353,7 @@ module.exports = (() => {
|
|
|
353
353
|
const transactionCreateFailedTypeReserved = new FailureType('TRANSACTION_CREATE_FAILED_TYPE_RESERVED', 'Unable to create {U|type.description} transaction, this type of transaction is managed by the system.');
|
|
354
354
|
const transactionCreateFailedReinvestPriceUnavailable = new FailureType('TRANSACTION_CREATE_FAILED_REINVEST_PRICE_UNAVAILABLE', 'Unable to create transaction, a dividend was paid on {L|day}; however no historical price is available for this day. To successfully create this transaction, please turn off dividend reinvestment for this position.');
|
|
355
355
|
const transactionCreateFailedPositionLocked = new FailureType('TRANSACTION_CREATE_FAILED_POSITION_LOCKED', 'Unable to create transaction, your {L|description} history is being recalculated. Please re-enter this transaction in a minute or two.');
|
|
356
|
-
const transactionCreateFailedInstrumentCorrupt = new FailureType('TRANSACTION_CREATE_FAILED_INSTRUMENT_CORRUPT', 'Unable to create transaction, corporate action history for {U|symbol} cannot be located.');
|
|
356
|
+
const transactionCreateFailedInstrumentCorrupt = new FailureType('TRANSACTION_CREATE_FAILED_INSTRUMENT_CORRUPT', 'Unable to create transaction, corporate action history for {U|symbol} cannot be located. The issue should be corrected within 24 to 48 hours.');
|
|
357
357
|
|
|
358
358
|
const transactionDeleteFailedOutOfSequence = new FailureType('TRANSACTION_DELETE_FAILED_OUT_OF_SEQUENCE', 'Deleting any transaction, except for the most recent, will cause transaction history to be re-written. Please confirm your intent to re-write transaction history (which could take some time and alter the historical results for this position).');
|
|
359
359
|
const transactionDeleteFailedNoTransaction = new FailureType('TRANSACTION_DELETE_FAILED_NO_TRANSACTION', 'Unable to delete transaction. The referenced transaction does not exist.', false);
|
|
@@ -40,14 +40,14 @@ module.exports = (() => {
|
|
|
40
40
|
|
|
41
41
|
this._reporting = reporting;
|
|
42
42
|
|
|
43
|
-
this._data = { };
|
|
44
|
-
|
|
45
|
-
this._data.basis = null;
|
|
46
|
-
|
|
47
43
|
this._currentQuote = null;
|
|
48
44
|
this._previousQuote = null;
|
|
49
45
|
this._currentPrice = null;
|
|
50
46
|
|
|
47
|
+
this._data = { };
|
|
48
|
+
|
|
49
|
+
this._data.basis = null;
|
|
50
|
+
|
|
51
51
|
this._data.currentPrice = null;
|
|
52
52
|
this._data.currentPricePrevious = null;
|
|
53
53
|
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -3865,14 +3865,14 @@ module.exports = (() => {
|
|
|
3865
3865
|
|
|
3866
3866
|
this._reporting = reporting;
|
|
3867
3867
|
|
|
3868
|
-
this._data = { };
|
|
3869
|
-
|
|
3870
|
-
this._data.basis = null;
|
|
3871
|
-
|
|
3872
3868
|
this._currentQuote = null;
|
|
3873
3869
|
this._previousQuote = null;
|
|
3874
3870
|
this._currentPrice = null;
|
|
3875
3871
|
|
|
3872
|
+
this._data = { };
|
|
3873
|
+
|
|
3874
|
+
this._data.basis = null;
|
|
3875
|
+
|
|
3876
3876
|
this._data.currentPrice = null;
|
|
3877
3877
|
this._data.currentPricePrevious = null;
|
|
3878
3878
|
|