TradeRepublicApi icon indicating copy to clipboard operation
TradeRepublicApi copied to clipboard

myTransactions.csv export contains error in case of capital yield tax optimization

Open jasshauer opened this issue 4 years ago • 0 comments

I tried today the api - first big thanks for provisioning this api.

In my case for example i bought two times a share

6x shares 4x shares

and executed once a full stock selling 10x shares in timeline

in the csv extraction 10.2334x shares are displayed

after e.g. importing into PortfolioPerformance a negative stock left after import.

Reason for this should be: in Sell order execution timelineEvent the cashChangeAmount contains of
value of selling the share + capital yield tax (germany) optimization (displayed in timeline details as accounting 1 (share value) and accounting 2 (optimization)

based on the logic to calculate the shares based on cashChangeAmount / body(price of) = stock

Proposed Solution: In Addition to the timeline the timeline details should be considered via payload. (and maybe in such case directly the PDF (if exist) with all details could be downloaded for each timelineEvent

jasshauer avatar Oct 21 '21 22:10 jasshauer