class_docstr: An algorithm that applies a TA-Lib transform. The transform object can be
  passed at initialization with the 'talib' keyword argument. The results are
  stored in the talib_results array.
class_docstr_tok: ["An","algorithm","that","applies","a","TA-Lib","transform",".","The","transform","object","can","be","passed","at","initialization","with","the","'talib","'","keyword","argument",".","The","results","are","stored","in","the","talib_results","array","."]
code: def initialize(self, *args, **kwargs):
      if "talib" not in kwargs:
          raise KeyError(
              "No TA-LIB transform specified " "(use keyword 'talib')."
          )
      elif not isinstance(kwargs["talib"], (list, tuple)):
          self.talib_transforms = (kwargs["talib"],)
      else:
          self.talib_transforms = kwargs["talib"]
  
      self.talib_results = dict((t, []) for t in self.talib_transforms)
  
imports: import numpy
  from nose.tools import assert_raises
  from six import itervalues
  from zipline.algorithm import TradingAlgorithm
  from zipline.api import FixedSlippage, order, set_slippage, record, sid
  from zipline.errors import UnsupportedOrderParameters
  from zipline.finance.execution import LimitOrder, MarketOrder, StopLimitOrder, StopOrder
label_desc: Use image node_id 1 for calling the TALIBAlgorithm obj's underlying member method code with example usage: obj.initialize() without return types