Skip to content

2martin2/koalafolio

Repository files navigation

koalafolio

pypi version Language grade: Python pypi downloads

portfolio for cryptocoins with profit export for tax

https://gitea.com/2martin2/koalafolio/raw/branch/master/koalaExample.png

Installation with Pip

  • (opt) install python > 3.7 (check with python --version or python3 --version or python3.x --version)
  • (opt) install pip (check with pip --version or pip3 --version)
  • (opt) install microsoft build tools https://visualstudio.microsoft.com/de/visual-cpp-build-tools/
  • install koalafolio for python 3!: (pip install koalafolio or pip3 install koalafolio or python3.x -m pip install koalafolio)
  • run koalafolio from terminal (koalafolio or python -m koalafolio)
  • (opt) update koalafolio (pip install koalafolio --upgrade)

Installation with PipEnv

trade import

import trades from exchanges using their export files
supported exchanges:
  • binance (xls)
  • bitcoinde (csv)
  • bitfinex (csv)
  • bitstamp (csv)
  • bittrex (csv)
  • coinbase (buys, sells and merchant payouts)
  • hitbtc (csv)
  • idex (csv)
  • kraken (csv)
  • kuCoin (csv)
  • okex (csv)
  • poloniex (csv)
  • exodus (v1/txs/.json)
  • others could work as well but not tested
  • csv template can be created for manual import
import trades from exchanges using their API:
supported exchanges:
  • binance
  • bitmex
  • coinbase
  • coinbasepro
  • gemini
  • poloniex
  • kraken
  • 100+ exchanges supported by ccxt (untested)
import Rewards from Staking Address
supported Chains
  • Cardano (Koios Api)

optional arguments

-h, --help show this help message and exit
-v, --version show version of koalafolio
-d DATADIR, --datadir DATADIR
 directory where user data should be stored. make sure it is a valid and writable dir
-u USERNAME, --username USERNAME
 username can be used to switch between different portfolios. username will be added to Datafolder (Data_username), so every user has its own settings, trades, styles and so on

portfolio

load all historical prices from CryptoCompare for profit calculation

display balance, ... of all bought cryptocoins

export

export profit made in a specific timeframe using FIFO-method (excel)
  • trades can be splitted in wallets to seperate them for tax calculation. (FIFO for each wallet)
  • language of export english and german (others can be added in translation.txt)

Credits

Powered by CryptoCompare API

Powered by CoinGecko API

Gui based on Qt

Thanks to ccxt

Checkout Rotki

Packages

No packages published

Contributors 2

  •  
  •