Hi, it appears that the eikon python api has entered the next stage of pre-release today, where the App Key from beta program stops working. I generated a new App Key and found out the limit is different than the beta stage. In beta, "the request is limited to 300 rics per request. Intraday is limited to 3000 points, and interday is limited to 50,000 points" and my current code worked fine. However the same code returns <response 429> today. I wonder what is the current limit for ek.get_timeseries?
*edit*
For example,
for i in range(10):
print i
ek.get_timeseries( rics=['Z.O', 'MAR.O', 'QRTEA.O', 'RDC', 'GPK', 'CME.O', 'CBL', 'PBCT.O', 'BWA', 'PUMP.K', 'ROK', 'YUM', 'LYB', 'ANDV.K', 'HL'], interval='tick',\
start_date=dt.datetime(2018,7,5,19,55,1),\
end_date=dt.datetime(2018,7,5,20,0,0)+dt.timedelta(seconds=1,microseconds=-1),\
normalize=True )
time.sleep(0.5)
would give error
0
1
2
3
4
5
6
7
8
Traceback (most recent call last):
File "<ipython-input-90-4789682e1657>", line 3, in <module> ek.get_timeseries( rics=['Z.O', 'MAR.O', 'QRTEA.O', 'RDC', 'GPK', 'CME.O', 'CBL', 'PBCT.O', 'BWA', 'PUMP.K', 'ROK', 'YUM', 'LYB', 'ANDV.K', 'HL'], interval='tick', start_date=dt.datetime(2018,7,5,19,55,1), end_date=dt.datetime(2018,7,5,20,0,0)+dt.timedelta(seconds=1,microseconds=-1), normalize=True )
File "C:\Users\renee\AppData\Local\Continuum\anaconda2\lib\site-packages\eikon\time_series.py", line 160, in get_timeseries ts_result = eikon.json_requests.send_json_request(TimeSeries_UDF_endpoint, payload, debug=debug)
HTTPError: <Response [429]>
time.sleep(0.5) ensures the request per second is less than 5, but it still hit <response 429>.
Are there other restrictions?(The above code worked fine during Beta)
My App ID is 'abd1d28534c74b698b4d3f07563c2ffef11c35fb'