All Projects → bmino → Binance Triangle Arbitrage

bmino / Binance Triangle Arbitrage

Licence: mit
Detect in-market cryptocurrency arbitrage

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Binance Triangle Arbitrage

Crypto Trading Bot
Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, FTX, Bybit ... (public edition)
Stars: ✭ 1,089 (+136.74%)
Mutual labels:  cryptocurrency, binance, crypto
Cryptex
Gemini, GDAX, Bitfinex, Poloniex, Binance, Kraken, Cryptopia, Koinex, BitGrail and CoinMarketCap cryptocurrency exchange API clients in Swift / iOS SDK. Check prices and account balances using Sample iOS app.
Stars: ✭ 51 (-88.91%)
Mutual labels:  cryptocurrency, binance, crypto
Siis
Trading bot including terminal, for crypto and traditionals markets. Assisted or fully automated strategy.
Stars: ✭ 45 (-90.22%)
Mutual labels:  cryptocurrency, binance, crypto
Ccxt Rest
Open Source Unified REST API of 100+ Crypto Exchange Sites (18k+ docker pulls) - https://ccxt-rest.io/
Stars: ✭ 210 (-54.35%)
Mutual labels:  cryptocurrency, arbitrage, crypto
Cryptocurrency Portfolio
Google Sheets automatic creation with Google Apps Script (GAS) for managing a cryptocurrency tracking spreadsheet with multi exchanges
Stars: ✭ 134 (-70.87%)
Mutual labels:  cryptocurrency, binance, crypto
Ccxt.net
CCXT.NET – CryptoCurrency eXchange Trading Library for .NET
Stars: ✭ 89 (-80.65%)
Mutual labels:  cryptocurrency, arbitrage, crypto
Ccxt
A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
Stars: ✭ 22,501 (+4791.52%)
Mutual labels:  cryptocurrency, arbitrage, crypto
Kupi Terminal
Ccxt based, open source, customized, extendable trading platform that supports 130+ crypto exchanges.
Stars: ✭ 104 (-77.39%)
Mutual labels:  cryptocurrency, binance, crypto
Binance Trader
💰 Cryptocurrency Trading Bot for Binance (Experimental)
Stars: ✭ 2,128 (+362.61%)
Mutual labels:  cryptocurrency, binance, arbitrage
Cryptotrader
A cryptocurrency trader for all famous exchanges
Stars: ✭ 228 (-50.43%)
Mutual labels:  cryptocurrency, binance, arbitrage
Crypto Signal
Github.com/CryptoSignal - #1 Quant Trading & Technical Analysis Bot - 3,100+ stars, 900+ forks
Stars: ✭ 3,690 (+702.17%)
Mutual labels:  binance, crypto
hummingbot
Hummingbot is open source software that helps you build trading bots that run on any exchange or blockchain
Stars: ✭ 3,602 (+683.04%)
Mutual labels:  crypto, arbitrage
binance-chain-python
Binance chain SDK in Python
Stars: ✭ 22 (-95.22%)
Mutual labels:  crypto, binance
crypto-database
Database for crypto data, supporting several exchanges. Can be used for TA, bots, backtest, realtime trading, etc.
Stars: ✭ 72 (-84.35%)
Mutual labels:  crypto, binance
Celo Monorepo
Official repository for core projects comprising the Celo platform
Stars: ✭ 269 (-41.52%)
Mutual labels:  cryptocurrency, crypto
Binance Api Node
💹 A complete and heavily tested wrapper with typings for the Binance API.
Stars: ✭ 260 (-43.48%)
Mutual labels:  cryptocurrency, binance
Stocksharp
Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).
Stars: ✭ 4,601 (+900.22%)
Mutual labels:  cryptocurrency, crypto
Binance
A wrapper for the Binance REST and WebSocket APIs. Also beautifies responses
Stars: ✭ 304 (-33.91%)
Mutual labels:  cryptocurrency, binance
ccapi
A header-only C++ library for interacting with crypto exchanges. Binding for Python is provided. A spot market making application is also provided as an end-to-end solution for liquidity providers.
Stars: ✭ 227 (-50.65%)
Mutual labels:  crypto, arbitrage
Pycoingecko
Python wrapper for the CoinGecko API
Stars: ✭ 270 (-41.3%)
Mutual labels:  cryptocurrency, crypto

Binance Triangle Arbitrage

Main HUD display

This app monitors the Binance cryptocurrency exchange in search of triangle arbitrage opportunities.

The HUD

The HUD is the chart displayed above. It is repainted after each calculation cycle to show snapshots of currently detected arbitrage opportunities. To disable the HUD, set HUD.ENABLED to false.

Reading the HUD

  • Trade - Three symbols related by exchange rates that are involved in the triangle arbitrage.
  • Profit - Percent profit or loss from executing the triangle arbitrage. This includes trading fees specified via EXECUTION.FEE config.
  • AB Age - Time in milliseconds since the most recent update of the market ticker relating the first and second symbols in the arbitrage.
  • BC Age - Time in milliseconds since the most recent update of the market ticker relating the second and third symbols in the arbitrage.
  • CA Age - Time in milliseconds since the most recent update of the market ticker relating the third and first symbols in the arbitrage.
  • Age - Time in milliseconds since the least recently updated market ticker involved in the triangle arbitrage.

Getting Started

These instructions will get a copy of the project up and running on your local machine for development and testing purposes.

Install Prerequisites

The following dependencies are recommended to run an instance:

  1. NodeJS - 14.15.4
  2. Npm - 6.14.10

Obtain the Codebase

  • Clone from github
    git clone https://github.com/bmino/binance-triangle-arbitrage.git
    
  • Download a zip of the latest release

Configuration

All configuration is managed inside the /config directory. To setup your configuration for the first time, duplicate the config.json.example file and remove the ".example" extension. This process must be done before deploying the app for the first time and redone after each major version update where the configuration has changed. Explanations of each value can be found here.

Assumptions

  1. All fees are paid via BNB balance
  2. Sufficient quantity of BNB is maintained during the runtime of the bot

Deployment

  1. Install project dependencies

    cd binance-triangle-arbitrage
    npm install
    
  2. Start the application

    npm start
    

Execution Strategies

There are two supported methods of executing an identified triangle arbitrage opportunity. More details here

  • Linear - Execute three trades sequentially with each being initiated after the previous has completed
  • Parallel - Execute three trades asynchronously with each being initiated at the same time

Logging

All logs are stored in the /logs directory. The log level is set via the LOG.LEVEL configuration property.

  • performance.log - Data about performance and speed
  • execution.log - Market interactions and profits
  • binance.log - Binance api logging

Authors

See also the list of contributors who participated in this project.

Donations

The developers listed above created and maintain this project for free. I don't expect any compensation, but if you appreciate my work feel free to donate to the following addresses:

  • Ethereum (ERC20): 0xFd7b8597cF8eE5317439B0B5C55a111F6Eec449D

License

This project is licensed under mit

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].