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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.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

Upvotes
Accepted
9.7k 49 38 60

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea