question

Upvotes
Accepted
21 1 0 2

Under OMM model, does MarketDataItemEvent can be triggered?

In RFAJ 7.5, we can get OMMItemEvent update message in callback function, processEvent(Event event).

Can MarketDataItemEvent update message be captured or triggered under OMM data model(RSSL connection type)?

I tested many times and found it seemed the MarketDataItemEvent couldn't be triggered with RSSL connection type when the callback function, processEvent(Event event), was invoked.

treprfarfa-api
icon clock
10 |1500

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

Upvotes
Accepted
20.3k 73 10 20

Hi @yujin.xu11

MarketDataItemEvent is part of the legacy MarketFeed / SSLED connection type interface.

With RSSL type connection you are using OMM data format and therefore only the OMM related events will be triggered.

Is there any particular reason why you want to capture MarketDataItemEvent rather than the OMM equivalents?

Please see the following tutorial for a brief introduction Retrieving Level 1 MARKET PRICE Data

Further information can be found in the RFA Java Developer Guide - a link to the online version.

You should also have PDF copies as part of the RFA SDK download.

Note from the above download page that we no longer support RFA v7.5. The oldest supported version is RFA v7.6 (which is around 4 years old) - but ideally, you should upgrade to v8.x


icon clock
10 |1500

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

Upvotes
21 1 0 2

I found all examples related to closing_run update message was showed with MarketDataItemEvent class. So I guessed the MarketDataItemEvent was only supported by MarketData Feed.

For OMM related events, it seems there is no way to detect whether an OMMItemEvent is a closing_run event. I referred you post already, https://community.developers.refinitiv.com/questions/65569/how-to-detect-a-closing-run-event-in-rfa-73.html. Let me do more tests further.


Thanks you very much.

icon clock
10 |1500

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

So did you try and output the value of getRespTypeNum() as I described in my other post?

Also, please remember my other comment that things like CLOSING_RUN are not always issued by the originating exchange/data source so you would need to check with the Content helpdesk that your particular instruments will carry such notifications.

Click below to post an Idea Post Idea