

def testPeriod1_TypicalPrice(self):
    barFeed = self.__getFeed()
    bars = barFeed[VWAPTestCase.Instrument]
    vwap_ = vwap.VWAP(bars, 1, True)
    barFeed.loadAll()
    for i in xrange(len(bars)):
        self.assertEqual(round(vwap_[i].getTypicalPrice(), 5), round(vwap_[i], 5))

dataset/ETHPy150Open gbeced/pyalgotrade/testcases/technical_vwap_test.py VWAPTestCase.testPeriod1_TypicalPrice/VarMisuse@65/88 `bars`->`vwap_`