3 ms·
[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,
by elif 9y ago
[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.
- jerkstate 9y agoThere'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.