Monday, May 31, 2021

Use Python and yfinance to get stock real-time data

 

Download winPython and open the spyder to install the yfinance at first

pip install yfinance

Launch Jupyter notebook and create a new one as below

image-20210531151255700

 


More details Python and Yfinance can provide

 

 

0 1
Earnings Date 2021-07-20 00:00:00 2021-07-26 00:00:00
Earnings Average 1.9 1.9
Earnings Low 1.64 1.64
Earnings High 2.03 2.03
Revenue Average 44105500000 44105500000
Revenue Low 40850000000 40850000000
Revenue High 45019500000 45019500000

 

No comments:

Post a Comment