Swap between binance and kucoin. Using trading strategy like Arbitrage Between Different Markets: "By purchasing the underlying asset in Exchange A and selling it in Exchange B, traders can profit from price spreads."
The project is using binance and kucoin exchanges to create orders to buy and sell.
The inter exchange spread strategy is commonly known as "arbitrage".
When there is a price difference between the two exchanges for the same target, buy from Exchange A and sell on Exchange B to earn the price spread
The natural way to spin the story is to say that SKII(BTC) in Korea(KuCoin Exchange) is 1000 yuan, while domestic price(Huobi Exchange) is 1,800 yuan, and my freight cost(transaction fee) is 200 yuan. Then, I bought 10 SKII in Korea and sold them all in China. Excluding the cost, I can earn a total price spread (1800-1000) * 10-200 = 7800 yuan.
- Create order (buy/sell) in kucoin exchange;
- Create order (buy/sell) in binance exchange;
- Transfer currency kucoin -> binance;
- Transfer currency binance -> kucoin;
- Slack notification when happen any operation.
To contribute to the project, follow these steps:
- Clone the repository:
git clone [email protected]:rafaelbmateus/go-binance-bot.git
- Create a feature branch:
git switch -c feature-a
- Make changes and confirm (try using conventional commits):
git commit -m 'feat: new feature'
- Push the feature branch:
git push origin feature-a
- Create a pull request
- Get reviews from other users
- Merge to
main
branch (we encourage using commit squash) - Remove the branch merged.