code: def main():
      try:
          writer = symbolsxml.Writer()
          for symbol in open("merval-symbols.txt", "r"):
              symbol = symbol.strip()
              process_symbol(writer, symbol)
  
          # Index
          writer.addIndex("^MERV", "Merval")
  
          logger.info("Writing merval.xml")
          writer.write("merval.xml")
      except Exception as e:
          logger.error(str(e))
  
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 5 for calling a global function with example usage: main() without return types