0.0.21 • Published 9 years ago

data-forge-from-yahoo v0.0.21

Weekly downloads
8
License
MIT
Repository
github
Last release
9 years ago

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.

0.0.21

9 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago