@barchart/portfolio-api-common 1.3.17 → 1.3.21
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/.jshintrc +3 -1
- package/README.md +5 -0
- package/gulpfile.js +29 -49
- package/lib/api/failures/PortfolioFailureType.js +53 -3
- package/lib/data/CorporateActionType.js +24 -0
- package/lib/data/PositionSummaryFrame.js +1 -3
- package/lib/data/TransactionType.js +128 -26
- package/lib/data/TransactionValidator.js +9 -1
- package/lib/formatters/TransactionFormatter.js +36 -0
- package/lib/serialization/PositionSummarySchema.js +22 -0
- package/lib/serialization/TransactionSchema.js +11 -3
- package/package.json +9 -11
- package/test/SpecRunner.js +4227 -4070
- package/test/specs/data/PositionSummaryFrameSpec.js +1 -1
|
@@ -418,7 +418,7 @@ describe('After the PositionSummaryFrame enumeration is initialized', () => {
|
|
|
418
418
|
});
|
|
419
419
|
});
|
|
420
420
|
|
|
421
|
-
describe('and a year-to-date position summary ranges are processed for a transaction set that opened
|
|
421
|
+
describe('and a year-to-date position summary ranges are processed for a transaction set that opened last year and has not yet closed (assuming its 2020)', () => {
|
|
422
422
|
let ranges;
|
|
423
423
|
|
|
424
424
|
beforeEach(() => {
|