Exemple #1
0
 def testWILLR(self):
     barDs = self.__loadBarDS()
     self.assertTrue(compare(indicator.WILLR(barDs, 252, 14)[13], -90.1943))
     self.assertTrue(compare(indicator.WILLR(barDs, 252, 14)[13 + 112], 0))
 def testWILLR(self):
     barDs = self.__loadBarDS()
     self.assertAmountsAreEqual(
         indicator.WILLR(barDs, 252, 14)[13], -90.1943)
     self.assertAmountsAreEqual(
         indicator.WILLR(barDs, 252, 14)[13 + 112], 0)