Open Smit-create opened 1 year ago
pip install yfinance seaborn
>>> df = yf.download('AMZN', '2000-1-1', '2023-1-1', interval='1mo' ) >>> prices = df['Adj Close'] >>> data = prices.pct_change()[1:] * 100 >>> data.head() [*********************100%***********************] 1 of 1 completed
1 Failed download:
pip install yfinance seaborn
.1 Failed download: