question

Upvotes
Accepted
1 0 0 1

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

Upvotes
Accepted
47.2k 110 44 60

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.