Python

yahoo_fin 0.8.6

yahoo_fin, a package for scraping stock prices and financial data, was recently updated to version 0.8.6. The latest version has several new features, including the following:

  • Users can now pull quarterly fundamentals data (in addition to yearly). This includes balance sheets, income statements, and cash flow statements.
  • Earnings data can be extracted with the new get_earnings method.
  • If you’re looking to get multiple pieces of fundamentals data for the same stock – i.e. cash flows, income statements, and balance sheets, then make sure to check out a new method called get_financials. This method allows you to easily pull data points from each of these sources in a single request.
  • New methods were added to retrieve historical dividend payouts and splits information.
  • A bug in the ticker extraction methods causing a subset of tickers to be excluded was fixed.
  • For more on the updates and on yahoo_fin, check out the documentation here.

    Andrew Treadway

    Recent Posts

    Software Engineering for Data Scientists (New book!)

    Very excited to announce the early-access preview (MEAP) of my upcoming book, Software Engineering for…

    1 year ago

    How to stop long-running code in Python

    Ever had long-running code that you don't know when it's going to finish running? If…

    2 years ago

    Faster alternatives to pandas

    Background If you've done any type of data analysis in Python, chances are you've probably…

    3 years ago

    Automated EDA with Python

    In this post, we will investigate the pandas_profiling and sweetviz packages, which can be used…

    3 years ago

    How to plot XGBoost trees in R

    In this post, we're going to cover how to plot XGBoost trees in R. XGBoost…

    3 years ago

    Python collections tutorial

    In this post, we'll discuss the underrated Python collections package, which is part of the…

    3 years ago