Releases: barchart/marketdata-api-js
Releases · barchart/marketdata-api-js
v6.1.0
New Features
- Added the
UnitCode.getMinimumTick
function. - Added the
UnitCode.getMinimumTickValue
function.
Other
- Improved the documentation for the
Profile.tickincrement
property.
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.getIsCash
function.
v6.0.0
Breaking Changes
- Eliminated some third-party dependencies. As a consequence, Node.js environments must now pass an instance of
EnvironmentForNode
to theConnection
constructor. Alternately, an instance ofXmlParserFactoryForNode
may be passed to theConnection.connect
function. - Changed the signature of the
utilities/parse/ddf/message
function. It is unlikely that SDK consumers call this function directly. However, if this function is used, anXmlParser
instance must now me passed the to function.
Technical Enhancements
- The
moment
dependency has been eliminated after explicitly updating the @barchart/common-js library. - The
@xmldom/xmldom
dependency 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/xmldom
library, addressing security vulnerability.
v5.27.0
New Features
- Added
SymbolParser.getIsGrainBid
function. - Added out-of-band profile extension data for grain bid instruments.
v5.26.0
New Features
- Added
previousPriceChange
andpreviousPriceChangePercent
attributes to theQuote
object.
v5.25.1
Bug Fixes
- Corrected failure to update
Quote
object when the timestamp of a refresh message cannot be parsed (DDF2/1
,2/2
,2/3
and2/4
messages).
v5.25.0
New Features
- Updated logic to explicitly assign the
Profile.asset
property forAssetClass.CMDTY_STATS
instruments.
Bug Fixes
- Fixed
AssetClass.parse
function. - Fixed
utilities/format/quote.js
, preventing an error from being thrown when (a) thetimezone
argument is specified, and (b) thequote
argument'stimeUtc
attribute is missing.
v5.24.0
New Features
- Updated quote "extension" logic to add
Quote.currentDate
andQuote.previousDate
attributes for cmdtyStats instruments. See thesetExtendedQuoteMode
function.