Releases: barchart/marketdata-api-js
Releases · barchart/marketdata-api-js
v6.1.1
Bug Fixes
- Corrected precision issue exhibited by
UnitCode.getMinimumTickfunction by switching internal calculations to useDecimalinstances (instead of native floating point numbers). - Corrected precision issue exhibited by
UnitCode.getMinimumTickValuefunction by switching internal calculations to useDecimalinstances (instead of native floating point numbers).
v6.1.0
New Features
- Added the
UnitCode.getMinimumTickfunction. - Added the
UnitCode.getMinimumTickValuefunction.
Other
- Improved the documentation for the
Profile.tickincrementproperty.
v6.0.2
Bug Fixes
- Added DDF value parsing logic for unit code
F(which divides value by 10,000,000).
v6.0.1
New Features
- Added
SymbolParser.getIsCashfunction.
v6.0.0
Breaking Changes
- Eliminated some third-party dependencies. As a consequence, Node.js environments must now pass an instance of
EnvironmentForNodeto theConnectionconstructor. Alternately, an instance ofXmlParserFactoryForNodemay be passed to theConnection.connectfunction. - Changed the signature of the
utilities/parse/ddf/messagefunction. It is unlikely that SDK consumers call this function directly. However, if this function is used, anXmlParserinstance must now me passed the to function.
Technical Enhancements
- The
momentdependency has been eliminated after explicitly updating the @barchart/common-js library. - The
@xmldom/xmldomdependency is now only used when operating in Node.js. Consequently, tree-shaking tools may now exclude this dependency.
v5.27.1
Bug Fixes
- Updated the
@xmldom/xmldomlibrary, addressing security vulnerability.
v5.27.0
New Features
- Added
SymbolParser.getIsGrainBidfunction. - Added out-of-band profile extension data for grain bid instruments.
v5.26.0
New Features
- Added
previousPriceChangeandpreviousPriceChangePercentattributes to theQuoteobject.
v5.25.1
Bug Fixes
- Corrected failure to update
Quoteobject when the timestamp of a refresh message cannot be parsed (DDF2/1,2/2,2/3and2/4messages).
v5.25.0
New Features
- Updated logic to explicitly assign the
Profile.assetproperty forAssetClass.CMDTY_STATSinstruments.
Bug Fixes
- Fixed
AssetClass.parsefunction. - Fixed
utilities/format/quote.js, preventing an error from being thrown when (a) thetimezoneargument is specified, and (b) thequoteargument'stimeUtcattribute is missing.