The record could not be found' for the instrument 'TYC1=CTD'
ek.get_data() stopped working this working (same code used to work for about 1.5 years):
Exception: [{'code': 251658243, 'col': 1, 'message': "'The record could not be found' for the instrument 'TYC1=CTD'", 'row': 0}, {'code': 251658243, 'col': 2, 'message': "'The record could not be found' for the instrument 'TYC1=CTD'", 'row': 0}, {'code': 251658243, 'col': 3, 'message': "'The record could not be found' for the instrument 'TYC1=CTD'", 'row': 0}, {'code': 251658243, 'col': 1, 'message': "'The record could not be found' for the instrument 'AULC1=CTD'", 'row': 1}, {'code': 251658243, 'col': 2, 'message': "'The record could not be found' for the instrument 'AULC1=CTD'", 'row': 1}
and so on.
Fields are ["CF_NAME", "MATUR_DATE", "COUPN_RATE"], RICs:
["TYc1=CTD", "AULc1=CTD", "FVc1=CTD", "FVc2=CTD", "TYc2=CTD", "AULc2=CTD", "TUc1=CTD", "TUc2=CTD"].
I can see this data in excel, so shouldn't be a permissions issue.
Best Answer
-
hello @ralbanese ,
The fix has been released, could you please retry running the code?
below is the screenshot of the code output I just got.
0
Answers
-
Hi @ivan.cherkasov ,
Take care that RICs are case sensitive.
Replace "TYC1_CTD" with "TYc1=CTD", "AULC1=CTD " with "AULc1=CTD", ..., it should work.
0 -
It is in correct case: ["TYc1=CTD", "AULc1=CTD", "FVc1=CTD", "FVc2=CTD", "TYc2=CTD", "AULc2=CTD", "TUc1=CTD", "TUc2=CTD"]. However it is uppercased in the error message for some reason.
Here is a minimalistic repro:
>>> ek.get_data(["TYc1=CTD"], ["CF_NAME", "MATUR_DATE", "COUPN_RATE"])
( Instrument CF_NAME MATUR_DATE COUPN_RATE
0 TYc1=CTD NaN NaN NaN, [{'code': 251658243, 'col': 1, 'message': "'The record could not be found' for the instrument 'TYC1=CTD'", 'row': 0}, {'code': 251658243, 'col': 2, 'message': "'The record could not be found' for the instrument 'TYC1=CTD'", 'row': 0}, {'code': 251658243, 'col': 3, 'message': "'The record could not be found' for the instrument 'TYC1=CTD'", 'row': 0}])
>>>+
>>> ek.__version__
'1.1.2'But, again, exactly the same code used to work for 1.5 years until this morning.
0 -
Actually, it seems quite strange:
>>> ek.get_data(["TSLA.O", "tsla.O"], ["CF_NAME", "MATUR_DATE", "COUPN_RATE"])
( Instrument CF_NAME MATUR_DATE COUPN_RATE
0 TSLA.O TESLA INC/d NaN NaN
1 tsla.O TESLA INC/d NaN NaN, [{'code': 251658244, 'col': 2, 'message': "Error: Field 'MATUR_DATE' was not found in response for the instrument 'TSLA.O'", 'row': 0}, {'code': 251658244, 'col': 3, 'message': "Error: Field 'COUPN_RATE' was not found in response for the instrument 'TSLA.O'", 'row': 0}, {'code': 251658244, 'col': 2, 'message': "Error: Field 'MATUR_DATE' was not found in response for the instrument 'TSLA.O'", 'row': 1}, {'code': 251658244, 'col': 3, 'message': "Error: Field 'COUPN_RATE' was not found in response for the instrument 'TSLA.O'", 'row': 1}])I didn't expect to see CF_NAME populated for a RIC with wrong case, "tsla.O", but it was.
0 -
Same for other continuous RICs:
>>> ek.get_data(["LCOc1"], ["CF_NAME"])
( Instrument CF_NAME
0 LCOc1 NaN, [{'code': 251658243, 'col': 1, 'message': "'The record could not be found' for the instrument 'LCOC1'", 'row': 0}])
>>>Did smth. change on the backend today?
0 -
A colleague of mine tried these code snippets in workspace with the same result. So looks like a global problem.
0 -
Hello @ivan.cherkasov ,
This seems to be an API issue so, ticket number 10427295 was raised on your behalf to check this, you may follow an update of the investigation/fix from the ticket.
0 -
It seems like backend is having an issue with continuation rics. Can retrieve data SX1 but not for Sc1.
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 中文论坛