Última actividad 1730172640

yfinance-4.py Sin formato
1import yfinance as yf
2spy = yf.Ticker('SPY')
3data = spy.funds_data
4
5# show fund description
6data.description
7
8# show operational information
9data.fund_overview
10data.fund_operations
11
12# show holdings related information
13data.asset_classes
14data.top_holdings
15data.equity_holdings
16data.bond_holdings
17data.bond_ratings
18data.sector_weightings