EtfDb#
Following methods are provided:
- class rug.etfdb.EtfDb(symbol=None)#
EtfDb.com
- get_basic_info()#
Returns basic info about the given ETF. The info is:
Issuer
Brand
Structure
Expense Ratio
Inception
Index Tracked
Category
Leveraged
Asset Class
Asset Class Size
Region (General)
Region (Specific)
Description
Assets Under Management
- Returns:
ETF basic info as a dict.
- Return type:
dict
- get_etfs_by_item()#
Returns (top) 25 ETF’s the item is included in (sorted by it’s weight).
Returned list contains of items where item is a list with items:
symbol
name
category
expense ratio
weighting
- get_holdings()#
Returns ETF holdings (15 at max) list where each item is a list with items:
symbol
stock name
percentage