Skip to content

iiegor/quotes-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published