diff --git a/vnpy/gateway/hbdm/hbdm_gateway.py b/vnpy/gateway/hbdm/hbdm_gateway.py index 87cac9fa..de681d24 100644 --- a/vnpy/gateway/hbdm/hbdm_gateway.py +++ b/vnpy/gateway/hbdm/hbdm_gateway.py @@ -87,6 +87,8 @@ class HbdmGateway(BaseGateway): "代理端口": "", } + exchagnes = [Exchange.HUOBI] + def __init__(self, event_engine): """Constructor""" super().__init__(event_engine, "HBDM") diff --git a/vnpy/gateway/huobi/huobi_gateway.py b/vnpy/gateway/huobi/huobi_gateway.py index cf99cf02..ef1c2bf3 100644 --- a/vnpy/gateway/huobi/huobi_gateway.py +++ b/vnpy/gateway/huobi/huobi_gateway.py @@ -75,6 +75,8 @@ class HuobiGateway(BaseGateway): "代理端口": "", } + exchagnes = [Exchange.HUOBI] + def __init__(self, event_engine): """Constructor""" super().__init__(event_engine, "HUOBI")