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
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
Add API Key from Kraken to config.json
Add Private Key from Kraken to config.json
Create a Withdraw Address on Kraken
Add the description (not the address itself) of your withdrawal address to config.json
Run piggybank
How to build
Clone this repository
Install go dependencies
go get github.com/beldur/kraken-go-api-client
go build -o dist/piggybank piggybank.go
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