diff --git a/vnpy/trader/app/algoTrading/dmaAlgo.py b/vnpy/trader/app/algoTrading/dmaAlgo.py index 2f0736f2..54281d7d 100644 --- a/vnpy/trader/app/algoTrading/dmaAlgo.py +++ b/vnpy/trader/app/algoTrading/dmaAlgo.py @@ -55,7 +55,7 @@ class DmaAlgo(AlgoTemplate): else: func = self.sell - self.vtOrderID = func(self.vtSymbol, self.price, self.volume, + self.vtOrderID = func(self.vtSymbol, self.price, self.totalVolume, self.priceType, self.offset) # 更新变量