OPEN-SOURCE SCRIPT
OPEX VIXEX dates

Updated ohlocracy's OPEX script till 2030
These dates are for standard equity, index, and ETF options expiration managed by OCC, with monthly expirations usually on the third Friday and weekly expirations on other Fridays, except holidays which cause adjustments to Thursdays or nearby trading days.
Quarterly options expiration dates in the US stock market are on the last trading day of the quarter, usually the last business day of March, June, September, and December.
These dates are the last trading day of each quarter, accounting for weekends and holidays when the market is closed. When the last calendar day falls on a weekend, the expiration is set to the last prior trading day.
The VIX monthly expiration is on the Wednesday prior to the stock market monthly opex (third Friday). When holidays affect these days, the expiration shifts to the business day before.
These dates are for standard equity, index, and ETF options expiration managed by OCC, with monthly expirations usually on the third Friday and weekly expirations on other Fridays, except holidays which cause adjustments to Thursdays or nearby trading days.
Quarterly options expiration dates in the US stock market are on the last trading day of the quarter, usually the last business day of March, June, September, and December.
These dates are the last trading day of each quarter, accounting for weekends and holidays when the market is closed. When the last calendar day falls on a weekend, the expiration is set to the last prior trading day.
The VIX monthly expiration is on the Wednesday prior to the stock market monthly opex (third Friday). When holidays affect these days, the expiration shifts to the business day before.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.