Eikon API - Expiry date of expired rics

in order to retrieve the expiry/last trading date for a given future i have been using

df, err = ek.get_data( 'LCOK2^2', ['EXPIR_DATE', 'TR.FOFirstNoticeDay', 'TR.FOLastTradingDate'])

however for older RICs (older than 2010 , e.g. Jun 2005) it does not work. E.g. :

df, err = ek.get_data('LCOM5^0', ['EXPIR_DATE', 'TR.FOFirstNoticeDay', 'TR.FOLastTradingDate'] )

how can i get the expiry for these rics?

Tagged:

Answers

  • Hello @dcoco

    For content clarification, please raise a content support ticket at LSEG Support, and reference this question in the ticket to avoid being redirected back to the forums.