Deals MnA screen Eikon API Python returning results randomly

Hi there, I am using the Eikon API to return deals info from the MnA screen, however since yesterday (04-02-20) It's been having an unexpected behaviour. Some times the API is returning the deals with the requested fields, and some other times is returning the same info but missing fields like
"TR.MnASDCDealNumber"
to elaborate a bit more:
Running the same script 5-6 times (over the period of 5 - 10 minutes) to get deals would sometimes get all the data and fields and others would only return some of the fields.
This is the error that is being returned on those fields "{'code': 415, 'col': 1, 'message': 'Unable to collect data for some field(s).', 'row': 0}"
Best Answer
-
Hi @luis22
Do you think you hit the API limitation described at https://developers.refinitiv.com/eikon-apis/eikon-data-api/docs?content=49692&type=documentation_item ?
I tried to check your account to see if you are a high usage user or not but I could not find Eikon account with the your email address (luis@maxxxxxxxxxx.io)
I also tried to reproduce the issue by running the same API call with you on 2 machines.
more than 10 times in 1 hour (so total is 20++ times, 10++ times on each machine).
I cannot reproduce the issue and I always get the identical data back, 477 rows x 2 columns.
0
Answers
-
Hi @luis22
Please share your API call.
0 -
Hi! would it be possible to share it as a private message?
0 -
Hi @luis22
I was expected a single line API call
e.g. ek.get_data(rics, fields, parameter[if any])
Which it returns different data from several runs.
So I think just a single sample API call which you see the issue, it should be fine posting it here.
If not, please feel free to let me know, I will contact you via email.
Thanks.
0 -
Hi,
I keep tracking down the issue and found out that the results become unstable and (sometimes returns all the fields and sometimes return NaN)
the field causing the error is "TR.MnASynopsis" for my expression I am requesting Deals from the MNA universe, if rather requesting sypnosis I only request fields like:
"TR.MnASDCDealNumber", "TR.MNADealId", "TR.MnAAnnDate"
it works fine.
I tried to get the same info through Eikon Excel and it also brings the same error.
ek.get_data(instruments=expression,
fields=["TR.MnASynopsis"])0 -
Hi @luis22
I am so sorry, but I also need to know the instruments you were using.
I tried to reproduce the issue with IBM.N and 0005.HK RIC but it does not contain any information.
I will need to reproduce the issue, capture the https traffic and open a case to helpdesk (if it is confirmed that API usage is correct but data sometimes is not correct).
Alternatively, if you can also reproduce the issue on Eikon Excel.
You may also contact Refinitiv Helpdesk at https://my.refinitiv.com/
So they will create a case ticket for you and assist you accordingly.
0 -
Hi,
First of all, thanks for your replies, this is the full query:
ek.get_data(instruments="SCREEN(U(IN(DEALS)),BETWEEN(TR.MnAAnnDate,20181101,20181203),IN(TR.MnANationHQ(DealPartRole=T:A),'GB'))", fields=["TR.MnASynopsis"])
And as I say, the problem is that it only returns the value once in a random amount of tries. for example, yesterday I was unable at all to get them, but today after a couple of tries it worked out, seems to be totally random when it works and when not. I have tried in different machines to check out if it is some cache error but the error replicates in all of them.
Cheers.
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
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 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
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛