Skip to content

A short script for finding triangle arbitrage opportunities in Binance.

License

Notifications You must be signed in to change notification settings

dgokcin/binance-triangle-arbitrage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binance-triangle-arbitrage

A short script for finding triangle arbitrage opportunities in Binance , which is heavily inspired from this gist.

Requirements

  • Docker

Usage

  • You can set the primary coins by modifying primary.txt. It should look something like:
XRP
OMG
BTC
BNB
USDT
ETH
  • After adjusting your primary coins, run the following command
docker run -v "$(pwd)"/primary.txt:/app/primary.txt \
-e PUBLIC_KEY=<YOUR_PUBLIC_API_KEY> \
-e SECRET_KEY=<YOUR_SECRET_API_KEY> \
denizgokcin/binance-triangle-arbitrage:latest
  • If you want to build the container, you can build it with:
docker build -t binance .
  • The output should look something similar to:
Downloaded in: 3.2185s
Computed in: 0.0379s
BTC->WAN->ETH->BTC          0.0112% <- profit!
     WAN  / BTC :    30618.49357012
     ETH  / WAN :        0.00094900
     BTC  / ETH :        0.03427000

About

A short script for finding triangle arbitrage opportunities in Binance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published