From def7751581ae8ff3fdddf5944e936af04262297e Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Sun, 22 Jul 2018 19:19:58 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=E4=BF=AE=E5=A4=8DStopAlgo=E7=BC=BA?= =?UTF-8?q?=E4=B9=8F=E8=8B=A5=E5=B9=B2=E5=B8=B8=E9=87=8F=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/app/algoTrading/stopAlgo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vnpy/trader/app/algoTrading/stopAlgo.py b/vnpy/trader/app/algoTrading/stopAlgo.py index cb711121..3cbdcdf3 100644 --- a/vnpy/trader/app/algoTrading/stopAlgo.py +++ b/vnpy/trader/app/algoTrading/stopAlgo.py @@ -6,7 +6,8 @@ from collections import OrderedDict from six import text_type from vnpy.trader.vtConstant import (DIRECTION_LONG, DIRECTION_SHORT, - OFFSET_OPEN, OFFSET_CLOSE) + OFFSET_OPEN, OFFSET_CLOSE, + STATUS_ALLTRADED, STATUS_CANCELLED, STATUS_REJECTED) from vnpy.trader.uiQt import QtWidgets from .algoTemplate import AlgoTemplate