Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by Ethan Wong · Nov 25, 2016 at 10:42 AM · rfajavaRFAJconsumersubscription

Subscribing to RIC multiple times

I have a subscription to a set of RICs (e.g. VOD.L) open which processes deltas and populates a cache

Another operation we want to support is the ability to do an AdHoc market data request for a RIC to get a snapshot in time.

If I request VOD.L for an AdHoc snapshot, while our cache service is running (processing changes to existing subscriptions (inc. VOD.L)), no event is received, but if I do an AdHoc request for a RIC we are not currently subscribing to then it will produce a result.

Is it not possible then to request for a RIC while already subscribing to it?

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.

2 Replies

  • Sort: 
avatar image
Best Answer
Answer by Lars-at-Addicticks · Nov 25, 2016 at 01:50 PM

Yes, I believe the RFA library will not let you do two subscriptions on the same item.

I suppose by AdHoc you mean snapshot? What you can do is to ask for a REFRESH on the existing stream. This would give you a snapshot-within-the-stream, so to speak.

The way to do that is to call OMMConsumer.reissueClient(...) method.

Here's how it will work using a real-life example:

1. Configure TRexplorer to use message tracing as described here.

2. Open a subscription in streaming mode. In this example I use "EUR=". Streaming mode is simply the same as not ticking "Snapshot". In the Item Viewer you'll now see the data item continuously updating. You'll notice that with every update only some fields actually change.

3. Press the "Refresh" button as indicated below.

4. Watch what happens in the Item Viewer when Refresh button is pressed: all fields are updating.

5. Check the exchanged messages in the Output Window. You'll see a message like the one below:

Every time you press the "Refresh" button you'll get a REFRESH_RESP message. You'll notice in the message it says that the refresh was solicited, meaning you asked for it explicitly. (yes, there's also such a thing as an unsolicited refresh, typically happens after an outage has restored itself)

The above is what it will look like in your application too.


2016-11-27-15-43-23-eur-item-viewer.png (57.3 KiB)
2016-11-27-15-48-18-trexplorer-1115-beta.png (49.2 KiB)
Comment

People who like this

0 Show 2 · 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
Ethan Wong · Nov 26, 2016 at 12:39 PM 0
Share

How can we go about asking for a REFRESH message with an existing request?

avatar image
Lars-at-Addicticks · Nov 27, 2016 at 10:07 AM 0
Share

@ethanwong. I've updated my anwer.

avatar image
REFINITIV
Answer by tina.murthy · Nov 25, 2016 at 01:52 PM

Can you please tell me which API you are using. I just tested with RFA C++, and I do get a streaming response followed by a non streaming response. I modified the starterConsumer example. Here is a snippet of my output:

2016 Nov 25 12:37:56.678 ST GMT-06:00 199C 3C7C 608 TRACE <- Received MMT_MARKET_PRICE Refresh TRI.N

serviceName : ELEKTRON_DD

symbolName : TRI.N

streamState : Open

2016 Nov 25 12:38:21.410 ST GMT-06:00 199C 3C7C 608 TRACE <- Received MMT_MARKET_PRICE Refresh TRI.N

serviceName : ELEKTRON_DD

symbolName : TRI.N

streamState : NonStreaming

Comment

People who like this

0 Show 2 · 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
Lars-at-Addicticks · Nov 25, 2016 at 02:11 PM 0
Share

Information you ask for is already in OP's tags. :-)

avatar image
Ethan Wong · Nov 26, 2016 at 12:31 PM 0
Share

Using the RFA Java API

I can't seem to get a response if I request a duplicate RIC on an existing consumer

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 >
9 People are following this question.

Related Questions

Can we set up an RFA Session without using the Config Editor?

Determining Fx Rates

RFA NONSTREAMING with BATCH request

How to receive market data updates with all fields w/ RFA Java Edition?

What is the best way to decode the OMMMsgs received (e.g. to get prices) when subscribing to a RIC using RFA?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • 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
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges