question

Upvotes
Accepted
1 0 1 2

FID TRDCOND_1 enum values

FID TRDCOND_1 has changed from alphanumeric to enum in the dictionary, However, in the enumtype.def file, it looks like the only value available for that fid is 0 with a meaning of "undefined". We used that fid to pass the sale condiition for a trade which could have several values (M,Q,X,6,..etc). How can we manage that now?

From enumtype.def:

TRDCOND_1 13518
!
! VALUE DISPLAY MEANING
! ----- ------- -------
0 " " undefined

treprfarfa-apienum
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.

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such. Thanks, AHS

Upvotes
Accepted
79.2k 251 52 74

I have checked the data dictionary 4.20.01_TREP-RT_13.51 released on 13-03-2013.

The field name of FID 13518 was PRE_2ET197.

PRE_2ET197 "PRED 2 ET 197"      13518  NULL        ENUMERATED    5 ( 8 )  ENUM    2

...
!
! Predefined FIDs. Do not use while this description is in place.
!

This predefined field is defined as an enumerated field. Its value can be:

!
! VALUE      DISPLAY   MEANING
! -----      -------   -------
      0   "        "   Undefined
!

With the current data dictionary (4.20.30_TREP_17.91 11/13/2017), the field name of FID 13518 is TRDCOND_1.

TRDCOND_1  "TRD COND CODE1"     13518  NULL        ENUMERATED    5 ( 8 )  ENUM             2
!
! Trade condition code 1
!

However, it is still an enumerated field and has only one value.

TRDCOND_1  13518
!
! VALUE      DISPLAY   MEANING
! -----      -------   -------
      0   "        "   undefined
!

You can send a feedback to the content team for its values.

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
4.4k 10 6 9

As @jirapongse.phuriphanvichai suggested, TRDCOND_1 is a recent addition and no enumerations have been defined for this FID yet.

I believe you might be confused with LSTSALCOND (FID 4756), sale condition of Last trade, which is an alphanumeric field.

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.

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.