For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
23 0 3 4

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-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikon
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
Accepted
7.4k 10 6 8

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 3 4

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.