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.

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.