For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Meaning of RWFTYPE values in RWFFld responses

When we use RWFFld dictionary request to get fields types, we get list of elements like below.
How to figure out the meaning of the RWFTYPE in the response (8 is REAL, 10 is TIME, 17 is STRING...).

Is there a mean to deduce this mapping solely with websockets requests data ?

{

"Elements":{

"FID":{

"Data":25,

"Type":"Int"

},

"LENGTH":17,

"NAME":"ASK",

"RIPPLETO":{

"Data":26,

"Type":"Int"

},

"RWFLEN":9,

"RWFTYPE":8,

"TYPE":{

"Data":4,

"Type":"Int"

}

}

},



pythonrefinitiv-realtime#technologywebsockets
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.

1 Answer

· Write an Answer
Upvotes
Accepted
23k 60 15 21

Hello @mohamed.2.dahmani,

Unfortunately, it is not possible to deduce this information solely using websockets request. The fields enumerations are described in the Java and C++ RT-SDK's. You can see enum the values in this file.

Also, note that the data dictionary that you are downloading from server is also available as a file in the GitHub - which can provide a little better context.

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.