diff --git a/vnpy/gateway/xtp/xtp_gateway.py b/vnpy/gateway/xtp/xtp_gateway.py index 4c3fa492..585a3f42 100644 --- a/vnpy/gateway/xtp/xtp_gateway.py +++ b/vnpy/gateway/xtp/xtp_gateway.py @@ -74,7 +74,8 @@ PRODUCT_XTP2VT = { XTP_TICKER_TYPE.XTP_TICKER_TYPE_INDEX: Product.INDEX, XTP_TICKER_TYPE.XTP_TICKER_TYPE_FUND: Product.FUND, XTP_TICKER_TYPE.XTP_TICKER_TYPE_BOND: Product.BOND, - XTP_TICKER_TYPE.XTP_TICKER_TYPE_OPTION: Product.OPTION + XTP_TICKER_TYPE.XTP_TICKER_TYPE_OPTION: Product.OPTION, + XTP_TICKER_TYPE.XTP_TICKER_TYPE_UNKNOWN: Product.EQUITY, } # DIRECTION_VT2XTP = {