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
- 6 AHS
- 39 Alpha
- 162 App Studio
- 4 Block Chain
- 5 Bot Platform
- 17 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
- 370 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛