Human readable data from captured data?
If I capture data to file, using rsslIoctl (channel, RSSL_TRACE,...), the file contains entries like:
<fieldEntry fieldId="16" data="1309 07E3"/>
I'm looking for a tool to convert this into something more human readable, i.e more like:
<fieldEntry fid="TRADE_DATE" data="...">. It would be really great if the data could be translated to the appropriate format depending on the data type specified for the FID.
Best Answer
-
Hello @svante.lindahl1
You may use rmdstestclient tool to capture data from Elektron to the xml file which is human readable then you can replay this data later using sink_driven_src tools.
The example captured data in the xml file:
<fieldEntry fieldId="1" dataType="RSSL_DT_UINT" data="852"/>
<fieldEntry fieldId="2" dataType="RSSL_DT_UINT" data="151"/>
<fieldEntry fieldId="259" dataType="RSSL_DT_UINT" data="249"/>For more details to use the tools to record and play data, please refer to Quick Start Guide to Recording and Playback of Elektron Data
1
Answers
-
If it's the RSSL XML trace log from ESDK C++ and RFA C++, you may try the RSSL trace log with my tool on GitHub. It was created for troubleshooting purposes.
https://github.com/xipherix/Example.EMARFACPP.Tool.RSSLXMLTraceConverter
You have to download the .NET Core SDK from
https://dotnet.microsoft.com/download/dotnet-core/3.0
and then run following dotnet publish command under a folder named
rsslxmltracedataconverter to build executable file on .NET Core support platform.
For example, on Windows 10 you can use
dotnet publish -c release -r win10-x64 -o ./release_build
Please find more -r option for other platforms from
https://docs.microsoft.com/en-us/dotnet/core/rid-catalog
Then copy folder Dict to folder release_build, and then you may copy the sample XML data to XML file like test.xml or use the file generated by ESDK or RFA C++ with the following a command
rsslxmltracedataconverter.exe -s test.xml -o testconverted.xml
or
./rsslxmltracedataconverter -s test.xml -o testconverted.xml
It will convert the XML data to testconverted.xml and output should contain XML element like below sample
<fieldEntry fieldId="16" fieldName="TRADE_DATE" decodedData="19/9/2019" data="1309 07E3" />
The tools will scan for XML element name "fieldEntry, and it must contain "fieldId" and "data" and then it will look up fieldName and dataType using a value from fieldId. Next step it will convert Hex string in XML element named data to a value depending on the data type.
I test it with a general trace log from EMA and RFA. Therefore, I do not guarantee that it will be able to cover all data types. Anyway, it should be able to convert primitive data types and MRN Story data.
0 -
Looks like you have some really useful stuff there, but I'm confined to using Linux.
0 -
.NET Core SDK supports Linux.
Please find the list from section Build-apps SDK.
0 -
rmdstestclient was what I wanted/needed. Thank you!
0 -
Yes, rmdstestclient works fine for my purpose. Thank you.
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
- 370 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛