Skip to content

Bot that automatically periodically buys selected cryptocurrencies on Kraken exchange

Notifications You must be signed in to change notification settings

karooolis/auto-buy-crypto-kraken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-buy crypto bot for Kraken 🏦

This is a simple bot that helps you automatically and periodically buy selected cryptocurrencies on Kraken crypto exchange.

How to install

  1. Generate Kraken API key pair, instructions here.
  2. Edit contents of index.js file, specifically the orders variable where you shall declare which currencies to periodically buy and at what volume.
  3. Copy contents of index.js to a cloud function. This script works on Google Cloud and has not been tested anywhere else but is likely to work on other cloud providers too. Google Cloud function setup instructions can be found on official Google Cloud documentation.
  4. In order to run the bot periodically at a given time, it must be set up with a scheduler. Google Cloud Scheduler works wonderfully for this purpose and setup instructions can be found here.

Why?

The purpose of this bot is to take advantage of dollar-cost averaging which is an investment strategy where you periodically buy assets in smaller amounts rather than make large infrequent purchases. In this way you get to buy a given asset at an average price of that asset over a given period of time rather than at a single price point at which you happened to buy the asset. I prefer this strategy as you are not reliant on trying to catch price bottoms which I'm rarely successful at.

Support

In case you get stuck, don't hesitate to create an issue. If there is interest, I will also create more detailed documentation.

About

Bot that automatically periodically buys selected cryptocurrencies on Kraken exchange

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published