etfs = [
# ----------------------------------------- #
# SPDRS/State Street Global Advisors (SSGA)
'XLY', # Select SPDR U.S. Consumer Discretionary
'XLP', # Select SPDR U.S. Consumer Staples
'XLE', # Select SPDR U.S. Energy
'XLF', # Select SPDR U.S. Financials
'XLV', # Select SPDR U.S. Healthcare
'XLI', # Select SPDR U.S. Industrials
'XLB', # Select SPDR U.S. Materials
'XLK', # Select SPDR U.S. Technology
'XLU', # Select SPDR U.S. Utilities
'KRE', # SPDR S&P Regional Banking ETF
'KBE', # SPDR S&P Bank ETF
'XOP', # SPDR S&P Oil & Gas Explor & Product
'GLD', # SPDR Gold Trust
'SLV', # SPDR Silver Trust
'SPY', # SPDR S&P 500
'JNK', # SPDR Barclays Capital High Yield Bond ETF
'DIA', # SPDR Dow Jones Industrial Avg. ETF
'XHB', # SPDR Homebuilders ETF
'MDY', # SPDR S&P MidCap 400 ETF
'FEZ', # SPDR Euro Stoxx 50 ETF
# ----------------------------------------- #
# iShares
'AGG', # iShares Core U.S. Aggregate Bond ETF
'IAU', # iShares Gold Trust
'IXC', # iShares Global Energy ETF
'IWR', # iShares Russell Mid-Cap ETF
'IWB', # iShares Russell 1000 ETF
'IJR', # iShares Core S&P Small-Cap ETF
'IJH', # iShares Core S&P Mid-Cap ETF
'EWT', # iShares MSCI Taiwan ETF
'EEM', # iShares MSCI Emerging Markets ETF
'IWM', # iShares Russell 2000 ETF
'EWG', # iShares MSCI Germany ETF
'EWJ', # iShares MSCI Japan ETF
'EFA', # iShares MSCI EAFE ETF
'EWZ', # iShares MSCI Brazil Capped ETF
'TLT', # iShares 20+ Year Treasury Bond ETF
'INDA', # iShares MSCI India ETF
'ECH', # iShares MSCI Chile Capped ETF
'EWU', # iShares MSCI United Kingdom ETF
'EWI', # iShares MSCI Italy Capped ETF
'EWP', # iShares MSCI Spain Capped ETF
'EWQ', # iShares MSCI France ETF
'EWL', # iShares MSCI Switzerland Capped ETF
'EWD', # iShares MSCI Sweden ETF
'EWT', # iShares MSCI Taiwan ETF
'EWY', # iShares MSCI South Korea Capped ETF
'EWA', # iShares MSCI Australia ETF
'EWS', # iShares MSCI Singapore ETF
'IYM', # iShares Dow Jones U.S. Basic Materials Index
'IYK', # iShares Dow Jones U.S. Consumer Goods Index
'IYC', # iShares Dow Jones U.S. Consumer Services Index
'IYE', # iShares Dow Jones U.S. Energy Index
'IYF', # iShares Dow Jones U.S. Financial Sector Index
'IYG', # iShares Dow Jones U.S. Financial Services Index
'IYH', # iShares Dow Jones U.S. Healthcare Index
'IYJ', # iShares Dow Jones U.S. Industrial Index
'IYR', # iShares Dow Jones U.S. Real Estate Index
'IYW', # iShares Dow Jones U.S. Technology Index
'IYZ', # iShares Dow Jones U.S. Telecommunications Index
'IYT', # iShares Dow Jones Transportation Average Index
'IDU', # iShares Dow Jones U.S. Utilities Index
'ICF', # iShares Cohen & Steers Realty Majors Index
'AAXJ', # iShares MSCI All Country Asia ex Japan ETF
'FXI', # iShares China Large-Cap ETF
'ACWI', # iShares MSCI ACWI ETF
'EZU', # iShares MSCI Eurozone ETF
'EWH', # iShares MSCI Hong Kong ETF
'EWM', # iShares MSCI Malaysia ETF
# ----------------------------------------- #
# Vanguard
'VGK', # Vanguard FTSE Europe ETF
'VEA', # Vanguard Developed Market FTSE
'VPU', # Vangaurd Utilities ETF
'VDE', # Vanguard Energy ETF
'VEU', # Vanguard FTSE All-World ex-US ETF
'VXUS', # VanguardTotal Int'l Stock ETF
'VOO', # Vanguard S&P 500
'VO', # Vanguard Mid-Cap ETF
'VB', # Vanguard Small-Cap ETF
'VOX', # Vanguard Telecom Services ETF
# ----------------------------------------- #
# Market Vectors
'SMH', # Market Vectors Semiconductor ETF
'GDX', # Market Vectors TR Gold Miners
'OIH', # Market Vectors Oil Services ETF
'RSX', # Market Vectors Russia ETF
'GDXJ', # Market Vectors Junior Gold Miners ETF
# ----------------------------------------- #
# Powershares (Invesco)
'QQQ', # Powershares (Invesco) NASDAQ 100
# ----------------------------------------- #
# Uncategorized
'AMLP', # Alerian MLP ETF
# 'HACK' , # Purefunds ISE Cyber Security ETF
'FDN', # First Trust Dow Jones Internet Index ETF
'HEDJ', # WisdomTree Europe Hedged Equity ETF
'EPI' # WisdomTree India Earnings ETF
]
more_etfs = set(['SPY','IVV','VOO','IWB','VV','SCHX','IWM','VTWO','TWOK','IJR','VB','SCHA','EFA','VEA','IEFA','SCHF',
'GWL','DBEF','EEM','VWO','IEMG','SCHE','GMM','BKF','VNQ','IYR','RWR','XLRE','SCHH','REZ','MLPI','AMLP',
'MLPB','AMJ','AMU','AMUB','GLD','IAU','SGOL','OUNZ','GSG','GSP','CSCR','USCI','GSC','BCM','JNK','HYG',
'HYXE','AGG','SCHZ','BNDS','BND','TIP','IPE','SCHP','TIPZ','IEF','IEI','ITE','SCHR','TLT','EDV','TLH',
'TLO','ZROZ','SHY','SCHO','SST','TUZ','XLY','VCR','IYC','FDIS','PSCD','XHB','ITB','PBS','XRT','PMR',
'PEJ','XLP','VDC','IYK','FSTA','PSCC','PBJ','XLE','VDE','IYE','FENY','PSCE','IEZ','PXJ','XES','XOP',
'IEO','PXE','XLF','VFH','IYF','FNCL','PSCF','KBWB','IAT','KBE','KBWR','KRE','QABA','IAI','KCE','KBWI',
'IYG','XLFS','XLV','VHT','IYH','FHLC','PSCH','IBB','ARKG','SBIO','CNCR','LNGR','IXJ','IHI','XHE','IHE',
'PJP','XPH','XHE','IHI','IHF','XHS','XLI','VIS','IYJ','FIDU','PSCI','PPA','ITA','XAR','IYT','XTN',
'PKB','XLK','VGT','IYW','FTEC','PSCT','FDN','PNQI','PXQ','XWEB','XSD','PSI','SOXX','IGV','IYZ','FCOM',
'VOX','XTL','VOX','IYZ','FCOM','XTL','XLB','VAW','IYM','FMAT','PSCM','XME','XLU','VPU','IDU','FUTY',
'PSCU','VPU','XLU','IDU','FUTY','PSCU','XLRE','VNQ','IYR','RWR','SCHH','REZ','FREL','IYR','VNQ','RWR',
'XLRE','SCHH','REZ','FREL','VTV','IWD','SCHV','MGV','PWV','FTA','VV','SPY','IVV','VOO','IWB','SCHX',
'VUG','IWF','SCHG','MGK','JKE','VONG','VOE','IWS','JKI','FNK','PXMV','IJJ','VO','IJH','MDY','IWR',
'SCHM','IVOO','VOT','IWP','JKH','FNY','IJK','RFG','VBR','IWN','JKL','VTWV','PXSV','FYT','VB','IWM',
'IJR','SCHA','VTWO','SLY','VBK','IWO','VTWG','JKK','FYC','IJT','CMBS','CWB','ICVT','HYG','JNK','HYXE',
'PFF','EPRF','PFXF','PGF','PGX','PSK','BKLN','FLRT','SNLN','TIP','IPE','SCHP','TIPZ','AGG','SCHZ',
'BNDS','BND','CSJ','VCSH','SCPB','SLQD','BSCI','BSCH','SHY','SCHO','SST','TUZ','TLT','EDV','TLH','TLO',
'ZROZ','IEI','IEF','ITE','SCHR','IEF','IEI','ITE','SCHR','DBC','USCI','GSC','BCM','SBV','CSCR','UNG',
'DCNG','GAZ','UNL','DBA','DIRT','USAG','AGF','GLD','IAU','SGOL','OUNZ','JJC','CPER','CUPM','SLV','DBS',
'SIVR','SLVO','USV','XLE','VDE','IYE','FENY','PSCE','OIL','OILX','USO','BNO','OIIL','XME','GSC','DBC',
'USCI','BCM','SBV','CSCR','SPY','IVV','VOO','IWB','VV','SCHX','DIA','SPY','IVV','VOO','IWB','VV','QQQ',
'SPY','IVV','VOO','IWB','VV','EEM','VWO','IEMG','SCHE','GMM','BKF','IYM','VAW','XLB','FMAT','PSCM','IDU',
'XLU','VPU','FUTY','PSCU','IWV','THRK','VTHR','VTI','SCHB','ITOT','IWB','VONE','ONEK','SPY','IVV',
'VOO','IWM','VTWO','TWOK','IJR','VB','SCHA','TLT','EDV','TLH','TLO','ZROZ','IEF','IEI','ITE','SCHR',
'SHY','SCHO','SST','TUZ','EWC','SPY','EWW','EPU','EWU','EWP','EWG','EWI','EGPT','INDA','AFK','EZA',
'ERUS','EWY','EWJ','MCHI','EWS','EWA','GREK','EIRL','EZU','EWQ','EIS','EWM','FXA','CEW','UDN','UUP',
'BZF','FXC','FXCH','CYB','FXE','ICN','FXY','FXB','FXSG','FXS','FXF','QAI','WDTI','MNA','FTLS','VIXY',
'VIXM','MDIV','PCEF','CVY','WBII','COMT','YLD','IYLD','WBIH','GAL','DWIN','YYY','GYLD','INKM','AOR',
'AOM','AOA','AOK','VTI','THRK','VTHR','IWV','SCHB','ITOT','VOO','SPY','IVV','VV','IWB','SCHX','VTV',
'IWD','SCHV','MGV','PWV','FTA','VUG','IWF','SCHG','MGK','JKE','VONG','VO','IJH','MDY','IWR','SCHM',
'IVOO','VOT','IWP','JKH','FNY','IJK','RFG','VOE','IWS','JKI','FNK','PXMV','IJJ','VB','IWM','IJR',
'SCHA','VTWO','SLY','VBR','IWN','JKL','VTWV','PXSV','FYT','VBK','IWO','VTWG','JKK','FYC','IJT','IWC',
'FDM','PZI','WMCR','VNQ','XLRE','IYR','RWR','SCHH','REZ','VXUS','VEU','IXUS','ACWX','CWI','DBAW',
'VEA','EFA','IEFA','SCHF','GWL','DBEF','VWO','EEM','IEMG','SCHE','GMM','BKF','VGK','EZU','IEUR',
'DBEU','HEZU','DBEZ','VPL','IPAC','OAPH','OASI','RFAP','WBIF','VSS','BND','AGG','SCHZ','BNDS','SHY',
'SCHO','SST','TUZ','IEF','IEI','ITE','SCHR','TLT','EDV','TLH','TLO','ZROZ','TLT','EDV','TLH','TLO',
'ZROZ','MUB','PRB','PZA','TFI','VTEB','ITM','ITMS','IBMG','IBMH','IBMI','IBMJ','MLN','VCIT','CIU',
'ITR','BSCK','BSCJ','BSCL','VCLT','CLY','CLYH','IGHG','LKOR','LWC','HYG','JNK','HYXE','VCSH','CSJ',
'SLQD','BSCI','BSCH','BOND','RIGS','FBND','NFLT','GTO','DBP','BLING','GLTR','JJP','DBC','USCI','GSC',
'BCM','SBV','CSCR','HYD','VMBS','MBB'])