getting the next expiry dates
-
Hi ,
Is there are a way to get next expiry day dates ?
@rjbanna any clue -
method 1:
present day + next Thursdaymethod 2:
from script master extract all exp dates and chose the nearest one from the current date. -
just save the dates ones for a year. and read the above from text file and compare with today date. and choose the near one. u only need to update once in a year.
-
I too used web scraping to get upcoming expiry. Little code of Scrapy or BeautifulSoup does the job very well.
-
@PandaTrade You can use web scraping to fetch those data.
-
I wrote a wrapper to fetch it from NSE.
-
@rajanprabu
@James-Bond
How do you get the weekly expiry dates in your algos..
Tried to use nsepy library but it is not working