Skip to main content

Dataframe downloader for fundamental financials

Project description

It is a Python 3 library for generating stock fundamental data through YahooFinance. The library is primarily based on yfinance package. fundamental requires only list of tickers input from the user and easily generate dataframe for fundamental ratio analysis, relative value ratio analysis and industry relative analysis.

Data inclusion

  • financials for recent 3 years. (income statement, balance sheet, cash flow statement)

  • calendar year end financials for comparision.

  • TTM financial by aggregate recent 4 quarters data

  • Basic share data for each fiscal year end and recent fiscal quarter end

  • price data for each fiscal year end and recent fiscal quarter end

Ticker source example

https://www.ishares.com/us/products/239522/ishares-us-technology-etf Holding section show the full list of component

Usage

# pip install git+https://github.com/steven2K19/fundamental
# or simply download the py file in your folder

from fundamental import get_df_list

symlist=['GOOG','MSFT','FB']
df = get_df_list(symlist)

Limitation

  • It takes about 10 minutes to create dataframe for 100 stocks.

  • Few tickers cannot be scraped by yfinance.

  • slow internet connection would lead scraping error and the program will auto try 3 times.

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

fundamental-0.1.1.6.tar.gz (1.8 kB view hashes)

Uploaded Source

Supported by

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