<0#EXCHANGE/DATES> for discointinued data series and how to find the Date(s) - Eikon API

Dear Community.
I'm looking for a RIC of discontinued instruments to find a date in the SUPER RIC <0#EXCHANGE/DATES>.
Taking <GCZ0> as the RIC and looking for the "First Notice Date", the code
"
df, err = ek.get_data(
instruments = ['GCZ0FUTDATE1'],
fields = ['ROW80_8']
)
display(df)
df
"
will work.
In other hand, the RIC <GCZ0^1>, from DEC 2010, and the same logic
"
df, err = ek.get_data(
instruments = ['GCZ0^1FUTDATE1'],
fields = ['ROW80_8']
)
display(df)
df
"
don't retrive the data.
Need to know how to do it.
Best Answer
-
Hello @vibisogni,
Let's look at Datascope Historical Reference Extraction Request:
"Name": "Start date",
"Description": "Starting date of the instrument. This field contains values formerly found under First Notice day.",
{
"ExtractionRequest": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.HistoricalReferenceExtractionRequest",
"ContentFieldNames": [
"RIC", "Start date"
],
"IdentifierList": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{
"Identifier": "GCZ0^1",
"IdentifierType": "Ric"
}
],
"ValidationOptions": {"AllowHistoricalInstruments": true},
"UseUserPreferencesForValidationOptions": false
},
"Condition": {
"StartDate": "2007-01-01T00:00:00.000Z",
"EndDate": "2020-08-01T23:59:59.000Z"
}
}
}The results include
{
"IdentifierType": "Ric",
"Identifier": "GCZ0^1",
"RIC": "GCZ0",
"Start date": "2010-11-30"
},
{
"IdentifierType": "Ric",
"Identifier": "GCZ0^1",
"RIC": "GCZ0",
"Start date": "2010-11-30"
},Hope this helps
0
Answers
-
Hello @vibisogni,
Let's step back from Eikon Data API Python and review how you achieve this goal with the first example, GCZ0^1FUTDATE1, an active Gold Composite Commodity Future:
1. Request reference RIC: 0#EXCHANGE/DATES
It's a chain RIC, and you follow to LONGLINK4 = COMMOD/CTR/DATE
2. Request reference RIC: COMMOD/CTR/DATE
It's a chain RIC, GCZ is not on the first page, and you follow LONGNEXTLR = 1#COMMOD/CTR/DATE
3. Request reference RIC: 1#COMMOD/CTR/DATE
It's a chain RIC, and GCZ is not on this page, and you follow LONGNEXTLR = 2#COMMOD/CTR/DATE
4.Request reference RIC: 2#COMMOD/CTR/DATE
It's a chain RIC, we find GCZ in LONGLINK10 = GC/FUT/DATE
5. Request reference RIC: GC/FUT/DATE
It's a chain RIC and we follow to GCFUTDATE1
6. Request RIC: GCFUTDATE1
It's a page, we cut out ROW80_7 = GCZ0/FUT/DATE
7.Request RIC: GCZ0/FUT/DATE
It's a chain, we follow two links
HCMXFUTDATE1 for headers (field name locations, i.e. ROW80_8)
GCZ0FUTDATE1 for values (in ROW80_8)
8. Request RIC: HCMXFUTDATE1 and RIC: GCZ0FUTDATE1
This approach of "walking" down the reference tree to find what you need works. But to my best knowledge, references are up-to-date, do not include expired instruments with "^". So, in my understanding, you will not be able to pursue this approach via reference. I am a developer, so I have opened a content investigation case # 09230144 to confirm this with content experts.
I would consider to examine a solution with Reference data product such as Datascope.
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
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 279 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 716 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
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛