Skip to main content

Quick module to scrape yahoo financial data for stocks.

Project description

Package to obtain financial fundamental data from yahoo.com/finance webiste. Returns the balance sheet, income statement, cashflow, key statistics, price and other infos.

Requirements

$ pip install -r requirements.txt

Installation

$ pip install yahoo_ff

Using

A single stock

from yahoo_ff.yahoo_ff import yahoo_ff
aapl = yahoo_ff('aapl')

will create an object from which several Pandas DataFrames of interest can be extracted

quarterlySECreports = aapl.sec_quarter
annualSECreports = aapl.sec_annual
keyStatsOfTheDay = aapl.stats
infoAboutCompany = aapl.info
priceOfTheDay = aapl.price

this is an example for apple’s last 3 years of financial data (70 rows) image0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yahoo_ff-1.1.5.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file yahoo_ff-1.1.5.tar.gz.

File metadata

  • Download URL: yahoo_ff-1.1.5.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yahoo_ff-1.1.5.tar.gz
Algorithm Hash digest
SHA256 582fa1fbec867bf995f0b77804c9e5cdfde5ae22c63723af43d2642d1ffdcdcd
MD5 f4197189aa29f20fa15275eae08d71db
BLAKE2b-256 ec3e9de883ee90acc4645bc0080e60b1ab2e3f5db40c0a4c0067dc282b11b740

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page