I’m sharing the code of my first crypto trading bot, so you can build your own

I have recently started coding my own crypto trading bots, as a way to remove emotional impulses from my trading strategy and have tested a few designs with various degrees of success.

I have recently been testing this particular bot with different coins and got some interesting results. While it underperformed on Bitcoin, it actually came in profit during a week of live-testing on XLM.

Here are parameters that I set for the bot:

  • The bot will be trading Bitcoin automatically if the price has increased by more than 3% in the last 10 minutes.
  • We will have a stop loss of 5% and take profit of 8% – this can be improved with a trailing-stop functionality.

    Have you ever traded with a crypto bot or built one yourself? Let me know your thoughts!

And of course, here is a guide you can follow to build your own along with the open-sourced code:

Guide: https://www.cryptomaton.org/2021/03/14/how-to-code-your-own-crypto-trading-bot-python/

GitHub repo: https://github.com/CyberPunkMetalHead/Bitcoin-Surge-Trading-Alpha

submitted by /u/CyberPunkMetalHead
[link] [comments]