Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

JavaScript library for for parsing and interpreting DDF messages

License

Notifications You must be signed in to change notification settings

barchart/marketdata-utilities-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@barchart/marketdata-utilities-js

A JavaScript library for parsing and interpreting Barchart's DDF protocol

Deprecation

This library is deprecated. It has been subsumed by @barchart/marketdata-api-js -- as of major version 4. Please upgrade as soon as possible.

Upgrade Instructions

Install the new library, as follows:

npm install @barchart/marketdata-api-js -S

All utilities (from this project) can now be found here:

@barchart/marketdata-api-js/lib/utilities

Upgrade Comments

  • Object and function names have been changed slightly; however, it shouldn't be too difficult to resolve.
  • In this library, we often exported JavaScript objects which wrapped functions. After the upgrade, we attempt to export plain functions. For example:
    • old: module.exports = { format: function(x) { } }
    • new: module.exports = format(x) { }
  • Factory functions to build price and date/time formatters still exist (which use closures to store defaults). See the following:
    • /lib/utilities/format/factories/price.js
    • /lib//utilities/format/factories/quote.js

About

JavaScript library for for parsing and interpreting DDF messages

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published