Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
REFINITIV
Question by peter.morris · Jun 07, 2021 at 12:49 AM · elektronrefinitiv-realtimeelektron-sdkrrtema-apijavacontributionsposting

Added Decimal places when using OMMConsumer Post

We have just switched from RFA/MarketlinkIP to EMA/Contributions Channel and when contributing to 2 decimal places of precision we are now seeing 4 decimal places shown on Elektron. Can we restrict the precision back to 2 decimal places?

screenshot-2021-06-07-104733.png (84.8 KiB)

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · Jun 07, 2021 at 09:17 AM

Hi @peter.morris

Can you please confirm which version of EMA you are using and the language version too?

I just tried the following values with a recent EMA Java version (EMA Java 3.6.0)

and if I post the following values to a RCC test RIC:

int _bid = 3400, _ask = 3410;

using:

FieldList nestedFieldList = EmaFactory.createFieldList();
nestedFieldList.add(EmaFactory.createFieldEntry().real(22, _bid++, OmmReal.MagnitudeType.EXPONENT_NEG_2));
nestedFieldList.add(EmaFactory.createFieldEntry().real(25, _ask++, OmmReal.MagnitudeType.EXPONENT_NEG_2));

I see the following:


If, however, I use int _bid = 340000, _ask = 341000 and EXPONENT_NEG_4, I see the following:

I have not tested with EMA C++, but I expect the same behaviour will manifest.

I viewed the above values in both Refinitiv workspace and a RFA Java Gui example.


1623057352476.png (7.1 KiB)
1623057422856.png (10.5 KiB)
Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
peter.morris · Jun 08, 2021 at 10:31 PM 0
Share

Thank you @umer.nalla, this has fixed our issue. We are also using EMA Java 3.6.0.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

How can I post RefreshMsgs instead of UpdateMsgs

(JAVA) Does using interestAfterRefresh(false) remove the need for deregistering items with Elektron?

How can I Avoid making database call in onUpdateMsg but need result to be stored in database.Can I have an example?

how do I inform Refinitiv about documentation errors?

Vector on EMA

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges