Triangular arbitrage by OctoBot
Project description
Triangular Arbitrage by OctoBot 1.0.2
This Python-based project utilizes the ccxt library and OctoBot library to detect potential triangular arbitrage opportunities in cryptocurrency markets.
Description
Triangular arbitrage is a process where you trade from one currency to another, and then to another, and finally back to the original currency. The goal is to exploit differences in prices between the three currencies to make a profit. For example, you could start with USD, buy BTC, then use the BTC to buy ETH, and finally sell the ETH for USD. If the prices are right, you could end up with more USD than you started with. This project provides a method to identify the best triangular arbitrage opportunity given a list of last prices for different cryptocurrency pairs. It's a simple and effective tool for anyone interested in cryptocurrency trading and arbitrage strategies.
Getting Started
Dependencies
- Python 3.10
Installing
pip3 install -r requirements.txt
Usage
Start detection by running:
python3 main.py
Example output on Binance:
-------------------------------------------
New 1.0354% binance opportunity:
1. sell WIN/BNB
2. sell BNB/BRL
3. buy WIN/BRL
-------------------------------------------
Help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file OctoBot-Triangular-Arbitrage-1.0.2.tar.gz
.
File metadata
- Download URL: OctoBot-Triangular-Arbitrage-1.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99b6ba1dc6f3892971034406d0027442869205f39858690d3ffb44aba1b5ec6e |
|
MD5 | 752814fab3228fe84586ed0a7db000f5 |
|
BLAKE2b-256 | d5471ed00cf78aa0b19c5987f5eef26b07e195f18ac7e6ff6beb9fc1e47dd6d0 |