how to get historical data for expired contracts?
-
How can I get expired contracts toked id? I used this link https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json to get instrument token ID. But this file has only active contracts. I need token for expired contracts to perform backtest.
-
Hi @S289502
Apologies for delayed response.
Currently we are not providing the historical data for expired contracts on SmartAPI.Thanks & Regards,
SmartAPI team