Enumeration Table does NOT contain entry for enum =

249450666303971909.jpg

Client is using the C++ sample code under Examples/StartConsumer, only change the ItemName to 0003.HK .

When he retrives the real time data, he get below attached error message on field 18. While field 18 do exist . Please help indicate how could client resolve this problem? Thank you!

Tagged:

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    Refer to the data dictionary version 4.20.27_TREP_17.11 (13 Jan 2017), the enum 18 for LMT_STATUS is "CT+CA "

    ! ACRONYM    FID
    ! ------- ---
    !
    LMT_STATUS 13494
    !
    ! VALUE DISPLAY MEANING
    ! ----- ------- -------
    0 " " Undefined
    1 "U1 " Upper Price Limit Level 1 in Effect
    2 "L1 " Lower Price Limit Level 1 in Effect
    3 "U1L1 " Upper Price Limit Level 1 & Lower Limit Price Level 1 in Effect
    4 "U1L2 " Upper Price Limit Level 1 & Lower Limit Price Level 2 in Effect
    5 "U1L3 " Upper Price Limit Level 1 & Lower Limit Price Level 3 in Effect
    6 "U2 " Upper Price Limit Level 2 in Effect
    7 "L2 " Lower Price Limit Level 2 in Effect
    8 "U2L1 " Upper Price Limit Level 2 & Lower Price Limit Level 1 in Effect
    9 "U2L2 " Upper Price Limit Level 2 & Lower Price Limit Level 2 in Effect
    10 "U2L3 " Upper Price Limit Level 2 & Lower Price Limit Level 3 in Effect
    11 "U3 " Upper Price Limit Level 3 in Effect
    12 "L3 " Lower Price Limit Level 3 in Effect
    13 "U3L1 " Upper Price Limit Level 3 & Lower Limit Price Level 1 in Effect
    14 "U3L2 " Upper Price Limit Level 3 & Lower Limit Price Level 2 in Effect
    15 "U3L3 " Upper Price Limit Level 3 & Lower Limit Price Level 3 in Effect
    16 "CT " Continuous Trading Price Limits in Effect
    17 "CA " Closing Auction Price Limits in Effect
    18 "CT+CA " Continuous Trading and Closing Auction Price Limits in Effect

    To solve this problem, you need to use the latest version of data dictionary (RDMFieldDictionary and enumtype.def). You can download the latest version of data dictionary from Software Download. It is in Category: MDS - General and Products: TREP Template Service Pack.

Answers