DISCLAIMER: This material has been prepared for informational purposes only, and is not intended to provide, and should not be relied on for, tax, legal or accounting advice. You should consult your own tax, legal and accounting advisors before engaging in any transaction.
Description & Motivation
Parses coinbase csvs to calculate P&L on crypto transactions using the FIFO (First-In-First-Out) method.
Because coinbase's csv export is not compatible with Turbotax. See:
Optionally rename the file (the rest of the examples use crypto-taxes as the name of the executable)
(Mac OSX Only) Find the executable in the Finder, right-click it and select "Open" to bypass OSX's overly-cautious security features
In the terminal, navigate to the directory of the executable and run the following command:
# Change file permissions to allow execution
$ chmod 740 crypto-taxes
# Run the file on a downloaded csv from Coinbase. The -csv flag outputs a valid csv to stdout.
./crypto-taxes -csv your-coinbase-file.csv