Coder Social home page Coder Social logo

cryptoTaxes

Compute your crypto taxes.

Disclaimer

The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement.

Additionally, we make no warranty that:

  • This software will meet your requirements.
  • This software will be uninterrupted, timely, secure or error-free.
  • The results from the use of this software will be effective, accurate or reliable.
  • The quality of this software will meet your expectations.

In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

Usage

java Runtime Environment must be previously installed in your computer in order to run this program.

Download compressed file (.zip extension for Windows or .tar.gz extension for Linux) from Releases, uncompress downloaded file and open a terminal in uncompressed folder.

Trading history files should be placed in data/usr/yourUser/input folders (where yourUser is the folder storing your user data). A demo user is provided along with his demo history files, so that you can copy the folder structure for new users.

In order to run the program, type command run.bat in Windows terminal or command ./run.sh in Linux in terminal.

The following command line parameters can be written after the command:

  • -user=yourUser to run the program for user yourUser (whose history must be in data/usr/yourUser/input folder).

  • -verbosity=level where level is a number from 0 on, the higher the number, the more information is shown in report.

  • -currency=curr your base coin, where curr can be euro, btc or usd.

  • -price-provider=provider to use different price providers, where provider is one of:

    • coinmarketcap, to use CoinMarketcCap (mostly outdated).

    • coingecko, to use CoinGecko (recommended).

  • -download-prices=yes in order to update prices from Coinmarketcap, Coingecko and BDE.

  • -accounting-method=method where method is either fifo or lifo.

  • -decimal-places=n to use n decimal places when showing real numbers.

  • -price-calculation=method to use different methods in order to compute daily prices in your currency, where method can be one of:

    • open, to use daily open price of the market.

    • close, to use daily close price of the market.

    • openClose, to use average of daily open and close prices of the market.

    • high, to use highest daily price of the market.

    • low, to use lowest daily price of the market.

    • highLow, to use average of daily high and low prices of the market.

  • -time-zone=z to use z as your time zone for date/time conversions.

  • -year=y to only process operations for year y. Assumes previous years have been processed before.

  • -parity-priorities=file file (in data/config folder) defining priorities for choosing proxies in order to calculate prices in your base coin.

  • -funding-fees=yes to account for deposits and withdrawal fees on exchangers.

After running the program, output reports will be produced in folder data/usr/yourUser/output.

Configuration

The program can be further configured by editing text files in data/config folder.

cryptoTaxes's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.