code: def find_company(htmlTree, ticker):
      ret = None
      anchor = htmlTree.xpath(
          "//td[1]/a[@href='/q/pr?s=%s']/text()" % (ticker)
      )
      if anchor:
          ret = anchor[0]
      return ret
  
file_path: pyalgotrade/tools/symbols/get_merval_symbols.py
imports: import sys
  import pyalgotrade.logger
  import lxml.html
  import symbolsxml
label_desc: Use image node_id 1 for calling a global function with example usage: find_company(htmlTree, ticker) and returns: ret