Today I can not retrieve EOD price of yesterday.
I use python and get error like this
Python worked for a years, but the last 2 days have not work
.
Error code 404 | Client Error: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /api/v1/data</pre>
</body>
</html>
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\py\daily_price_insert.py", line 61, in <module>
df, e = ek.get_data(screener_exp,fields=field2, parameters=parameter)
File "C:\Python\Python37\lib\site-packages\eikon\data_grid.py", line 186, in get_data
result = eikon.json_requests.send_json_request(_endpoint, payload, debug=debug)
File "C:\Python\Python37\lib\site-packages\eikon\json_requests.py", line 121, in send_json_request
_raise_for_status(response)
File "C:\Python\Python37\lib\site-packages\eikon\json_requests.py", line 244, in _raise_for_status
raise EikonError(response.status_code, error_msg)
eikon.eikonError.EikonError: Error code 404 | Client Error: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /api/v1/data</pre>
</body>
</html>