stock-data
A simple library for extracting stock data from Google Finance.
Last updated 7 years ago by robbrit .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install stock-data 
SYNC missed versions from official npm registry.

Wat

Simple library for extracting stock fundamentals from Google Finance.

Install

Easy:

npm install stock-data

Usage:

Also pretty easy:

stockData = require("stock-data");

stockData.fundamentals("NYSEARCA", "SPY", function(err, data){
  console.log(err, data);
});

Would output (as of Jan. 27, 2013):

null { price: 150.25,
  range: '149.47 - 150.25',
  range52Week: '130.85 - 150.25',
  open: 149.88,
  volume: 23680000,
  marketCap: 123290000000,
  peRatio: 4.84,
  dividend: 1.02,
  eps: 31.03,
  shares: 820580000,
  beta: 1,
  dividendYield: 2.07,
  averageVolume: '',
  rangeStart: 149.47,
  rangeEnd: 150.25,
  range52WeekStart: 130.85,
  range52WeekEnd: 150.25,
  netProfitMargin: 323.71 }

Current Tags

  • 0.1.0                                ...           latest (7 years ago)

5 Versions

  • 0.1.0                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |