import yfinance as yf
stock = yf.Ticker("ABEV3.SA")
data1= stock.info
print(data1)
There is "bid" and "ask", but no actual stock price.
Try this:
import yfinance as yf
stock = yf.Ticker("ABEV3.SA")
price = stock.info['regularMarketPrice']
print(price)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With