Python Eikon API
Hi.
I have Eikon application version 4.0.42 installed on my computer. I followed the instruction about how to use Eikon API but received following error;
Warning: file .portInUse was not found. Is Eikon Scripting Proxy running? Defaulting to port 36036
"EikonError: 'Error code 401 | Eikon Proxy not installed or not running. Please read the documentation to know how to install and run the proxy. '"
I tried to download the Eikon Proxy but the installation package can't be opened. I tried to open it in three different PC but all had the same result.
The following is my script:
import eikon as ek ek.set_app_id('XXX')
ek.get_news_headlines('R:LHAG.DE', date_from='2017-04-05T09:00:00', date_to='2017-04-05T18:00:00')
Does anyone have any idea what's going on here? Thanks in advance.
Best Answer
-
We will deliver a new version of the Python library (0.1.11) that should solve your issue. It should be available next week. Stay tuned.
1
Answers
-
See my comments from Nov 27th on the following thread, which may help you figure out what's wrong.
https://community.developers.refinitiv.com/questions/21391/log-in-on-eikon-desktop-app-eikon-api-proxy.html0 -
Hello Alex. Thanks for sharing your comments and it did help. But I still can't get my Python script run. It shows the following message at the beginning "Warning: file .portInUse was not found. Is Eikon Scripting Proxy running?". And I can't filed named ".portInUse" and the folder named "Eikon API Proxy" either. Should I reinstall the Eikon?
0 -
It can't hurt to reinstall Eikon. Though I would suggest first simply rebooting the box.
0 -
Hi Alex, I am working with a user having the same error message: "Warning: file .portInUse was not found. Is Eikon Scripting Proxy running?" We do not see the %appdata%\thomson reuters\Eikon API Proxy folder being created. He is running the latest Eikon 4.0.42144. Rebooted machine and reinstalled Eikon but did not help. Any advice on why the Eikon API Proxy folder is not being created? Here is a screenshot of the error: pastedimage.png
0 -
Thanks @Vera.Wong.
@Alex, I raised case (06186205) on the client's behalf. On my own PC, I noticed that the ".portInUse" file is being created at:
\AppData\Roaming\Thomson Reuters\Eikon API Proxy\.portInUse
The client does not have a "Thomson Reuters" folder in "Roaming", only in "Local". Does it have anything to do with this?
0 -
Thank you Olivier. I am looking forward the new version!
0 -
The new Python library (0.1.11) is now available on PyPi. Could you please give it a try and see if it solves your issue?
0 -
hello,
data, error=ek.get_data('EUR=', ['TR.ASKPRICE.Date', 'TR.ASKPRICE','TR.BIDPRICE'], parameters={'SDate':'2018-06-20', 'EDate':'2018-06-22'})
How to specify the Hour/min/sec on the SDate in order to retreive the BID/ASK of EUR at a specific time (secondes).
Thank you,
0 -
Thanks for posting your question on a separate thread. This makes it easier for the moderators to follow it and for anyone who may have similar question in the future to discover it. The answer has been posted on the new thread you started.
1
Categories
- All Categories
- 6 AHS
- 39 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛