Skip to content

Releases: barchart/marketdata-api-js

v5.0.2

05 May 16:07
Compare
Choose a tag to compare
  • 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

28 Apr 18:44
Compare
Choose a tag to compare

Functionally identical to 4.1.1. Major version bumped in strict compliance with semver standards.

  • Any breaking change should be a new major version (read more here).
  • A minor version with breaking changes should be re-released as a major version (read more here).

v4.1.1

28 Apr 14:51
Compare
Choose a tag to compare

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
    • Function behavior has changed.
      • Passing a value which cannot be parsed will yield Number.NaN.
      • Passing an invalid unit code will yield Number.NaN.
  • A formal enumeration, called UnitCode, was added.

v4.0.25

17 Apr 19:10
Compare
Choose a tag to compare
  • Added parsing logic for equity options.

v4.0.24

04 Apr 14:36
Compare
Choose a tag to compare

No functional changes.

  • Added package-lock.json file. Public libraries should lock dependencies.
  • Added continuous integration use AWS CodeBuild.

v4.0.23

30 Mar 13:23
Compare
Choose a tag to compare

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/ConnectionEventType as an alternative to literal String values

v4.0.18

23 Mar 16:00
Compare
Choose a tag to compare

Added better support for timezones.

  • Exchange timezones are now downloaded on Connection.connect.
  • Existing Quote.time and Quote.lastUpdate properties remain unchanged. These Date objects 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.timeUtc and Quote.lastUpdateUtc properties have been added. These Dates represent the actual and correct times of the the events (using the timezone of the local computer).
  • The format/quote function now accepts a fourth timezone parameter allowing the date/time to be shown in any desired timezone.

v4.0.3

23 Mar 15:21
Compare
Choose a tag to compare

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 Connection class was moved
  • 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
  • All index.js files were removed -- explicit imports are now required
  • Bower is no longer supported -- the bower.jsonfile was removed