

def testBounded(self):
    barFeed = self.__getFeed()
    bars = vwap_[VWAPTestCase.Instrument]
    vwap_ = vwap.VWAP(bars, 50, True, 2)
    barFeed.loadAll()
    outputValues = [14.605005665747331, 14.605416923506045]
    for i in xrange(2):
        self.assertEqual(round(vwap_[i], 4), round(outputValues[i], 4))

dataset/ETHPy150Open gbeced/pyalgotrade/testcases/technical_vwap_test.py VWAPTestCase.testBounded/VarMisuse@20/26 `barFeed`->`vwap_`