Size: 234
Comment:
|
Size: 430
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
{{{#!highlight python import yfinance data = yfinance.download("AMZN",start="2019-01-01",end="2020-02-12") d = data.to_dict() d['Close'].key for k in d['Close'].iterkeys(): print (k) }}} |
yfinance
yfinance aimes to solve this problem by offering a reliable, threaded, and Pythonic way to download historical market data from Yahoo! finance.
- pip install yfinance --user