Hello, I am playing with the codebook, I am trying to use the same code to a .py file, whenever I execute the file, it gives me an error saying: "
Your request is prohibited because the request is on loopback from external IP.
Here an example of what I am doing.
import refinitiv.dataplatform.eikon as ek from datetime import datetime, timedelta ek.set_app_key('My_Key') #Reinvestment Rate RRuson=ek.get_timeseries(['USONFFE='],start_date="2020-10-23",end_date="2020-10-23")['CLOSE'].values[0]
ERROR:
<HEAD><TITLE>Request on loopback from external IP</TITLE></HEAD> <BODY BGCOLOR="white" FGCOLOR="black"><H1>Request on loopback from external IP</H1><HR> <FONT FACE="Helvetica,Arial"><B> Description: Your request is prohibited because the request is on loopback from external IP.</B></FONT> <HR> <!-- default "Request on loopback from external IP" response (400) --> </BODY>
Thanks