question

Upvotes
Accepted
23 12 13 16

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!

treprfarfa-apic++
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
83.1k 281 53 77

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
23 12 13 16

Thank you, but I couldn't find the SW according your instruction. could you help indicate the detail link ? Thank you very much!

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
83.1k 281 53 77

The direct link is TREP Template Service Pack (4.17.1 (Load ID 4.20.27_TREP_17.11.service_pack.rrg)).

If you are unable to see it, you may not have a permission to access the content.


dict.png (36.2 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
23 12 13 16

Thank you , Well after use the latest data dictionary (RDMFieldDictionary and enumtype.def), client still meet some error message .

The screenshot is in attachment. Please advice ,

Thank you!



picture1.png (10.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Please kindly contact the content team for the meaning of this enum.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.