I am using this code to get price data on expired option NDXb1921A5075.U^B21:
df5 = ds.get_data(tickers="<NDXb1921A5075.U^B21>", fields=['MP'], start = '2021-01-01', end = '2021-09-18', freq= 'D' )
According to the RIC rules this option should have been expired on February 19, 2021, however the code above returns price data for up to today (see attached)
price request for expired option.png
And a similar request in Eikon API returns "no data available for the requested period".
Eikon request for same option.png
Could you please kindly consult on this ?