Пример #1
0
 def testHT_TRENDMODE(self):
     ds = self.__loadMedPriceDS()
     self.assertTrue(compare(indicator.HT_TRENDMODE(ds, 252)[63], 1.0))
Пример #2
0
 def testHT_TRENDMODE(self):
     ds = self.__loadMedPriceDS()
     self.assertAmountsAreEqual(indicator.HT_TRENDMODE(ds, 252)[63], 1.0)