code: def handle_data(context, data):
      prices = data.history(
          symbol("xlm_eth"),
          fields=["open", "high", "low", "close"],
          bar_count=50,
          frequency="1T",
      )
      set_print_settings()
      print(prices.tail(10))
      context.data.append(prices)
  
      context.i = context.i + 1
      if context.i == 3:
          context.interrupt_algorithm()
  
imports: from catalyst.utils.run_algo import run_algorithm
  from catalyst.api import symbol
  from exchange.utils.stats_utils import set_print_settings
label_desc: Use image node_id 2 for calling a global function with example usage: handle_data(context, data) without return types