Michael0711 / threebody

比特币板砖系统-Bitcoin/Litecoin Arbitrage System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

threebody

What is it?

Threebody is a virtual currency trade system written by littlkfc. It supports almost all main trade platform including OkCoin, BTCChina, Huobi, BTC-e and Chbtc.

The system's trade strategy is very simple. If 'A' trade market's buy price is higher then 'B' trade market's sell price, it sell the coin at 'A' and buy the equal amount coin at 'B'.

How to use it?

It runs under python environment. Firstly, git clone it & fetch the related python library through pip.

git clone https://github.com/littlekfc/threebody.git
cd threebody
pip install -r requirements.txt

###Configures In config directory, there are two config file with init suffix, copy them & remove init suffix.

cp accounts.py.init accounts.py
cp constant.py.init constant.py

All accounts information is in accounts.py file, you need to config at least two trade platform. The trade control configure in in constant.py file. You can use the default settings at begining. ###Run

python threebody.py

###Monitor The log is created in current directory. You can tail it to monitor the status.

About

比特币板砖系统-Bitcoin/Litecoin Arbitrage System


Languages

Language:Python 98.7%Language:Shell 0.9%Language:HTML 0.4%