Get the nearest expiry date

I have a question. i want to download all instruments of BANK NIFTY exchange: NFO. This returns me all the future and option contracts. From that I want to filter the weekly options (CE, PE) of next expiry for a given strike. Is there an easy way instead of finding out next Thursday's date and then filtering from data frame?
Sign In or Register to comment.