Problem with Eikon API

Hello,
We are experiencing the issue on Eikon API since last week. API responds once out of 3 times, the user has to wait long enough between two API requests, before that was not the case.
Could you tell us if there is a problem on API and help us?
Thank you.
Best Answer
-
Is this using the code snippet that I provided? If so, there seems to be a network issue. Can you try switching to a different network like Work or Home and try again. If that does not help, then please open a support ticket with my.refinitiv.com.
0
Answers
-
@Magouloub please could you paste the code for the API call that is causing issues - so we can try to replicate. In some peak periods there might be loading which causes a timeout but through try-catch type defensive coding you can trap that error and just re-present the failing call.
0 -
We have a loop “while” that generates two Jsons and sends them to Reuters-API. Reuters answers the first request (JsonInstrument1) and not the second request (JsonInstrument2) for which we have the error: “Timeout waiting for connection from pool”
The files are generated in the same Loop “while”
0 -
Hi @Magouloub Can you please provide code snippet which causes the issue, as requested by Jason. Here is a simple while loop that I tried which keeps getting data for your fields. Note that I am throttling the requests so as not to exceed hit the limits.
fields = ['TR.MIDPRICE (CALCMETHOD=CLOSE,SDate=0,EDate=-2,Frq=D).date',
'TR.MIDPRICE (CALCMETHOD=CLOSE,SDate=0,EDate=-2,Frq=D)',
'TR.ACCRUEDINTEREST (SDate=0,EDate=-2,Frq=D)', 'TR.ZSPREAD (SDate=0,EDate=-2,Frq=D)',
'TR.BIDYIELD (SDate=0,EDate=-2,Frq=D)',
'TR.MODIFIEDDURATION (SDate=0,EDate=-2,Frq=D)']
while True:
df, err = ek.get_data("GB086352303=", fields)
print(df)
time.sleep(0.5)
df, err = ek.get_data("US113835966=", fields)
print(df)
time.sleep(0.5)Result:
Instrument Date Mid Price Accrued Interest Z Spread Bid Yield Modified Duration
0 GB086352303= 2021-01-13T00:00:00Z 111.637 3.56712 297.45 3.177 3.847
1 GB086352303= 2021-01-12T00:00:00Z 111.455 3.55068 300.33 3.219 3.848
2 GB086352303= 2021-01-11T00:00:00Z 111.753 3.53425 297.42 3.154 3.853
Instrument Date Mid Price Accrued Interest Z Spread Bid Yield Modified Duration
0 US113835966= 2021-01-13T00:00:00Z 109.287 0.55233 132.25 1.561 4.276
1 US113835966= 2021-01-12T00:00:00Z 109.297 0.54247 132.25 1.573 4.278
2 US113835966= 2021-01-11T00:00:00Z 109.394 0.53260 131.62 1.530 4.282
Instrument Date Mid Price Accrued Interest Z Spread Bid Yield Modified Duration
0 GB086352303= 2021-01-13T00:00:00Z 111.637 3.56712 297.45 3.177 3.847
1 GB086352303= 2021-01-12T00:00:00Z 111.455 3.55068 300.33 3.219 3.848
2 GB086352303= 2021-01-11T00:00:00Z 111.753 3.53425 297.42 3.154 3.853
Instrument Date Mid Price Accrued Interest Z Spread Bid Yield Modified Duration
0 US113835966= 2021-01-13T00:00:00Z 109.287 0.55233 132.25 1.561 4.276
1 US113835966= 2021-01-12T00:00:00Z 109.297 0.54247 132.25 1.573 4.278
2 US113835966= 2021-01-11T00:00:00Z 109.394 0.53260 131.62 1.530 4.282
Instrument Date Mid Price Accrued Interest Z Spread Bid Yield Modified Duration
0 GB086352303= 2021-01-13T00:00:00Z 111.637 3.56712 297.45 3.177 3.847
1 GB086352303= 2021-01-12T00:00:00Z 111.455 3.55068 300.33 3.219 3.848
2 GB086352303= 2021-01-11T00:00:00Z 111.753 3.53425 297.42 3.154 3.853
...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
- 685 Datastream
- 1.4K DSS
- 616 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
- 252 ETA
- 556 WebSocket API
- 38 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
- 652 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
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 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 中文论坛