Actionable Trading Strategies

Actionable Trading Strategies

Share this post

Actionable Trading Strategies
Actionable Trading Strategies
Building a crypto arbitrage bot

Building a crypto arbitrage bot

Exploit price differences across exchanges

Fadai Mammadov's avatar
Fadai Mammadov
Aug 26, 2024
∙ Paid

Share this post

Actionable Trading Strategies
Actionable Trading Strategies
Building a crypto arbitrage bot
Share

Introduction

You probably see too many articles or videos on how much a particular crypto arbitrage bot makes money. These are all scams. Don't fall into the trap of thinking they’ll make you a millionaire. Instead, learn yourself how YOU can build one from scratch. In this article I will show how we can develop an arbitrage bot. I don’t give you fish, I teach you how to fish. I don’t promise that the bot we’ll develop will be a profitable one at its current state. But with the knowledge gained from this essay and with the help from mighty Google search and AI tools, you can improve the bot until you’re satisfied with the results.

Building a bot

Let’s first import the libraries.

import ccxt

import time

import fees

fees is a small script I wrote myself. It fetches withdrawal fees from several exchanges. Almost all exchanges charge these fees when you withdraw funds from them. That’s why these costs are important to consider in developing a crypto arbitrage bot. This is how fees.py file fetches withdrawal fees:

Keep reading with a 7-day free trial

Subscribe to Actionable Trading Strategies to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Fadai Mammadov
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share