Hacker News new | ask | show | jobs
by byproxy 3110 days ago
I guess this applies to non-crypto trading as well, but, how do you manage taxes on these transactions?
2 comments

I know what I put in, and I know what my profit is, so I am going to report the net gain and pay the tax on that (ugh)
[IanaA] If your liquidated positions are open for over a year, you can do 15% long-term capital gains in the US.

The exchanges have an export history feature, which I'm planning to put into a spreadsheet to calculate profit. That's gonna be a fun weekend project.

There's a very nice library called ccxt that uses a code generator to produce python (async and standard), javascript, and PHP libraries that implement a standard interface for dozens (hundreds?) of crypto exchanges. I think a nice project would be an in-browser JS app that accessed each of the APIs in my exchanges (via logged in cookies or API keys or whatever) to pull trade history, deduct fees, and create a CPA-friendly tax form from all of my crypto exchanges.