Releases: barchart/marketdata-api-js
Releases · barchart/marketdata-api-js
v5.1.0
- Add Quote.previousSettlementPriceproperty.
v5.0.2
- Corrected parsing logic for equity option symbols where underlying stock is listed on the Toronto Stock Exchange.
- Updated documentation format (particularly, the SDK Reference section).
v5.0.1
v4.1.1
Refactor price formatting and parsing. As a result, breaking changes may have been introduced.
- The price format function has refactored.
- Function signature is unchanged.
- Function behavior has changed.
- A string is always returned.
- Passing a non-numeric value will yield a zero-length string.
- Passing an invalid unit code will yield a zero-length string.
 
 
- The price parse function has been refactored.
- Function signature was expanded.
- New arguments were appended. The same values used to format a value should be used when parsing.
- fractionSeparator
- specialFractions
- thousandsSeparator
 
 
- New arguments were appended. The same values used to format a value should be used when parsing.
- Function behavior has changed.
- Passing a value which cannot be parsed will yield Number.NaN.
- Passing an invalid unit code will yield Number.NaN.
 
 
- Function signature was expanded.
- A formal enumeration, called UnitCode, was added.
v4.0.25
v4.0.24
No functional changes.
- Added package-lock.json file. Public libraries should lock dependencies.
- Added continuous integration use AWS CodeBuild.
v4.0.23
No functional changes.
- Added formal documentation
- Documentation published to GitHub Pages
- Removed wiki documents from GitHub (replaced by documentation)
 
- Updated, corrected and modernized JDSoc comments
- Added lib/connection/ConnectionEventTypeas an alternative to literalStringvalues
v4.0.18
Added better support for timezones.
- Exchange timezones are now downloaded on Connection.connect.
- Existing Quote.timeandQuote.lastUpdateproperties remain unchanged. TheseDateobjects are still misleading. They are populated with hours, minutes, and seconds from DDF; however the timzeone of the local computer is incorrectly assumed.
- Additional Quote.timeUtcandQuote.lastUpdateUtcproperties have been added. TheseDatesrepresent the actual and correct times of the the events (using the timezone of the local computer).
- The format/quotefunction now accepts a fourthtimezoneparameter allowing the date/time to be shown in any desired timezone.
v4.0.3
Features from the deprecated @barchart/marketdata-utilities-js library have been incorporated here. As a result, several breaking changes have been introduced.
- Many objects and functions have been renamed or moved
- The Connectionclass was moved
 
- The 
- The library now includes features from @barchart/marketdata-utilities-js
- Utilities have been placed in the /lib/utilitiesfolder
- Utilities are now exported as pure functions -- with no object wrappers
 
- Utilities have been placed in the 
- All index.jsfiles were removed -- explicit imports are now required
- Bower is no longer supported -- the bower.jsonfile was removed