This project is designed to listen to the order books of various tokens from multiple exchanges, including BingX and MEXC. The system identifies arbitrage opportunities and sends alerts to Telegram, enabling users to act quickly on potential profit-making trades.
- Real-time monitoring of token order books from supported exchanges.
- Detection of arbitrage opportunities.
- Instant alerts sent to Telegram for timely actions.
- Easily extendable to monitor additional tokens and exchanges.
- BingX
- MEXC
- [Add more exchanges as needed]
- Node.js 18
-
Clone the repository:
git clone https://github.com/kiyoshi-work/cross-exchange-arb.git cd cross-exchange-arb
-
Install the required dependencies:
npm install
-
Set up your Telegram bot:
- Create a new bot using BotFather.
- Obtain your bot token and chat ID.
-
Configure the bot in your environment:
- Create a
.env
file in the root directory and add the following:TELEGRAM_TOKEN=your_bot_token TELEGRAM_GROUP_ID=your_group_id TELEGRAM_THREAD_ID=id_of_topic_in_group
- Create a
To start the order book listener and arbitrage alert system, run the following command:
node scripts/aitech.mjs
node scripts/myro.mjs
If you want to monitor more tokens, you can create a new file with a similar structure in the scripts
directory. Each new file should follow the same format as the existing token monitoring scripts.
- Add support for more exchanges.
- Implement monitoring for additional tokens.
This project is licensed under the MIT License - see the LICENSE file for details.