How to make sink_driven_src stop sending updates after X amount
Hi
Example:
I want to send steady 10 updates per second (-U 10) and stop after sending 100 updates.
I tried the -timeri option but the guide is very vague on explaining the timer interval. Description says
Sets the timer interval in microseconds. A setting of (0) disables the timer.
Thanks
Best Answer
-
If you use rmdstestserver (tool shipped with ADH and ADS packages) and use a capture file, you should be able to do this. Versions of this tool shipped with TREP 3.2.3 and later allow users to control the number of times a capture file would be replayed (-replayLimit). Previously, rmdstestserver would continuously replay the capture file. See Demo tools guide shipped with TREP s/w for details.
1
Answers
-
Hi @kc_1905
Looking at the documentation for sink_driven_src, it does not appear to offer the functionality you are after.
If you want to publish dummy data and control the frequency / timing / count etc, then one option could be for you to modify the code for one of the OMMProvider examples as per your requirements.
As you may know, you can connect a OmmConsumer application directly to an Interactive OmmProvider example using the 'direct connect' feature - by ensuring the Interactive Provider is listening on the same port as the OmmConsumer is connecting on (default: 14002)
You can find a set of Interactive Provider examples in the training\iProvider Examples subfolder
1 -
Thanks, I was hoping there was a option to do it via replay tool. Saves us writing a provider with all the built-in features of the sink_driven_src like the rate control, ramp up, and etc.
0 -
Also do you know what does -timeri option do? What does it set the interval of ?
0 -
Hi @kc_1905
I will ask the TREP experts and get back to you.
0 -
Hello @kc_1905
You may contact TREP support team who is expert in sink_driven_src which are TREP's tool. To raise this problem to them directly, please submit the query via Get Product Support on MyRefinitiv. Select Product "Thomson Reuters Enterprise Platform".
1 -
Thanks will raise a querty to them
0 -
Hi @kc_1905
Not sure how you got on with the TREP Support team but I got an explanation for the -timeri option:
-timeri is for when you want to go with a high resolution timer (timerfd) for sub-millisecond intervals on Linux (so would be used in conjunction with values of -tps > 1000).
The TREP expert confirmed that sink_driven_src does not offer the functionality you required and the closest would be the rmdstestserver possibility explained below.
1 -
Thanks, looks like this is what im after.
Seems this is not included in the TREP Infrastructure Tools in the Download section, is that correct?
0 -
Hi @kc_1905
That is correct - the rmdstestserver is shipped with the actual ADH or ADS package. Do you have an internal Market Data team - they should be able to provide you with the tools?
If you do not have an internal TREP installation, please speak to you Refintiv Account manager to see if there is a way of getting access to an ADS or ADH installation package.
0 -
I think we have such team within the company. Many thanks for this information.
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 中文论坛