For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

IRR RATE ISSUE

While fetching currency Rate for IRR, the following error message is getting and kindly note that we excluded the “CUP=” & “KPW= “as rates are not available to fetch.


IRR= Exception Type='OmmInvalidUsageException', Text='Attempt to real() while entry data is blank.'

elektronrefinitiv-realtimeelektron-sdkforex
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
7.6k 15 6 9

@salim.yaziji

Basically the data feed may send the field with Blank value to consumer app so before you decode the fieldEntry have you verified if the field is Blank using the following logics?


if ( fe.getCode() == Data::BlankEnum )          //shows or update the field with a blank value else    //decode fieldEntry  using fe.getReal() etc.


You can find sample codes from our consumer app such as Cons200 Consumer.cpp in the AppClient::decode method.

The following post may explain why it's blank

https://community.developers.refinitiv.com/questions/48255/empty-field-value-bidask.html

https://community.developers.refinitiv.com/questions/35953/ema-java-sometimes-receiving-blank-data.html

https://community.developers.refinitiv.com/questions/18943/what-does-blank-value-during-closing-run-interpret.html

However, you believe the blank field to be incorrect, then you should raise a query with our Content helpdesk who can confirm if the blank field value is correct or an error. You should create a 'CONTENT' type ticket and select 'I believe content is incorrect or incomplete' as the subtype.


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.