Member-only story

Build a crypto trading bot in Python in under 40 lines of code

CyberPunkMetalHead
3 min readMar 15, 2022

--

In this article we’re going to build upon some of the concepts explained in previous articles, designed to help you understand how to build a crypto trading bot in Python from scratch. This series of articles should also serve as a practical course into learning Python, as you will be picking up core concepts required in programming.

So if throughout this article, you feel like you’re lacking some more basic concepts, then check out the other articles in the series: how to build a crypto trading bot from scratch. This includes the basic foundation of how to install Python, pip and an IDE on your machine as well as how to generate Binance API keys. If you’re completely new to programming that’s where you want to start.

What is a crypto trading bot?

A Trading bot, or trading algorithm is essentially a piece of software that trades cryptocurrency automatically, on your behalf. Under the hood, there are a number of instructions, or rules which tell the program how to behave: when to buy, when to sell, when to hold etc. A trading bot should be able to streamline and improve upon a manual strategy, or at the very least — automate it.

So let’s start by building very simple DCA bot that will automatically DCA for us on Binance once a week.

--

--

CyberPunkMetalHead
CyberPunkMetalHead

Written by CyberPunkMetalHead

x3 Top Writer and co-founder of Algo Trading Platform AESIR. I write about crypto, trading, tech and coding.

Responses (1)