From 06ceccc3c3191d59b384950e29ab490f7bf05319 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Tue, 17 Jul 2018 16:41:52 +0800 Subject: [PATCH] [Fix]Close #927 --- vnpy/trader/app/algoTrading/dmaAlgo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) # 更新变量