New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
1 0 0 2

RFA library support 9 decimals?

We're using RFA 7.6 to get data. From developer site, there's a thread saying OMM only support divisor "1,2,4,8,16,32,64,128 and 256". Right now, if we check 1TUU8 trade price, we get "105 158/256", which is converted to decimals using OMMNumeric.toDouble(). So we would like to confirm the RFA library we're using actually support up to 9 decimal places.

CME is upgrading it's system to 9 decimals from 7 decimals, that's why we're asking this question.

elektron-sdktreprfarfa-api
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
87.8k 294 53 79

Refer to RFA reference manual, OMMNumeric supports a precision up to 14 decimal places for REAL.

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.