A bot that downloads information of ASX stock codes (price, company, financial, and ratios) into a spreadsheet using the YFinance API.
- Python 3
- Jupyter Notebook (pip install jupyter-notebook)
- yfinance (pip install yfinance)
- lxml (pip install lxml)
- Clone this repo to your local machine using
https://github.com/edgecate/stock-analysis
- Have the pre-requisites above, installed
- Clone or download the Notebook (.ipynb)
- Download the list of ASX stock codes which can be found here:
https://www.asx.com.au/asx/research/listedCompanies.do
- Click the
download the complete list
link - Save that file as
ASX.csv
- Keep it in the same folder as where you've saved this Jupyter Notebook
- Open the Notebook
- Run each cell
Reach out to me at one of the following places!
- Youtube:
Edgecate
for more Python tutorials and awesome content