Releases: barchart/portfolio-api-common
Releases · barchart/portfolio-api-common
v1.21.0
New Features
- Added
PositionGroup.actual.market2
andPositionGroup.data.market2
attributes (excludes value of futures contracts). - Added
PositionGroup.actual.basis2
andPositionGroup.data.basis2
attributes (excludes value of futures contracts).
v1.20.0
New Features
- Added the
ValuationCalculator
utility class.
Technical Enhancements
- Switched the
PositionItem
class to use theValuationCalculaor
utility class.
v1.19.0
New Features
- Added new enumeration items to
InstrumentType
for futures and equity options. - Updated
PositionItem
to support calculations for futures and equity options.
Bug Fixes
- Updated
@barchart/marketdata-api-js
library, taking fix for precision of futures contract calculations.
v1.18.0
New Features
- Added new enumeration item to
InstrumentType
for futures contracts. - Added new
allowFractional
attribute toInstrumentType
enumeration. - Updated
PositionItem
to support calculations for futures contracts.
v1.17.1
Other
- Adjusted the
PositionContainer
to refreshPortfolio
calculations when changing itsCurrency
.
v1.17.0
New Features
- Added an optional
currencyPairs
argument to thePositionContainer
, allowing to override defaultCurrencies
.
Technical Enhancements
- Upgraded the @barchart/common-js library to the next minor version.
v1.16.0
New Features
- Added average cost attribute when formatting
SPINOFF
andSPINOFF_OPEN
transactions. - Added average cost attribute when formatting
MERGER_OPEN
transactions.
Bug Fixes
- Corrected
chained
andtransfer
attributes of theTransactionType.SPINOFF_OPEN
enumeration item.
v1.15.0
New Features
- Adjusted
PositionContainer
to supportHKD
.
Technical Enhancements
- Upgraded the @barchart/common-js library to the next minor version.
v1.14.0
New Features
- Adjusted
PositionContainer
to supportEUR
andJPY
currencies.
Technical Enhancements
- Upgraded the @barchart/common-js library to the next minor version.
v1.12.0
New Feature
- Added a new
PortfolioFailureType
for failures to generate Wealthscope JWT.