[Mod] convert xtp unknown ticker type to equity product

This commit is contained in:
vn.py 2019-08-07 15:03:17 +08:00
parent 1a82f6caf9
commit 1171bf8d93

View File

@ -74,7 +74,8 @@ PRODUCT_XTP2VT = {
XTP_TICKER_TYPE.XTP_TICKER_TYPE_INDEX: Product.INDEX, XTP_TICKER_TYPE.XTP_TICKER_TYPE_INDEX: Product.INDEX,
XTP_TICKER_TYPE.XTP_TICKER_TYPE_FUND: Product.FUND, XTP_TICKER_TYPE.XTP_TICKER_TYPE_FUND: Product.FUND,
XTP_TICKER_TYPE.XTP_TICKER_TYPE_BOND: Product.BOND, 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 = { # DIRECTION_VT2XTP = {