Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

data-forge-from-yahoo

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-forge-from-yahoo

Data-Forge plugin for pulling data from the Yahoo financial API.

  • 0.0.21
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by66.67%
Maintainers
1
Weekly downloads
 
Created
Source

data-forge-from-yahoo

Data-Forge plugin for pulling data from the Yahoo financial API.

Installation

You need Data-Forge to use this plugin.

For Nodejs:

npm install --save data-forge-from-yahoo

For the browser:

bower install --save data-forge-from-yahoo

Setup

For Nodejs:

var dataForge = require('data-forge');
dataForge.use(require('data-forge-from-yahoo'));

For the browser:

<script src="bower_components/data-forge/data-forge.js"></script>
<script src="bower_components/data-forge-from-yahoo/from-yahoo.dist.js"></script>

Usage

dataForge.fromYahoo('MSFT')
	.then(function (dataFrame) {
		console.log(dataFrame.take(5).toString());
	})
	.catch(function (err) {
		// ... error handling ...
	}); 

Note: When using data-forge-from-yahoo in the browser you'll most likely need to use a proxy server.

Example

For an example please see the related article about graphing financial data with Data-Forge and Highstock.

Keywords

FAQs

Package last updated on 01 Nov 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc