Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expired Index Option Contracts Aren't Always Exercised #8413

Open
4 tasks done
DerekMelchin opened this issue Nov 15, 2024 · 2 comments · May be fixed by #8470
Open
4 tasks done

Expired Index Option Contracts Aren't Always Exercised #8413

DerekMelchin opened this issue Nov 15, 2024 · 2 comments · May be fixed by #8470
Assignees
Labels

Comments

@DerekMelchin
Copy link
Collaborator

Expected Behavior

If we hold an Index Option contract and it expires, it's automatically exercised.

Actual Behavior

It's not always exercised.

Potential Solution

N/A

Reproducing the Problem

Run this backtest. The algorithm runs until 2024, but this last 0DTE contract isn't automatically exercised on expiry like all the other trades in the backtest.
image

System Information

QC Cloud

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
@AlexCatarino
Copy link
Member

Note the 0DTE contract expires on July 3rd (holiday eve).
If we set the start date to 2024, it stops trading on Jun 18th (eve of Juneteenth).

@Martin-Molinero
Copy link
Member

Maybe related to #8152

@Marinovsky Marinovsky linked a pull request Dec 18, 2024 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants