JSPM

  • Created
  • Published
  • Downloads 109
  • Score
    100M100P100Q90873F
  • License MIT

SDK for streaming market data from Barchart.com

Package Exports

  • @barchart/marketdata-api-js/lib/utilities/convert/baseCodeToUnitCode
  • @barchart/marketdata-api-js/lib/utilities/convert/baseCodeToUnitCode.js
  • @barchart/marketdata-api-js/lib/utilities/data/UnitCode
  • @barchart/marketdata-api-js/lib/utilities/data/UnitCode.js
  • @barchart/marketdata-api-js/lib/utilities/format/fraction
  • @barchart/marketdata-api-js/lib/utilities/format/fraction.js
  • @barchart/marketdata-api-js/lib/utilities/format/price
  • @barchart/marketdata-api-js/lib/utilities/format/price.js
  • @barchart/marketdata-api-js/lib/utilities/parse/ddf/value
  • @barchart/marketdata-api-js/lib/utilities/parse/ddf/value.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@barchart/marketdata-api-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@barchart/marketdata-api-js

AWS CodeBuild NPM

Overview

Barchart offers streaming market data for a wide range of asset classes which trade on exchanges around the world. Review our market data catalog for details.

This SDK enables your applications to consume real-time market data, as follows:

  • A WebSocket connection is established between your application and Barchart's quote servers, then
  • Your application requests market data for one or more symbols, then
  • Your application receives a market data stream for subscribed symbols.

Openfeed

This library receives market data using a proprietary protocol called DDF. For new development, Barchart has switched to an open-source protocol called Openfeed to transfer market data. Consequently, this library will be marked as deprecated in the near future. You can access new SDK libraries for Openfeed here.

Documentation

Complete documentation for this SDK can be accessed here:

Demos

Working demos are available for web browser and Node.js environments. Please refer to the documentation.

Package Managers

This library has been published to NPM as @barchart/marketdata-api-js. Install as follows:

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

Build

Source code is written in ES2018. Consequently, transpilation is recommended for use in web browsers.