fundlab: EDGAR investment-objective fetcher + curated fallback
- edgar.py: SEC FTS + submissions API; strict cover-gate extraction (name in title position or (TICKER) on the cover; underlying-reference names like leveraged wrappers rejected); 4-pass fetch (ticker->CIK filings, name search, annual reports, ticker search); keyword category classifier. Returns None rather than a wrong fund's objective. - fundinfo.py CLI: curated -> cached -> EDGAR resolution into funds.json - funds_curated.json: human-verified objectives for 13 benchmark-pool funds (iShares/Vanguard family-trust classes the scraper can't reach) - tests: 26 checks incl. live EDGAR fetch of VTSAX
This commit is contained in:
@@ -0,0 +1,158 @@
|
||||
Treasury/Agency:
|
||||
|
||||
vfijx gnma
|
||||
vipix inflation-protected securities
|
||||
vbiux intermediate-term bond index
|
||||
viigx intermediate-term government bond
|
||||
vfiux intermediate term treasury
|
||||
vblix long-term bond index
|
||||
vlgix long-term government bond
|
||||
vusux long-term treasury
|
||||
vmbix mortgage-backed securities
|
||||
vbipx short-term bond index
|
||||
vsbix short-term government bond
|
||||
vtspx short-term inflation protected
|
||||
vfirx short-term treasury
|
||||
vbtlx total bond market index
|
||||
|
||||
Investment Grade:
|
||||
|
||||
vicbx intermediate-term corporate bond
|
||||
vfidx intermediate-term investment grade
|
||||
vlcix long-term corporate bond
|
||||
vwetx long-term investment grade
|
||||
vstbx short-term corporate bond
|
||||
vfsix short-term investment grade
|
||||
vusfx ultra-short term bond
|
||||
|
||||
Below Investment Grade:
|
||||
|
||||
vweax high-yield corporate
|
||||
|
||||
Floating rate:
|
||||
|
||||
ffrhx Fidelity floating rate high income fund
|
||||
|
||||
Mortgage securities:
|
||||
|
||||
fmsfx Fidelity mortgage securities fund (basically the same as vmbix.ret)
|
||||
|
||||
Non-US:
|
||||
|
||||
fgbfx Fidelity global bond fund
|
||||
finux Fidelity International Bond Fund
|
||||
fnmix Fidelity new markets income fund
|
||||
fghnx Fidelity global high income fund
|
||||
|
||||
Currencies:
|
||||
|
||||
FXA Australian Dollar
|
||||
FXB British Pound
|
||||
FXC Canadian Dollar
|
||||
FXCH Chinese Renminbi
|
||||
FXE Euro
|
||||
FXY Japanese Yen
|
||||
FXSG Singapore Dollar
|
||||
FXS Swedish Krona
|
||||
FXF Swiss Frank
|
||||
UUP US Dollar Index
|
||||
|
||||
Commodities
|
||||
|
||||
oil Oil
|
||||
uso US Oil
|
||||
gld Gold
|
||||
slv Silver
|
||||
ung Natural Gas
|
||||
djp Dow Jones-UBS Commodity Index
|
||||
dba Agriculture
|
||||
gsg GSCI commodity index
|
||||
dbb Base metals
|
||||
gltr precious metals
|
||||
jo Coffee
|
||||
jjg Grains
|
||||
jjc Copper
|
||||
corn Corn
|
||||
weat Wheat
|
||||
nib Cocoa
|
||||
cow Livestock
|
||||
ptm Platinum
|
||||
bal Cotton
|
||||
|
||||
International Equity
|
||||
ewg Germany
|
||||
ewq France
|
||||
ewh Hong Kong
|
||||
ewi Italy
|
||||
ewn Netherlands
|
||||
eww Mexico
|
||||
ewm Malaysia
|
||||
ews Singapore
|
||||
ewp Spain Capped
|
||||
ewl Switzerland Capped
|
||||
ewd Sweden
|
||||
ewu United Kingdom
|
||||
ewa Australia
|
||||
ewk Belgium Capped
|
||||
ewo Austria Capped
|
||||
ewc Canada
|
||||
ewy South Korea
|
||||
ewt Taiwan
|
||||
ewz Brazil
|
||||
ezu Eurozone
|
||||
iev Europe
|
||||
|
||||
US Sectors
|
||||
iyf Financials
|
||||
iyz Telecommunications
|
||||
iym Basic Materials
|
||||
iye Energy
|
||||
iyc Consumer Services
|
||||
iyk Consumer Goods
|
||||
iyh Healthcare
|
||||
iyg Financial Services
|
||||
iyj Industrials
|
||||
iyr Real Estate
|
||||
idu Utilities
|
||||
iyw Technology
|
||||
kie Insurance
|
||||
ibb Biotech
|
||||
xbi Biotech
|
||||
|
||||
US Sectors
|
||||
xly Discretionary
|
||||
xlp Staples
|
||||
xle Energy
|
||||
xlf Financials
|
||||
xlv Health Care
|
||||
xli Industrials
|
||||
xlb Materials
|
||||
xlre Real Estate
|
||||
xlk Technology
|
||||
xlu Utilities
|
||||
|
||||
US Style Box
|
||||
ijr S&P Small-Cap
|
||||
ijs S&P Small-Cap 600 Value
|
||||
ijt S&P Small-Cap 600 Growth
|
||||
ijh S&P Mid-Cap
|
||||
ijk S&P Mid-Cap 400 Growth
|
||||
ijj S&P Mid-Cap 400 Value
|
||||
ivv S&P 500
|
||||
ivw S&P 500 Growth
|
||||
ive S&P 500 Value
|
||||
|
||||
|
||||
Common index ETFs (fundlab augmentations):
|
||||
|
||||
agg US aggregate bond
|
||||
vt total world stock
|
||||
vwo emerging markets stock
|
||||
vnq US real estate (REITs)
|
||||
vea developed markets (ex-US, FTSE)
|
||||
efa developed markets (ex-US, MSCI)
|
||||
iwm US small cap
|
||||
tlt US long-term treasuries (20+ yr)
|
||||
ief US intermediate treasuries (7-10 yr)
|
||||
shv US short-term treasuries
|
||||
bil US t-bills / cash
|
||||
Reference in New Issue
Block a user