Skip to content

cronzevid/triarb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

triarb

This bot searches for triangular arbitrage opportunity at HITBTC exchange. An example: given BTC as arg, recursively searches for pairs like:

BTC -> other_cur; other_cur -> second_cur; second_cur -> BTC

In case of success, calculations on current prices are performed. Can be tuned with configurable profit percentage.

Requirements: go

Build: go build -o bits main.go

Usage:

Usage ./triarb: -a amount -c currency
  -a float
    	amount of currency to trade
  -c string
    	currency to trade, uppercase, abbreviation
  -infinite
    	loop over cur actual prices
  -listen
    	wait 'til first opportunity, then exit
  -m int
    	times the minimun price is added/substracted from buy/sell to make valuable offer (default 1)
  -t int
    	times/0.2sec pair should exist to pass to trade stage (default 5)
  -testing
    	set false to initiate trade (default true)
  -v	verbose mode

Also, put your API keys to hitbtc.go

Provides test and verbose modes.

About

Triangular arbitrage trading daemon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages