How can I finish the price search process using RFA.Reuters (NET) after getting the Initial Image?

Best Answer
-
I am sorry but I truly don't understand what you mean by 'finish the process'?
Please expand on the process, what you are trying to achieve / your end objective is?
RFA.NET is a real-time streaming API - which can be used to subscribe to streaming data and then consume that streaming data in terms of receiving the initial Refresh message + any subsequent updates and then parsing the messages to extract the fields of data in those messages.
If and when you no longer want to receive data for a given instrument you can unsubscribe the instrument to close the stream.
0
Answers
-
Can you please expand on your question - don't understand what you mean by 'finish price search process'?
When you subscribe to an instrument using RFA.Net - by default, you should get the
- initial Image (which contains all possible Fields for that instrument - including any that are currently blank).
- this should then be followed by update messages which contain any changes to that instrument - as and when any market activity takes place
If you have not already done so, I recommend you work through the RFA.NET tutorials - Tutorials | Refinitiv Developers
However, I should point out that RFA.NET is a feature-complete API and will not support any new features or functionality we offer in the future (nor some current features such as Cloud based Real-time data).
For any new development work, we recommend you use the RT-SDK (C++/Java) or the Websocket API(C#/Python - any language that supports Websockets).
If you are using .NET, then you could also consider the RD Library for .NET which is an ease-of-use wrapper around the Websocket API (and is currently in Beta)The following article may be of value to you - Choosing your Refinitiv Real-Time Streaming API | Refinitiv Developers
0 -
Hi @umer.nalla !
My question was if there was any example of how to finish the process after getting the prices?0 -
Thinking last night, I wondered if you meant by 'finish the process' to mean stop receiving updates after the refresh - i.e. stop subscribing to the instrument once you receive the initial image?
If that is the case, you can change the interaction type in your request message e.g.
reqMsg.InteractionType = ReqMsg.InteractionTypeFlag.InitialImage;
instead of the typical type which indicates both Refresh and Update:
reqMsg.InteractionType = ReqMsg.InteractionTypeFlag.InitialImage | ReqMsg.InteractionTypeFlag.InterestAfterRefresh
Setting the Interaction to InitialImage only will result in the event stream being closed automatically by the API, once you receive the Initial Image (or a Closed stream StatusMsg). You will not need to unsubscribe from the instrument yourself.
Furthermore, if you want to terminate the application cleanly, once you have received all, you can look at the Examples\QuickStartConsumer source code.
You will note that the QuickStartConsumer runs for 60secs and then stops dispatching events and performs various cleanup operations including calling unregister on the Login Handle, deactivating and destroying various RFA objects.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 687 Datastream
- 1.4K DSS
- 621 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 4 Trading API
- 2.9K Elektron
- 1.4K EMA
- 254 ETA
- 557 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 276 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 669 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 229 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛