FAILURE MAP
← Case archive

FA-61607 / Options payoff and settlement / Member archive

Listed option expiration date calendar: quarterly expiries fall on weekend month ends · case 02

Quarter-end expiries on Saturdays or Sundays are not moved.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Inputs year, month, kind and holidays. Monthly expiry is the third Friday of the month; quarterly expiry is the last calendar day of the quarter-end month (Mar/Jun/Sep/Dec) containing the month. Either date rolls back to the preceding business day (weekday not in holidays) when it is not a business day. Return [y,m,d].

Why this case matters

Option expiry, exercise and settlement engines move cash and shares; a wrong branch misstates obligations.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression quarterly business day 1[2031, 6, 30][2031, 6, 27]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗