knox 修订了这个 Gist . 跳至此修订
1 file changed, 8 insertions
yfinance-6.py(file created)
@@ -0,0 +1,8 @@ | |||
1 | + | import yfinance as yf | |
2 | + | ||
3 | + | tickers = yf.Tickers('msft aapl goog') | |
4 | + | ||
5 | + | # access each ticker using (example) | |
6 | + | tickers.tickers['MSFT'].info | |
7 | + | tickers.tickers['AAPL'].history(period="1mo") | |
8 | + | tickers.tickers['GOOG'].actions |
更新
更早