Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barchart/marketdata-api-js
JavaScript SDK for accessing streaming market data via WebSockets
https://github.com/barchart/marketdata-api-js
barchart forex futures javascript market-data nodejs npm-package public-repository sdk stocks stream websockets
Last synced: 4 days ago
JSON representation
JavaScript SDK for accessing streaming market data via WebSockets
- Host: GitHub
- URL: https://github.com/barchart/marketdata-api-js
- Owner: barchart
- License: other
- Created: 2015-02-24T20:37:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-15T17:14:03.000Z (about 1 month ago)
- Last Synced: 2024-10-16T23:54:44.027Z (about 1 month ago)
- Topics: barchart, forex, futures, javascript, market-data, nodejs, npm-package, public-repository, sdk, stocks, stream, websockets
- Language: JavaScript
- Homepage: https://barchart.github.io/marketdata-api-js/#/
- Size: 3.8 MB
- Stars: 24
- Watchers: 21
- Forks: 104
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# @barchart/marketdata-api-js
[![AWS CodeBuild](https://codebuild.us-east-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiY1VDTWRsRHkwK0NRYnJNZk95WjVEMzR3QW9EbUtTRG9yNExRSk0yVTI1MEtWWGlDOXUvQU1xTmNuTUxNd0REZ1VlZkc2WXRPMXZ2SWpOSW83UkdYc3c4PSIsIml2UGFyYW1ldGVyU3BlYyI6IjhUTXBaL1E4RW5WRGlKTjIiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)](https://github.com/barchart/marketdata-api-js)
[![NPM](https://img.shields.io/npm/v/@barchart/marketdata-api-js)](https://www.npmjs.com/package/@barchart/marketdata-api-js)### Overview
[Barchart](https://www.barchart.com) offers streaming market data for a wide range of asset classes which trade on exchanges around the world. Review our [market data catalog](https://www.barchart.com/solutions/data/market) 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](https://docs.barchart.com/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](https://www.barchart.com/solutions/services/stream).
### Documentation
Complete documentation for this SDK can be accessed here:
* [https://barchart.github.io/marketdata-api-js/#/](https://barchart.github.io/marketdata-api-js/#/)
### Demos
Working demos are available for web browser and Node.js environments. Please refer to the [documentation](https://barchart.github.io/marketdata-api-js/#/content/quick_start?id=demos).
### Package Managers
This library has been published to NPM as [@barchart/marketdata-api-js](https://www.npmjs.com/package/@barchart/marketdata-api-js). Install as follows:
```sh
npm install @barchart/marketdata-api-js -S
```### Build
Source code is written in [ES2018](https://en.wikipedia.org/wiki/ECMAScript#9th_Edition_%E2%80%93_ECMAScript_2018). Consequently, transpilation is recommended for use in web browsers.