Socket
Socket
Sign inDemoInstall

yahoo-finance-api

Package Overview
Dependencies
51
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

yahoo-finance-api

Get Earnings from Yahoo Finance


Version published
Maintainers
1
Weekly downloads
4
decreased by-75%

Weekly downloads

Readme

Source

yahoo-finance-api

npm version npm downloads

Scrapes yahoo finance earnings calendar from a given date.

Installation

npm install yahoo-finance-api
yarn install yahoo-finance-api

Usage

import { YahooFinance } from 'yahoo-finance-api';

const earnings = await YahooFinance.getEarnings(new Date('2020-06-16')); // default new Date()
console.log(earnings);
// Upcoming Earning
[{ 
    epsEstimate: 1.17,
    epsReported: undefined,
    epsSurprise: undefined,
    reportDate: '2020-06-16',
    symbol: 'ORCL',
    company: 'Oracle Corp',
    announceTime: 'After Market Close',
    epsSurpriseDollar: undefined
}]
// Previous Earning
[{
    epsEstimate: 2.33,
    epsReported: 2.45,
    epsSurprise: 5.15,
    reportDate: '2020-06-11',
    symbol: 'ADBE',
    company: 'Adobe Inc.',
    announceTime: 'Time Not Supplied',
    epsSurpriseDollar: 0.12
}]

License

MIT

Keywords

FAQs

Last updated on 16 Jun 2020

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