Skip to content

The script converts export files from kraken/binance exchange into the cointracer format. Cointracer is a free software used to create tax reports for cryptocurrency trading. The conversion includes major coin pairs, see chapter supported pairs.

License

perling1/convertkraken2cointracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

convertkraken2cointracer and convertbinance2cointracer

The scripts converts export files from kraken/binance exchange into the cointracer format. Cointracer is a free software used to create tax reports for cryptocurrency trading. The conversion includes major coin pairs, see chapter supported pairs (bitcoin, ethereum, litecoin, link, uni, dash, xrp, dai, usdt, dot and more). Yet it does not convert margin positions.

Version

The scripts were tested on Win10 Powershell 5.1.

Instructions

  1. Open your powershell ISE
  2. Open convertkraken2cointracer.ps1 or convertbinance2cointracer.ps1
  3. Edit lines, that specify the infile and outfile
  4. Run the script
  5. Use the outputfile as import in cointracer

How to export your trades from kraken

  1. Log into your kraken account
  2. Go to Trading History
  3. Export your historic trades with all columns
  4. Download the export file with historic trades to your computer

Example kraken export

"txid","ordertxid","pair","time","type","ordertype","price","cost","fee","vol","margin","misc","ledgers" "45RRZM-MJNVR-6EP8","D7RETL-10IXJ-ZZYRYF","XXBTZEUR","2017-04-02 07:31:31.8234","buy","limit",7813.40000,625.07200,1.06262,0.02000000,312.53600,"","QPWERT-LOPF4N-KHC4EM,UZUT11-POZSCI-3R52G"

Example converted file after script (import for cointracer)

Reference;DateTime;Info;SourcePlatform;SourceCurrency;SourceAmount;TargetPlatform;TargetCurrency;TargetAmount;FeeCurrency;FeeAmount 45RRZM-MJNVR-6EP8;02.04.2017 07:31:31;XXBTZEUR buy;kraken;EUR;77.42;kraken;BTC;0.01000000;EUR;0.20129

Supported Coins and pairs

EUR USD BTC BCH ETH BNB LTC XRP ETC XMR XLM ZEC EOS ADA YFI UNI MKR DOT DAI TRX VET XEM XTZ ZEC ZRX

XXBT XETH XLTC XXMR XLMZ XXRP ZEUR ZUSD XZEC ATOM IOTA USDT USDC WAVE LINK LOOM AAVE AION ALGO SCRT RUNE COMP DASH

SUSHI STRAX

Link to cointracer software

https://www.cointracer.de/

About

The script converts export files from kraken/binance exchange into the cointracer format. Cointracer is a free software used to create tax reports for cryptocurrency trading. The conversion includes major coin pairs, see chapter supported pairs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published