Skip to content
Calculate capital gains for Bitcoin and other cryptocurrencies
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add Github lint action (#20) Mar 10, 2019
data
db
docs
scripts
src
.dockerignore
.editorconfig
.env
.eslintrc.json
.gitignore
.npmrc
Dockerfile
LICENSE
Makefile
README.md
app.js
config.js.example
docker-compose.yml
init.js
package.json
yarn.lock

README.md

cryptogains

Calculates capital gains from cryptocurrency transactions to help file your taxes.

quickstart

$ cp config.js.example config.js      # configure accounts
$ docker-compose build                # build container
$ docker-compose run app bash         # development shell
$ dbmate up                           # initialize database
$ node app.js                         # calculate gains

overview

This tool imports your bitcoin, ethereum, and other cryptocurrency trades from:

  • Coinbase
  • GDAX
  • Poloniex
  • Local file (CSV)

It then generates a list of all your disposals, with the cost basis for each disposal, and prints a summary table with short & long term gains for each currency per year.

features

  • Automatically import from multiple exchange accounts
  • Supports FIFO & LIFO disposal methods

todo

  • Add support for more exchanges (currently supported via CSV import)
  • Add support for downloading bitcoin address & HD wallet history (currently supported via CSV import)
  • Add support for downloading ethereum address history (including contract output)

license

MIT License

disclaimer

This software is provided for informational purposes only. It does not constitute financial, tax or legal advice, and is not intended to be used by anyone for the purpose of financial advice, legal advice, tax avoidance, promoting, marketing or recommending to any other party any matter addressed herein. For financial or legal advice please consult your own professional.

You can’t perform that action at this time.