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

question

Upvotes
Accepted
23 0 6 7

Eikon data unable to get the daily settlement price

Hi,


I am trying to get the daily settlement prices for CTc1-CTc2 and SBc1-SBc2 using the following code:

data, ek = e.get_data('CTc1-CTc2',

['TR.SETTLEMENTPRICE.date','TR.SETTLEMENTPRICE '],

{'SDate':start_date, 'EDate':end_date })


I am getting this error:

[{'code': 412,

'col': 1,

'message': 'Unable to resolve all requested identifiers.',

'row': 0},

{'code': 412,

'col': 2,

'message': 'Unable to resolve all requested identifiers.',

'row': 0}]

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @varun.divakar

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,


AHS

Hello @varun.divakar

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the 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

Upvotes
Accepted
10.2k 18 6 9

Hi @varun.divakar please try the following - the RICs need to be presented in an array and separated by comma :

data, ek = e.get_data(['CTc1','CTc2','SBc1','SBc2'],
['TR.SETTLEMENTPRICE.date','TR.SETTLEMENTPRICE '],
{'SDate':start_date, 'EDate':end_date })

I hope this can help.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
23 0 6 7

Hi,

CTc1-CTc2 is the spread which is what I am trying to pull. Outright data I am able to get.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.