MfaXyz
Crypto-Triangular-Arbitrage-Bot
Python

The algorithm to calculate Triangular Arbitrage with depth on Centralised exchanges.

Last updated Feb 24, 2026
103
Stars
35
Forks
0
Issues
0
Stars/day
Attention Score
51
Language breakdown
Python 100.0%
Files click to expand
README

Crypto-Triangular-Arbitrage-Bot

The algorithm to calculate Triangular Arbitrage with depth on Centralized exchanges.

The improved version of this bot will be released in C++ language soon.

Introduction

This algorithmic trading bot checks and detects arbitrage opportunities. This works on any Exchange with minor configuration. I'm just right now config script for kucoin exchange.

Features

  • Establish all traceable Triangular Arbitrage pairs unseen by others.
  • Calculate surface rate opportunities across all pairs.
  • Calculate real rates for arbitrage with depth.

Setup & Guide

1- git clone https://github.com/MfaXyz/Crypto-Triangular-Arbitrage-Bot.git
2- Install Python!
3- set path of python https://stackoverflow.com/questions/3701646/how-to-add-to-the-pythonpath-in-windows
4- and run python file: python main.py
for find structuring pairs your must uncomment these two lines:
coinlist = firststep()
structuredpairs = secondstep(coin_list)
and comment last line:
while True:
    third_step()
after a while a json file named structuredtriangularpairs.json will create.

Contributions & Further Improvement

Feel free to contribute! You are so much welcome! We have huge problem in our code, execution part, which is related to the execution of the transaction in the exchange, does not work properly and you will most likely lose money after its execution! I look forward to your commits to make this part profitable.
🔗 More in this category

© 2026 GitRepoTrend · MfaXyz/Crypto-Triangular-Arbitrage-Bot · Updated daily from GitHub