code: def loader_func(**kwargs):
      try:
          from arctic import Arctic
          from arctic.store.versioned_item import VersionedItem
      except ImportError:
          raise ImportError(
              "In order to use the arctic loader you must install arctic!"
          )
      host = Arctic(kwargs.get("arctic_host") or kwargs.get("host"))
      lib = host.get_library(kwargs.get("library"))
      read_kwargs = {}
      start, end = (kwargs.get(p) for p in ["start", "end"])
      if start and end:
          read_kwargs["chunk_range"] = pd.date_range(start, end)
      data = lib.read(kwargs.get("symbol"), **read_kwargs)
      if isinstance(data, VersionedItem):
          data = data.data
      return data
  
imports: from logging import getLogger
  import pandas
  from dtale.app import show
  from dtale.cli.clickutils import get_loader_options
label_desc: Use image node_id 2 for calling a global function with example usage: loader_func() and returns: data