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

Use Case der Strike Adjustierung durch Special Dividend wird nicht abgedeckt #21

Open
MiErnst opened this issue Sep 15, 2022 · 0 comments

Comments

@MiErnst
Copy link
Contributor

MiErnst commented Sep 15, 2022

In meinem Log habe ich den Use Case der Special Dividend. Hier wurden die Strikes angepasst.

Fehlermeldung
{noformat}
Traceback (most recent call last):
File "C:\Users\michael\tastyworks-pnl\tw-pnl.py", line 1148, in
main(sys.argv[1:])
File "C:\Users\michael\tastyworks-pnl\tw-pnl.py", line 1145, in main
check(all_wk, output_summary, output_csv, output_excel, tax_output, show, verbose, debug)
File "C:\Users\michael\tastyworks-pnl\tw-pnl.py", line 1056, in check
stats = get_summary(new_wk, tax_output, min_year, max_year)
File "C:\Users\michael\tastyworks-pnl\tw-pnl.py", line 605, in get_summary
raise
RuntimeError: No active exception to reraise
{noformat}
Log Eintrag
{noformat}
12/29/2021 1:03 PM,Receive Deliver,Special Dividend,ARKK,Sell,Open,1,02/18/2022,79.22,P,,0.00,174,Special dividend: Open 1.0 ARKK 220218P00079220,Individual...90
12/29/2021 1:03 PM,Receive Deliver,Special Dividend,ARKK,Buy,Close,1,02/18/2022,80,P,,0.00,-174,Special dividend: Close 1.0 ARKK 220218P00080000,Individual...90
12/29/2021 1:03 PM,Receive Deliver,Special Dividend,ARKK,Sell,Open,1,02/18/2022,109.22,C,,0.00,131,Special dividend: Open 1.0 ARKK 220218C00109220,Individual...90
12/29/2021 1:03 PM,Receive Deliver,Special Dividend,ARKK,Buy,Close,1,02/18/2022,110,C,,0.00,-131,Special dividend: Close 1.0 ARKK 220218C00110000,Individual...90
12/28/2021 7:51 PM,Trade,Sell to Open,ARKK,Sell,Open,1,02/18/2022,80,P,1.74,1.132,174,Sold 1 ARKK 02/18/22 Put 80.00 @ 1.74,Individual...90
12/28/2021 7:51 PM,Trade,Sell to Open,ARKK,Sell,Open,1,02/18/2022,110,C,1.31,1.132,131,Sold 1 ARKK 02/18/22 Call 110.00 @ 1.31,Individual...90
{noformat}

Als Workaround habe ich die Special Dividend Einträge gelöscht und die Buy Log Einträge zum schließen des Calls und des Puts angespasst.

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

1 participant