Socket
Socket
Sign inDemoInstall

google-finance-data

Package Overview
Dependencies
42
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    google-finance-data

Google Finance API for real-time stock quotes and company data from Google Finance


Version published
Weekly downloads
1
decreased by-90%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

google-finance-data

Google Finance API for real-time stock quotes and company data from Google Finance

Install

$ npm install google-finance-data --save

Usage

var google = require("google-finance-data");

google.getSymbol("msft")
  .then(data => console.log(JSON.stringify(data, null, 2)))
  .catch(err => console.error(err.stack ? err.stack : err));

/*
{
  "symbol": "MSFT",
  "companyName": "Microsoft Corporation",
  "ticker": "NASDAQ:MSFT",
  "last": 95.16,
  "open": 93.32,
  "high": 95.37,
  "low": 92.92,
  "marketCap": "726.78B",
  "peRatio": 26.42,
  "yield": 1.77,
  "prevClose": 94.07,
  "high52week": 97.9,
  "low52week": 67.14
}
*/

License

MIT license; see LICENSE.

Keywords

FAQs

Last updated on 31 May 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc