question

Upvotes
Accepted
1 1 1 2

How to handle Fraction Price

Hi Support,

Could you advise on the following Fraction Price.

FieldEntry [90] YRHIGH 118 40/256
FieldEntry [91] YRLOW -46/256

FOR YRHIGH=118.15625
FOR YRLOW=???

Just in case
RIC = 912810FT0=RRPS


Best Regards,
Nigil Chua

elektronrefinitiv-realtimetreppricing
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.

@nigilchua, did the answer below suffice ? If yes, please accept the answer. If not, please give us more details, and tell us what API you are using. Thank you.

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

1 Answer

· Write an Answer
Upvotes
Accepted
4.4k 10 6 9

Hi @nigilchua

Which API are you using?

For TREP API, e.g. RFA C++, you could simply call the get method (getDouble or getFloat) of the DataBuffer object to get the value as a decimal.

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.