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 handle_data(self, data):
      for t in self.talib_transforms:
          result = t.handle_data(data)
          if result is None:
              if len(t.talib_fn.output_names) == 1:
                  result = np.nan
              else:
                  result = (np.nan,) * len(t.talib_fn.output_names)
          self.talib_results[t].append(result)
  
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 2 for calling the TALIBAlgorithm obj's underlying member method code with example usage: obj.handle_data(data) without return types