GithubHelp home page GithubHelp logo

nbk1982 / triangular-arbitrage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cherecho/triangular-arbitrage

0.0 0.0 0.0 33 KB

A multi-threaded triangular arbitrage bot in python using the ccxt libraries to handle the binance api.

License: GNU General Public License v3.0

Python 100.00%

triangular-arbitrage's Introduction

Triangular-arbitrage

What Is Triangular Arbitrage?

Triangular arbitrage is the result of a discrepancy between three foreign currencies that occurs when the currency's exchange rates do not exactly match up. These opportunities are rare and traders who take advantage of them usually have advanced computer equipment and/or programs to automate the process.

Triangular-Arbitrage

Description of this script

This is a triangular arbitrage bot made entirely in python using the ccxt libraries to handle the binance api, It's an endless loop that scans opportunity for binance and executes the operations if found, multi-threaded and with a simple log that it save in a file.
The base money for this bot is ETH, while the exchange currency is BTC, as a result, there are two types of arbitrage:

  • Forward: passing first from ETH through the ALT to then be changed to BTC and back to ETH
  • Backward: passing first from ETH through BTC to then be changed to the selected ALT and back to ETH

Does this make money?

In theory yes, if there is any chance, but due to the fees it will be very difficult and I would even dare to say impossible to make any operation since the bot takes into account the binance fee.

Dependencies

  • ccxt

Requirements

TODO

  • Implement something that can alert you remotely like a Telegram Bot
  • Make the base currency eligible
  • Add more exchanges
  • Make base currency selectable

Disclaimer:

This bot is intended to be a Proof-of-concept. The developer will not be responsible for Any losses that are made are as a result of using this tool. Understand the risks involved and Only invest amounts you are willing to lose.

triangular-arbitrage's People

Contributors

cherecho avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.