Add parsing for a few more Trade Republic event types
While going through my transaction history I hit a bunch of events that pytr didn't recognize yet, so I added handling for them:
- Incoming securities transfers (
SSP_SECURITIES_TRANSFER_INCOMING) now get mapped to a TRANSFER_IN event, including ISIN parsing and a sensible default value.
- A few more events are now explicitly ignored instead of showing up as "unknown":
ADDRESS_CHANGED, TRADING_ORDER_REJECTED, the "Neues Gerät" (new device) title, and the "Kauforder abgelehnt" / "Dividende. Cash oder Stockdividende?" subtitles.
- Added support for English-language sections/fields (
Transaction, Overview, Fee, Shares), since some accounts seem to return these in English rather than German.
Also added test fixtures + tests for the new cases (address changed, rejected buy order, new device, incoming securities transfer).
Add parsing for a few more Trade Republic event types
While going through my transaction history I hit a bunch of events that pytr didn't recognize yet, so I added handling for them:
SSP_SECURITIES_TRANSFER_INCOMING) now get mapped to aTRANSFER_INevent, including ISIN parsing and a sensible default value.ADDRESS_CHANGED,TRADING_ORDER_REJECTED, the "Neues Gerät" (new device) title, and the "Kauforder abgelehnt" / "Dividende. Cash oder Stockdividende?" subtitles.Transaction,Overview,Fee,Shares), since some accounts seem to return these in English rather than German.Also added test fixtures + tests for the new cases (address changed, rejected buy order, new device, incoming securities transfer).