question

Upvotes
Accepted
10 2 6 9

What's the actual content of FID type DATE etc

FID types supported by RFA API have DATE, RMTES_STRING. What a DATE value content? Is it an integer to char string in sense of C++? How about RMTES_STRING?

#technologyrfa-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.

Hi,

Thank you for your participation in the forum.

Is the reply 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

Upvote
Accepted
78.8k 249 52 74

@ming.cheng

Thanks for reaching out to us.

It contains binary data in Refinitiv Wire Format (RWF) which requires RFA or RTSDK API to decode it.

For example, the content of the TRADE_DATE field looks like this:

<fieldEntry fieldId="16" data="010C 07E6"/>

The following RFA code is used to decode the DATE field.

        case DataBuffer::DateEnum:
            _out->out(dataBuffer.getDate());
...
...
void StandardOut::out(const Date& input)
{
//Must cast UInt8 return types, they are interpreted as unsigned chars
write("%u/%u/%u", (UInt16)input.getMonth(), (UInt16)input.getDay(), (UInt16)input.getYear());
}

According to the code, the values of the month, day, and year properties are unsigned integers.

RMTES is a Multi-Lingual Text Encoding Standard used by Refinitiv to encode strings. It also requires RFA or RTSDK API to decode it.

1676425038457.png

For example, the content of the DSPLY_NAME field looks like this:

<fieldEntry fieldId="3" data="5353 4520 4372 6564 6974 2042 6F6E 6420"/>

According to the content above, it is a buffer of the ASCII characters. However, it can contain UTF8 or other encodings that are supported by RMTES.

For more information regarding RMTES, please to the RFA Developers Guide in the RFA package.

I hope that this information is of help.


1676425038457.png (102.5 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
10 2 6 9

thanks. Very clear!

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.