laroche / tastyworks-pnl

prepare German tax statement with Tastyworks transaction history
BSD 3-Clause "New" or "Revised" License
65 stars 17 forks source link

Use the official Tastyworks API for exporting the transaction history #35

Open MiErnst opened 1 year ago

MiErnst commented 1 year ago

Exporting the CSV is very error prone and causes a huge effort. Tastyworks released an official API to export the transaction history today: https://support.tastyworks.com/support/solutions/articles/43000700385-tastytrade-open-api

This issue replaces my created issue #28

laroche commented 1 year ago

I've already checked the new interface a little bit. Download of all history data seems to work ok and tastyworks wants to settle on this new format for the future. Old and new format also seem to list identical data for my account going back to 2017.

So adding this new text format should be implemented...

best regards,

Florian La Roche

MiErnst commented 1 year ago

I really would like to see this, but the result from the API should be stored in a local file that should than be processed by the tool. So the user can adjust the file if necessary like I did in case the strike price was adjusted while holding the option.