iiegor / quotes-api

A Node.js financial quotes API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

quotes-api

A Node.js financial quotes API

See it running: https://finance-quotes.herokuapp.com/

Endpoints

/streamer - Real-time quotes using chunked transfer encoding

Parameters
  • symbols
  • params
  • region (optional) - [default: US]
  • lang (optional) - [default: en-US]
Response

There is no unique response, to handle it you should iterate trough the response data or similar, (see).

Each chunk is sent as an array of stringified JSON objects (can contain multiple quotes).

Usage example

/streamer?symbols=EURUSD=X,A,E,^IBEX,XLF,AAPL,FB,BAC,JCP,FTR,NYRT,F&params=l84,c63,p43&region=ES&lang=es-ES - demo

Development

Node.js >= 7.0.0 required

npm install - Install deps
npm run dev - Run a development instance
npm start - Run a production instance

License

MIT © Iegor Azuaga

About

A Node.js financial quotes API


Languages

Language:JavaScript 100.0%