This project could help you do arbitrage trading between BitoPro and other mainstream cryptocurrency exchanges.
- Node.js above version 8.
- BitoPro account and the trading API key relative to the account.
- Other mainsteam account and the trading API key relative to the account, for example: Binance, okex.
Install dependencies with npm
npm install
Copy configuration template.
cp setting.json.example setting.json
Edit setting.json
file before launch the robot.
{
"vendorName": "binance",
"vendorAPIKey": "",
"vendorAPISecret": "",
"bitoproAPIKey": "",
"bitoproAPISecret": "",
"bitoproEmail": "",
"bitoproPair": "btc_usdt",
"vendorPair": "BTC/USDT",
"openOrderProfitPercentThreshold": 0.5,
"maxValuePerArbitrage": 50
}
vendorName
: We use ccxt to develop the project so that you can choose the exchange that ccxt support to trade between BitoPro and the vendor exchange.vendorAPIKey
: The API key that can trade on your vendor exchange.vendorAPISecret
: The API secret that can trade on your vendor exchange.bitoproAPIKey
: The API key that can trade on BitoPro.bitoproAPISecret
: The API secret that can trade on BitoPro.bitoproEmail
: The email account which is used to geneate thebitoproAPIKey
.bitoproPair
: The trading pair is listed on BitoPro. For example: btc_usdt, eth_usdt or btc_eth.vendorPair
: The trading pair is listed on the vendor exchange. It follows the ccxt rules.openOrderProfitPercentThreshold
: The target threshold in percentage to open orders. For example: If we set theopenOrderProfitPercentThreshold
to 0.5, the robot will open orders if and only if the arbitrage profit is over 0.5%.maxValuePerArbitrage
: The total value for each order. For example: When the target pair isBTC/USDT
and themaxValuePerArbitrage
is set to 1000 means the program will open orders with amount inBTC
unit that is approximately worth 1000 USDT for each order.
node index.js
// or
npm start
That's it. Hope the project will make you rich!