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

Receive Deliver - Symbol Change not considered #6

Open
xsrsx opened this issue Jul 30, 2021 · 1 comment
Open

Receive Deliver - Symbol Change not considered #6

xsrsx opened this issue Jul 30, 2021 · 1 comment

Comments

@xsrsx
Copy link

xsrsx commented Jul 30, 2021

In case of a symbol change an uncaught exception is raised since the subcode is not implemented.

Sample data:

Date/Time Transaction Code Transaction Subcode Symbol Buy/Sell Open/Close Quantity Expiration Date Strike Call/Put Price Fees Amount Description Account Reference
12/22/2020 12:32 PM Receive Deliver Symbol Change GOEV Sell Open 1 01/15/2021 15 P   0.00 118 Symbol change: Open 1.0 GOEV 210115P00015000 Individual...80
12/22/2020 12:32 PM Receive Deliver Symbol Change HCAC Buy Close 1 01/15/2021 15 P   0.00 -118 Symbol change: Close 1.0 HCAC 210115P00015000 Individual...80
@laroche
Copy link
Owner

laroche commented Jul 31, 2021

Thanks a lot for the sample data to enhance this script.

I won't be able to work on this the next weeks. As a workaround you can delete these two lines and use a text editor to either change HCAC into GOEV or the other way around to generate a somewhat complete report.

If someone wants to help and implement this, patches are more than welcome.

best regards,

Florian La Roche

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