piggybank

command module
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 16 Imported by: 0

README

Kraken PiggyBank

This tool helps to create a PiggyBank with your Kraken Account. It checks every hour for new fiat funds (currently EUR only) and uses all funds to buy bitcoin. If there are bitcoin funds it will automatically withdraw to a defined bitcoin address.

Roadmap

  • Support for more Fiat Currencies
  • Support for more Crypto Currencies
  • Support multiple accounts
  • Option to configure Sleep Time
  • Option to deactivate withdrawal
  • Notification when order was created or withdrawal was done
  • Improve Email templating

How to use

  1. Create an API Key on Kraken with following permissions:
    • Funds - Query Funds
    • Funds - Withdraw Funds
    • Orders & Trades - Query Open Orders & Trades
    • Orders & Trades - Query Closed Orders & Trades
    • Orders & Trades - Modify Orders
    • Orders & Trades - Cancel/Close Orders
  2. Add API Key from Kraken to config.json
  3. Add Private Key from Kraken to config.json
  4. Create a Withdraw Address on Kraken
  5. Add the description (not the address itself) of your withdrawal address to config.json
  6. Run piggybank

How to build

  1. Clone this repository
  2. Install go dependencies
    • go get github.com/beldur/kraken-go-api-client
  3. go build -o dist/piggybank piggybank.go
  4. Alternatively you can use make (Makefile is optimized for using on macOS)
    • make => Builds PiggyBank
    • make serve => Builds and runs PiggyBank
    • make release => Creates releases of PiggyBank for different architectures
    • make clean => Clean up

Donate

Bitcoin: bc1qzuf0felpylurg69jwj20qkwgg7uy7d5kegvmkv

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL