code: def testAPO(self):
      barDs = self.__loadBarDS()
      self.assertAmountsAreEqual(
          indicator.APO(
              barDs.getCloseDataSeries(), 252, 26, 12, talib.MA_Type.SMA
          )[25],
          -3.3124,
      )
      self.assertAmountsAreEqual(
          indicator.APO(
              barDs.getCloseDataSeries(), 252, 12, 26, talib.MA_Type.SMA
          )[25],
          -3.3124,
      )
      self.assertAmountsAreEqual(
          indicator.APO(
              barDs.getCloseDataSeries(), 252, 12, 26, talib.MA_Type.SMA
          )[26],
          -3.5876,
      )
      self.assertAmountsAreEqual(
          indicator.APO(
              barDs.getCloseDataSeries(), 252, 12, 26, talib.MA_Type.SMA
          )[-1],
          -0.1667,
      )
  
imports: import datetime
  import talib
  from six.moves import xrange
  from .None import common
  from pyalgotrade.talibext import indicator
  from pyalgotrade import bar
  from pyalgotrade import dataseries
  from pyalgotrade.dataseries import bards
label_desc: Use image node_id 9 for calling the TestCase obj's underlying member method code with example usage: obj.testAPO() without return types