code: def clean_ticker(ticker):
      
      pattern = re.compile('[\W_]+')
      res = pattern.sub('', ticker.split(' ')[0])
      return res.lower()
docs: Cleans a ticker for easier use throughout MoneyTree
  
      Splits by space and only keeps first bit. Also removes
      any characters that are not letters. Returns as lowercase.
  
      >>> clean_ticker('^VIX')
      'vix'
      >>> clean_ticker('SPX Index')
      'spx'