![]() ![]() There’s a couple ways to get the current P/E ratio for a company. How to get P/E (Price-to-Earnings) Ratios Next, we’ll dive into getting common company metrics, starting with P/E ratios. We’ll also import the pandas package as we’ll be using that later to work with data frames. This will provide us with the functionality we need to scrape fundamentals data from Yahoo Finance. Now, let’s import the stock_info module from yahoo_fin. For more on yahoo_fin, including installation instructions, check out its full documentation here or my YouTube video tutorials here. We’ll be extracting fundamentals data from Yahoo Finance using the yahoo_fin package. In this post we will explore how to download fundamentals data with Python. How can we download fundamentals data with Python?
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |