File Exchange

image thumbnail

Options Expiration Friday Date Calculator

version 1.0 (1.34 KB) by

Calculates the date in a given month that options will expire (Friday).

1 Download


View License

Takes as input a date within the month (any date). Outputs the Friday date during that month on which equity options expire.

Input can also be a list of dates, in which case output will be a list of Fridays.

Comments and Ratings (1)

Mark Dragovan

As written, this function does not work with R2012a.

The changes that need to be made are at the top of the program:

for i=1:size(month,1)


With those changes it works fine. Just what I needed.

MATLAB Release
MATLAB 7.12 (R2011a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video