provinzio / CoinTaxman

Calculate your taxes from cryptocurrency gains
GNU Affero General Public License v3.0
141 stars 31 forks source link

Offer test account statements for code test of exchange integrations #19

Open wearymanateevedaknotstabooresisting opened 3 years ago

wearymanateevedaknotstabooresisting commented 3 years ago

Hereby, I request to offer artificial account statements (best, real statements with altered data), to test exchange integrations regarding valid implementation.

This includes the by-hand calculation of taxes with respect to the applicable law which is supported.

It should be noted, that all supported tax laws should be tested with each integration. Best, in a combined test file, which is the real world use-case when exporting exchange activity by users.

shredEngineer commented 3 years ago

I don't have by-hand calculation of taxes, but here are my test account statements for Kraken (new format), which I also uploaded in some other issue here. Maybe this is useful to someone. kraken-example-ledgers.csv.txt kraken-example-trades.csv.txt

wearymanateevedaknotstabooresisting commented 3 years ago

Thanks, that provides a bare minimum test. I guess we'd need one for every exchange (times) tax law application

sibbl commented 3 years ago

I'd also like to share some data as I found some limitations for Coinbase and Binance with it already. I'm still trying to get at least one end-to-end run finish successfully before I can contribute though...

Would it also make sense to think about writing unit tests using this data?

provinzio commented 3 years ago

It would be awesome to provide unit testing.

Definitly a point we have to take a deeper look into. I think that it'll make everybody sleep better, if they know that we tested the code extensivly and continuously.