Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    finance-scraperpublic

    Introduction

    finance-scraper is a scraper written to pull ticker and profile data from Yahoo Finance.

    Both callback and promise(Bluebird) styles are supported

    Metrics

    • Market Cap
    • Volume
    • Average Volume
    • Dividend
    • Beta
    • PE Ratio
    • PEG Ratio
    • PSE
    • ROA
    • ROE
    • Next Earning Date

    Profile

    • Description

    Installation

    npm install finance-scraper
    

    Usage

    Ticker Data

    var financeScraper = require('finance-scraper');
     
    financeScraper.getTickerData('AAPL')
        .then(onGet);
     
    function onGet(data) {
        console.log('Beta: ', data.beta);
        console.log('Market Cap: ', data.marketCap);
        ...
    }

    Profile Data

    var financeScraper = require('finance-scraper');
     
    financeScraper.getProfileData('AAPL')
        .then(onGet);
     
    function onGet(data) {
        console.log('Description: ', data.description);
        ...
    }

    Keywords

    none

    install

    npm i finance-scraper

    Downloadsweekly downloads

    2

    version

    0.0.0

    license

    none

    last publish

    collaborators

    • avatar