How to receive market data updates with all fields w/ RFA Java Edition?
Hi,
After subscribing to a RIC, I receive the first refresh "snapshot" message with all fields, but after that I receive update messages with only a few fields (e.g. BID_NET_CH)
This is not favourable in our use case for many reasons, one being that missing an update would cause an inconsistent price.
Is there a way to essentially receive this refresh snapshot on each update?
Obviously, we could just to regular adhoc requests to get a snapshot but that would not be very efficient
Thanks,
Best Answer
-
Yes, it is true. TREP works on the basis of incremental updates. You'll find that most (if not all) market data systems or market data feeds works like this. So this is by no means specific to TREP. The general idea is that sending all fields with every update would be wildly inefficient and would ultimately endanger the stability of the delivery itself as it could potentially saturate the channel by sending redundant data. You may argue that in your specific case this argument doesn't matter because you know for a fact that the items you subscribe to update very infrequently. But the market data system doesn't know that. It has to be designed in such a way so that it can handle huge variations in update rate, for example an item that suddenly jumps from updating once per minute to several hundred times per second. (this is actually very common, for example for listed equity)
There isn't a setting whereby you can say: give me all fields with every update.
In terms of missing updates: This is what the State if for. You would detect (or rather the API would detect) almost immediately if that's the case. Some feeds also publish a sequence number with every update but I've frankly never had a need to use it.
The best answer I can give you is that you'll simply need to maintain a cache inside your application containing the current value of each field for an item.
Best of luck.
Lars
0
Answers
-
As youve found out inititially you will receive the whole picture, and from then on will only receive updates. This is because it saves bandwidth/helps latency to only send information that has changed. If it hasnt been updated, then your program should assume it is still the same value.
Either you will need to keep a record within your program, or use the following indication flag to send and receive a full picture everytime you need it:
OMMMsg.Indication.NONSTREAMING
0 -
RFA supports 2 request types:
1. Streaming - returns a refresh message with all fields following with update messages with changed fields.
2. Non-Streaming(snapshot) - returns only one refresh message with all fields.
Hence, both cannot serve your requirement and the application needs to implement this by itself. Apart from keep requesting snapshot to get updated data of all fields, you can request streaming then cache data received from a refresh message and update data according to update messages.
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛