here is the code:
contract = 'DCSc'
riclist = ["{}{}".format(contract, i) for i in range(1,13,1)]
print(riclist)
df = ek.get_timeseries(riclist,'close',
start_date='20140101',
end_date='20190401', interval='daily')
df.reset_index('Date', inplace=True)
df['Date'] = df['Date'].dt.strftime('%Y%m%d')
print(df)
output:
Hi,
Yes, there is a limit.
You'll have detail in Eikon DAPI usage and limits guide on the Developer Community Site . EIKON DATA API USAGE AND LIMITS GUIDELINE:
Python API retrieve stock fundamental data specificly to include OriginalAnnouncementDate
get_timeseries `No data available for the requested date range` and other problems
Get Data API for Corporate action doesn't return Stock Dividend Event.
Issue with get_data returning multiple rows for one single investor