📅  最后修改于: 2022-03-11 14:47:13.242000             🧑  作者: Mango
#In your command prompt you first need to install yfinance by running:
#pip install yfinance
import yfinance as yf
AAPL = yf.Ticker('AAPL').history('5y')