Coinbot is a cryptocurrency trading bot, which aims to manage accounts across all exchanges, and provide efficient view/trade/monitor/transfer operations, ALL IN ONE PLACE.
On top of these basic operations, we can conveniently build our own high level strategies, such as stop-limit order, batch buy/sell, hedging, and quantitative trading.
Being a cryptocurrency lover and technology enthusiast, I implemented this cute bot for researching and learning purpose (also for fun ^_^). Using it arbitrarily could be risky, and could potentially lose real money, so be vigilant!
If you are looking for a public library with more robust and comprehensive functionality, check ccxt out!
- view current exchange rate of any token pair in any exchange
- view quoted depths of any token pair in any exchange
- view any of your cryptocurrency balance in any exchange
- view your combined cryptocurrency balances in some/all exchanges
- calculate your fiat currency balance in any exchange
- calculate your combined fiat currency balances in some/all exchanges
- buy/sell any cryptocurrency in any exchange
- batch buy/sell cryptocurrencies in any exchange
- monitor price difference of any pair of tokens across some/all exchanges
- transfer your token from one exchange to another (highly risky! manual transfer recommended)
- interest arbitrage across some/all exchanges, with different strategies, such as "brick moving" (low efficiency) or hedging (high efficiency)
- quantitative trading in any exchange, with customized parameters
credit: some icons are from ccxt.
in root folder create a keys.json
with format:
{
"coinbase": {
"key": "",
"secret": "",
"pass": ""
},
"bittrex": {
"key": "",
"secret": ""
},
"binance": {
"key": "",
"secret": ""
},
"gate": {
"key": "",
"secret": ""
},
"bithumb": {
"key": "",
"secret": ""
},
"huobi": {
"key": "",
"secret": ""
}
}
make install
-
get USD balance in all exchanges
make
-
get detailed tokens and USD balances in all exchanges
make full
-
start to monitor price difference
make diff
-
start the command line interface
make run
-
other functionalities
Makefile only wrapped some most commonly used operations, for other functionalities we can modify the code and call them directly!