Receive Deliver - Symbol Change not considered
xsrsx opened this issue · 1 comments
xsrsx commented
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 commented
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