Upgrade from Eikon -> Workspace. Learn about programming differences.
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
Hi,
Thank you for your participation in the forum.
Are any of the replies below satisfactory in resolving your query?
If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.
Otherwise please post again offering further insight into your question.
Thanks,
AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
@jurij.reichenecker yes so this field takes a number of parameters - ValuationDate and SettlementDate, amongst others (you can see all of these in the Parameters section of the Data Item Browser app (type DIB into eikon search bar).
ValD = ['2021-02-03','2021-02-04','2021-02-05'] data1 = pd.DataFrame() for d in ValD: df,err = ek.get_data('34540TKR2', ['TR.AccruedAmountAnalytics'], parameters={"ValuationDate": d, "SettlementDate": d}) df['Date'] = d if len(df): data1 = pd.concat([df, data1], axis=0) else: data1 = df data1
Is this the kind of thing you were looking for? Obviously you can adjust the parameters as you like. I hope this can help.
The Data Item Browser shows that TR.AccruedAmountAnalytics is not a series field, so you won't be able to request it with a date range. Using a loop, seems to be the only plausible option.