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",