Category : yfinance

I want to fetch the quarterly EPS data for NSE listed companies. I am give to understand that yfinance symbol = yf.Ticker("TCS.NS").info symbol["trailingPE"] This gives me out put for current Trailing PE. I want to fetch historical trailing PE Or een if I get historical EPS for the said company I ll take it forward ..

Read more

I made (or watched a video) on how to make a python script to show me the stock price of a specific company. The script: import yfinance as yf stock_info = yf.Ticker(‘TSLA’).info stock_info.keys() for other properties you can explore market_price = stock_info[‘regularMarketPrice’] previous_close_price = stock_info[‘regularMarketPreviousClose’] print(‘market price ‘, market_price) print(‘previous close price ‘, previous_close_price) But ..

Read more