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

Tallying P/L for expired option contracts #24

Open
kfchou opened this issue Mar 9, 2021 · 2 comments
Open

Tallying P/L for expired option contracts #24

kfchou opened this issue Mar 9, 2021 · 2 comments

Comments

@kfchou
Copy link

kfchou commented Mar 9, 2021

Hello! Hope all is well!

Right now, expired call options still shows up as "unrealized premium" in the P/L table.
Instead, expired call options should show up in the P/L column.
I haven't experimented with puts, so don't have data points for those.

Cheers!

@kfchou kfchou changed the title Tallying P/L for covered calls Tallying P/L for expired option contracts Mar 9, 2021
@anthonyk1225
Copy link
Owner

Hey! I'm gonna get to this soon, I promise!

@anthonyk1225
Copy link
Owner

In addition to stock splitting, #21 there's a problem when strike prices for contracts change before expiration. I'm not sure if this is the problem but it's probably a strong possibility it's one of the two issues.

Not sure how to fix this since RH doesn't have endpoints to map strike prices as far as I can tell. Same thing for splits and the best I can come up with for now is statically keeping split history and mapping it under the hood. I'll keep this open and hopefully it can be solved soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants