Hi, I have a query regarding how historical data / instruments get recycled / deleted. It's known that historical data for expired options isn't available, so I can only query for the ones that are active. Now suppose today is the expiry date, and after market close I want to get the complete history of a particular option (which expired today). After how long is this instrument_token unavailable? Is the historical data for this instrument available till the next date or how long do I have to download this data before it becomes unavailable
Expired option contracts and their corresponding instrument tokens are typically flushed on the next morning at approximately 7:00 AM. If you need the historical data for an option contract, we recommend downloading it before this time, as the instrument and its historical data may no longer be available through the API once the cleanup process is completed.