8000 GitHub - bluppfisk/krakbal: Commandline script to get your Kraken balance and current value in fiat
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bluppfisk/krakbal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KrakBal

Tiny commandline script to get your Kraken balance and current value in fiat

Installation

Make sure you have Python3 and pip installed Run in terminal:

git clone https://github.com/bluppfisk/krakbal && cd krakbal
python3 -m venv ./
source bin/activate
pip install -r requirements.txt

Usage

  1. Obtain an API key from https://www.kraken.com/u/settings/api and allow it read access to private data: balance
  2. Create a kraken.key file and paste the API key on the first line, the secret on the second
  3. Run python3 krakbal.py or ./krakbal.py

Flags

  • -c allows you to specify a currency other than the default EUR, e.g. USD, GBP, CAD (see Limitations)
  • -k allows you to specify a key file other than the default kraken.key

Example:

python3 krakbal.py -c usd -k kraken.key

Limitations

  • Kraken currently only has complete conversion data for its crypto assets into USD and EUR. For all but the biggest assets, CAD and GBP conversion is not available.

Known Issues

  • If the account holds a balance in EUR and the display currency is USD (and vice-versa), the call will fail as it tries to obtain the rate for XUSDZEUR which is not a valid pair on Kraken. Fix: determine if t 5601 here's a necessity to convert between two fiat currencies and, if so, request additional rates for BTC to balance currency and BTC to display currency. Determine the exchange rate between the two fiat currencies with BTC as a proxy by dividing the one balance by the other.

About

Commandline script to get your Kraken balance and current value in fiat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0