code: def testAVGPRICE(self):
      barDs = self.__loadBarDS()
      self.assertAmountsAreEqual(
          indicator.AVGPRICE(barDs, 252)[0], 92.0
      )
      self.assertAmountsAreEqual(
          indicator.AVGPRICE(barDs, 252)[1], 93.16
      )
  
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 13 for calling the TestCase obj's underlying member method code with example usage: obj.testAVGPRICE() without return types