This Python script downloads financial statements (balance sheet, income statement, and cash flow statement) and other publicly available information via Yahoo! Finance for listed companies.
-
Install Python3 using Microsoft Store or any other IDE of choice.
-
Download the zip https://github.com/voidbydefault/financial-statements/archive/refs/heads/master.zip
-
Unzip the code and open the folder, right click then select 'open in terminal'.
-
copy/pastefollowing commands in 'cmd' or 'terminal' to get started:pip install -r requirements.txtpython3 main.py
-
Enter tickers/symbols in code.country format [e.g., 4300.SR] in 'main.py' (browse https://finance.yahoo.com/ to find ticker(s) of interest)
tickers = ['4300.SR', '4240.SR', '####.XY'] -
Select a folder to save financial statements in Excel format:
That's it.
