Weekly expiry instrument id

prasad_n_k
Is there any way by which I can get the instrument id of weekly expiry of index programmatically ? Now as we have one index getting expired on each day of the week (Monday - Midcap Nifty, Tuesday - Finnifty, Wednesday - Banknifty and so on), I want to develop a strategy that would run everyday targeting the index that would expire that day... For that, I want to get the instrument id of index that is getting expired on a day without any manual intervention.
Tagged:
Sign In or Register to comment.