WORK IN PROGRESS - so it's not working yet.
Hobby project to learn Go and see if bitcoin arbitrage trading is any good.
Feel free to use, but at your own risk :-)
Arbitrage trading (Wikipedia) is profiting from price differences between markets by simultaneously buying from one market and selling in an other market.
The concept is very simple: say you could buy 1 BTC at Kraken for 100$ and sell 1 BTC at Bitfinex for 110$ at the same time. You'd still have the same number of BTCs, however you're left with 10$ more after the trade (not considering trading fees).
There is a catch though: you couldn't first buy 1 BTC at Kraken, transfer the BTC to Bitfinex, and then sell it again. The transfer is not instant and by the time you transferred the BTC and sell at Bitfinex the arbitrage opportunity is most likely gone. So to make an almost instant trade like in the example, you'd need dollars in your Kraken account and BTCs in your Bitfinex account to make two transfers simultaneously.
A more precise calculation for the example above:
The engine can run in 3 modes:
- Dry mode Connect to the exchanges and use your own account data, but only logging and not performing transactions.
- Demo mode An extension of the dry mode. The engine is started with fixed balances so you don't need anything on the exchanges to run the engine.
- Production mode