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}]
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.
Hi,
CTc1-CTc2 is the spread which is what I am trying to pull. Outright data I am able to get.