In this tutorial, we want to import Stock Prices from Yahoo Finance into Python. In order to do this, we use ticker module of YFinance.


The python library yfinance enables access to financial data from Yahoo Finance. Yahoo Finance provides various financial market data such as stock prices, currencies and cryptocurrencies.

Install and Import Libraries

Since yfinance is an open source library, it can be easily installed by using pip.

You can view this post with the tier: Academy Membership

Join academy now to read the post and get access to the full library of premium posts for academy members only.

Join Academy Already have an account? Sign In