Consume the pre/post market data in RKD
Hello
The pre-post market trades are the irregular trades so to consume this transactions one will have to use the IRG-like fields:
the important ones seem to be IRGPRC, IRGVOL, IRGTIM
However not every irregular trade/transaction is an extended hour trade.
Usually there is a condition field that features the values like "Form-T" (which is how the overnight trades were historically handled at the North-American exchanges).
The candidate fields with Refinitiv would be IRGCOND (and IRGCOND_1..).
I looked in the Refinitiv Real time (https://refinitiv.fixspec.com/stack/repo/elektron/refinitiv-real-time-aug-2022/field/irgcond), which should be basically the same, and the IRGCOND enum does feature value 131 for "form t", however there are 258 values that mention in the description "form t".
The other field candidate might be IRGSALCOND, but its description says "Sale condition for an ineligible trade" and it is a string filed so nobody knows what the value might be even if it looks like "@FT"
In RKD quote API (http://api.rkd.refinitiv.com/api/Quotes/Quotes.svc or in quote lists), which I am lookin at the it looks like even less IRG fields of the IRG-like fields are available.
Does anybody know how exactly proceed with RKD IRG-like fields to get the extended market trades with quote/quote list API? Which fields/values to look at to make sure the transaction is a trade and not, for example a trade cancel...
Best Answer
-
Hello @PatrickZ
I checked the RKD Quote Service on the RDK API Support Portal site. The IRGPRC, IRGVOL, IRGCOND, and IRGSALCOND are available on the RKD Quote service. You can find more detail on the "Coverage" and "Field Lookup" links of the RKD Quote - Retrieve Item v3 operation page.
Please note that incoming data is based on each RIC, exchange, and data feed too.
I did a quick test on the RKD API Support Portal page (Develop tab) with this JSON request message:
{
"RetrieveItem_Request_3": {
"ItemRequest": [{
"Fields": "IRGPRC:IRGVO:IRGTIM:IRGCOND:IRGSALCOND",
"RequestKey": [{
"Name": "MSFT.O",
"NameType": "RIC"
}],
"Scope": "List"
}],
"TrimResponse": false,
"IncludeChildItemQoS": false
}
}The result is as follows:
Please see more detail about field IRGCOND in the comments below.
2
Answers
-
hi @PatrickZ ,
The moderators on this forum do not have deep expertise in every type of content available through Refinitiv products. Such expertise is available through Refinitiv Helpdesk. Refinitiv Helpdesk can be reached via to MyRefinitiv > Refinitiv Products and Content > I need help understanding content within the product > Refinitiv Knowledge Direct
Hope this helps
0 -
Hello @PatrickZ
The field IRGCOND (FID 374) is an enumerated field type. The values of this type are standard numeric values that can be expanded to specific strings.
You can find the list of all possible IRGCOND string values from the https://refinitiv.fixspec.com/stack/repo/elektron/refinitiv-real-time-aug-2022/message/trade-reported-data-model page.
According to the enumerated information above, IRGCOND field data with "132" string represent "not last form_t (NMTS)" string meaning:
! VALUE DISPLAY MEANING
! ----- ------- -------
132 "132" not last form_t (NMTS)Alternatively, you can get all enumerated fields definition from the file named "enumtyp.def" file in the "Refinitiv Real-Time Templates Service Pack" package.
You can download it from the https://my.refinitiv.com/content/mytr/en/downloadcenter/loadview.html.html website with the following search conditions:- Product - Family: MDS - General
- Product: Refinitiv Real-Time Templates Service Pack
1 -
Hello @PatrickZ
If you need more information about the Field meaning or how to interpret field value, I highly recommend you contact the Content support team as suggested by @raksina.samasiri.
1 -
Hello
@wasin.wAs I stated, the problem is not with finding the enum values for IRGCOND but how to interpret them in order to collect only the extended (pre/post) trades.
For example what is the difference between value 131 - form_t and 132 - not last form_t...
There are about 280 various occurrences of for t in this enum.
Anyways, it seems that I will need to combine several fields like IRGPRC, IRGVOL, IRGCOND, IRGTIM_MS and maybe IRG_TRDID...
I need this for RKD, but I will probably try to compare to the realtime feed .
Thanks0 -
Hello @PatrickZ
Thank you very much for the clarification. Unfortunately, our forum moderators are not experts in content. I highly recommend you contact the Content support team to clarify these fields' definitions. You can contact the team directly via the https://my.refinitiv.com/content/mytr/en/helpandsupport.html website.
0
Categories
- All Categories
- 6 AHS
- 37 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 中文论坛