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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
23 0 1 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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

Upvotes
Accepted
6.7k 8 6 7

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 5.0 MiB each and 10.0 MiB total.

Upvotes
23 0 1 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea