Skip to content

Calculate capital gains for Bitcoin and other cryptocurrencies

License

Notifications You must be signed in to change notification settings

amacneil/cryptogains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e7a902b · Apr 20, 2021

History

58 Commits
Aug 18, 2019
Mar 30, 2019
Apr 25, 2020
Apr 3, 2017
Apr 20, 2021
Jan 10, 2021
Apr 3, 2017
Mar 11, 2018
Apr 25, 2020
Mar 31, 2019
Apr 3, 2017
Apr 3, 2017
Apr 25, 2020
Apr 3, 2017
Mar 31, 2018
Apr 20, 2021
Mar 31, 2019
Mar 31, 2019
Apr 25, 2020
Apr 3, 2017
Mar 10, 2019
Mar 15, 2020

Repository files navigation

cryptogains

NOTE: This script is not maintained. I do not recommend you use it.

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.

About

Calculate capital gains for Bitcoin and other cryptocurrencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages