yfinance-5.py
· 385 B · Python
Неформатований
import yfinance as yf
msft = yf.Ticker("MSFT")
msft.history(..., proxy="PROXY_SERVER")
msft.get_actions(proxy="PROXY_SERVER")
msft.get_dividends(proxy="PROXY_SERVER")
msft.get_splits(proxy="PROXY_SERVER")
msft.get_capital_gains(proxy="PROXY_SERVER")
msft.get_balance_sheet(proxy="PROXY_SERVER")
msft.get_cashflow(proxy="PROXY_SERVER")
msft.option_chain(..., proxy="PROXY_SERVER")
...
1 | import yfinance as yf |
2 | |
3 | msft = yf.Ticker("MSFT") |
4 | |
5 | msft.history(..., proxy="PROXY_SERVER") |
6 | msft.get_actions(proxy="PROXY_SERVER") |
7 | msft.get_dividends(proxy="PROXY_SERVER") |
8 | msft.get_splits(proxy="PROXY_SERVER") |
9 | msft.get_capital_gains(proxy="PROXY_SERVER") |
10 | msft.get_balance_sheet(proxy="PROXY_SERVER") |
11 | msft.get_cashflow(proxy="PROXY_SERVER") |
12 | msft.option_chain(..., proxy="PROXY_SERVER") |
13 | ... |