Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 2

get_data doesn't return prices

Hi,

I'm using get_data to get settlements prices:

df1, err1 = ek.get_data(['List of symbols'],  ['TR.SettlementPrice.date', 'TR.SettlementPrice.value'])

As of yesterday, the function doesn't return prices most of the time (works in rare random cases),

As per logs, I see it's stuck at API function _check_ticket_async:

INFO:pyeikon:Response : 500 - <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Internal Server Error</pre>
</body>
</html>

INFO:pyeikon:Port 9000 was retrieved from .portInUse file
INFO:pyeikon:Try to handshake on url http://localhost:9000/api/handshake...
INFO:pyeikon:Response : 404 - <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Not Found</pre>
</body>
</html>

INFO:pyeikon:Set Proxy port number to 9000
INFO:pyeikon:Port 9000 on local proxy was detected
1.0.1
INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
--- 40.390366554260254 seconds ---
  Instrument  Date  Settlement Price
0      SXKZ9   NaN               NaN

Also, the number of times below message is repeated is random

INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds

Another try, I got:

INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
INFO:pyeikon:Receive ticket from responses, wait for 15.0 seconds
--- 150.25812125205994 seconds ---
  Instrument  Date                          Settlement Price
0      SXKZ9   NaN  [Handler_BackEndFailure] Request Timeout


Thanks!

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @abdessamad.outerqiss,

The function call you have should not be of any concern - it worked for me. I will forward these logs to the product group to investigate.

Thanks @nick.zincone for your reply.

Indeed I think the function isn't the issue.

I just checked again and found that Realtime status in down. I restarted the machine but still see it down.

realtimedown.png (26.4 KiB)

1 Answer

· Write an Answer
Upvotes
Accepted
17.1k 80 39 63

Hi @abdessamad.outerqiss,

You will need to raise this issue with the Refinitiv Helpdesk to help troubleshoot why your connection seems to be going down. The Refinitiv Helpdesk can reached by either calling the Helpdesk number in your country or by using Contact Us capability in your Eikon application.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.