Example #1
0
 def testCMO(self):
     barDs = self.__loadBarDS()
     self.assertTrue(
         compare(
             indicator.CMO(barDs.getCloseDataSeries(), 252, 14)[14], -1.70,
             1))
 def testCMO(self):
     barDs = self.__loadBarDS()
     self.assertAmountsAreEqual(
         indicator.CMO(barDs.getCloseDataSeries(), 252, 14)[14], -1.70, 1)