From cf2a7ad2f7004f7bf96635dea72c683c3fbb3a50 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Tue, 17 Sep 2019 23:01:28 +0800 Subject: [PATCH] [Mod] close #1950 --- vnpy/gateway/hbdm/hbdm_gateway.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vnpy/gateway/hbdm/hbdm_gateway.py b/vnpy/gateway/hbdm/hbdm_gateway.py index 663feaf0..b8de5b76 100644 --- a/vnpy/gateway/hbdm/hbdm_gateway.py +++ b/vnpy/gateway/hbdm/hbdm_gateway.py @@ -63,6 +63,9 @@ ORDERTYPE_VT2HBDM = { ORDERTYPE_HBDM2VT = {v: k for k, v in ORDERTYPE_VT2HBDM.items()} ORDERTYPE_HBDM2VT[1] = OrderType.LIMIT ORDERTYPE_HBDM2VT[3] = OrderType.MARKET +ORDERTYPE_HBDM2VT[4] = OrderType.MARKET +ORDERTYPE_HBDM2VT[5] = OrderType.STOP +ORDERTYPE_HBDM2VT[6] = OrderType.LIMIT DIRECTION_VT2HBDM = { Direction.LONG: "buy",