How to Download Financial Data to Excel Spreadsheet

Yfinance and Openpyxl Modules in Action

Jaroslav Šmarda
The Pythoneers
Published in
3 min readSep 21, 2021

--

Photo by Andrea Piacquadio from Pexels

Let’s see how to use Yahoo! Finance market data downloader.

In a simple example, I will show you how to download financial data of companies traded on the stock exchange into an Excel .xlsx file.
We will save downloaded data using the Openpyxl Python library to read/write Excel 2010

--

--

Jaroslav Šmarda
The Pythoneers

Python and C Developer | Software Engineer Freelancer