Trading-Journal: Crypto Trading Bot for Kraken

Crypto Trading Bot Kraken

Every halfway professional trader should of course keep a trading journal to record his trades and to be able to evaluate them later. Some good trading software offers already integrated solutions, but that didn't stop me from programming my own software for our Project and connecting it to our trading system.

In addition to the recording, evaluation and analyses of the individual trades. (Signal, Entry, StopLoss, TakeProfits, PL, Commissions, hit rates and countless other values and ratios). Furthermore, automation is the magic word for every successful trader. Everything that can be done automatically (and/or semi-automatically) by a machine or one or more computers and servers should be done by them.

Trading: Indicators, strategies and interfaces

kraken.jpgBesides various indicators, trading strategies and interfaces to various Forex and future brokers (Dukascopy, AMP, TF4l) as well as data feed and technology providers (CQG, Rithmic R API+, VWD, TaiPan), I have also integrated several modules which extend the trading journal with basic functionalities and make my daily life in stock exchange trading stock exchange trading much easier.

In addition to a module that, simply explained, searches the Xetra shares for certain patterns and values and outputs them, I also connected the API of the crypto exchange Kraken in a quiet hour.

Crypto-Trading: Kraken Trading Bot

Journal Trading Bot KrakenWith just one click I can retrieve all relevant data of individual accounts and pairs as well as market data and thus make trading decisions and place an order (market, limit, stop loss) quickly. Thanks to an integrated calculator I always have a direct overview of the volume, base and quote currency as well as the commission fee.

In order to push the whole thing to the top, I decided on a small strategy and built a fully automated trading bot for kraken, which currently handles my Bitcoin, ETH, XRP and e.g. EOS trades independently.

Depending on the configuration set, the bot can buy and sell independently at predefined prices, Fibonacci levels, moving averages (EMA, SMA). In addition, I have integrated a mechanism that has proven itself especially in times of enormous Bitcoin price fluctuations. This mechanism foresees that a defined amount of coins is sold from a certain price, but if the price rises above this level, the bot will continue to sell a certain amount at defined intervals. Same with buying. One could say that those who have programming in his skill set are clearly at an advantage. 🙂

Note: From time to time i post a small status of my trading performance (success and failure) here on a separate page ( which links also to my twitter account. Maybe we can follow each other. 😉

Kraken Trading Bot with Bitcoin, Ethereum & Co.

kraken.jpgThis may have disadvantages but of course also advantages. You don't have to commit yourself 100% to one price, the bot simply sells Bitcoin in 100 USD steps. If the price drops below the defined limit again, the bot goes in the other direction and buys the defined quantities again in intermediate steps. On good days, when the price runs up to 9800, drops to 7600 and jumps back to over 9500, you have fun with it.

The whole thing goes with Ethereum (ETH) on a small scale and much more comfortable nevertheless, if you sell ETH from 200,- USD, and then in 10 USD steps always further. It is rarely the case that the price simply jumps from 200 to 400. If the rate comes back below 160, the bot simply buys back in 10 USD steps and the game starts all over again. So that I don't have to run my main computer all the time, I also outsourced the bot to a small C# console application, and let it run with Mono on a Linux server, which is always on anyway and has a fast OneWay connection to the Internet.

There is not always so much movement that the kraken crypto trading bot could work reasonably, but if the price doesn't reach the trigger nothing happens and the bot just watches what the market does.

Of course you can also run the thing with XETHXXBT, i.e. exchange back and forth between two crypto currencies like ETH (Ethereum / Ether) and Bitcoin. What you can do while waiting for action in the crypto market, I have summarized here in the following article: Experiment: Hacking Ethereum Wallets - Bruteforce.

kraken l.jpg

To make sure that not too much can go wrong with such fully automated trades, and to avoid sitting in front of the computer computer 24/7, I use the Messenger Telegram and a corresponding telegram bot to keep me constantly informed about the actions of the trading bot.

The self-programmed Telegram Bot sends me messages on Fill for Pair, Trigger, Last-Price, Bid/Ask, Volume, but also information if the connection to the Kraken-API is broken and an independent reconnect is no longer possible for whatever reason. How to program such a telegram bot by yourself can be read here in parts 1 and 2 of the series.

If you are interested in the code, or if you need technical support for the implementation of your own trading idea, feel free to contact me and together we will see what is possible.

Author: Sascha from

Author: Sascha

Some words about myself. My name is Sascha - i'm a software developer, trader and martial artist from germany. Besides programming, trading and martial arts some of my interests and hobbies are cooking, fitness and hearing loud heavy metal music. :D

This might also be interesting for you

Eastern - Jesus and the Easter Bunny

Easter is a joyful celebration, which brings great joy especially to children. Easter can be a wonderful time to do family activities together. There are great Easter markets, the Easter fire, the egg hunt and what the little ones particularly enjoy is preparing for Easter. Window pictures, dyeing eggs, rabbits, Easter chickens and Easter baskets … Continue reading "Eastern - Jesus and the Easter Bunny"

Arduino Fitnessboard v1 - Experiment

On the weekend I fortunately had some time for handicrafts and a nice idea for a fitness board for training at home, which is operated from the push-up position. A video can be found further down in this article and on the Youtube channel of Table of contents:Building  an Arduino Fitness BoardFitnessboard - RequirementsFitnessboard … Continue reading "Arduino Fitnessboard v1 - Experiment"

3D Printing - 27 Inch iMac Stand Repair

As already known for a long time, the stand of the iMacs (27 inch) from 2012 to mid-2014 is often broken. With these models it happens (not all of them) that the hinge is worn out and the screen position can't be changed anymore or, as in my case, the screen constantly tilts forward. 3D … Continue reading "3D Printing - 27 Inch iMac Stand Repair"

Sushi: Maki and Nigri homemade

Sushi is a Japanese dish made from cold, sour rice. Other ingredients to complement it include nori (dried and roasted seaweed), raw or smoked fish (e.g. tuna or salmon), raw seafood (e.g. prawns) and vegetables (e.g. avocado, cucumber, carrot or tofu). The Sushi is prepared in bite-sized pieces and served visually appealing. Table of contents:Make … Continue reading "Sushi: Maki and Nigri homemade"

Kids toys and Ikea hacks from the 3D printer

3D printers are great toys for adults and now relatively good, easy to use and relatively affordable. As already mentioned in this article (build your own Hörbert similar MP3 player) you can even print padlocks and fasteners. Even wall mounts for swords and knives or even a closed housing for the 3D printer with the … Continue reading "Kids toys and Ikea hacks from the 3D printer"

Leave a Reply

Your email address will not be published. Required fields are marked *

I have read and accepted the privacy policy!