**Technical task for the development of an arbitration system controlled via Telegram**
### **Brief description**
An automated system needs to be created for arbitrage between cryptocurrency exchanges (MEXC, Gate.io), which:
1. Analyzes signals from the Telegram channel and opens/closes positions on the exchanges.
2. Allows managing settings (proxy, stakes, accounts) via a Telegram bot.
3. Operates on a cloud service (for example, AWS) without the need for a constant connection to a local PC.
**Deadline**: 5-7 days.
**Budget**: Negotiable (please specify in your response).
---
### **Main requirements**
#### **1. Integration with Telegram**
- The bot must read messages from the channel in real-time (delay ≤ 2 sec).
- Signal format:
- Opening: `Suggested action: open`.
- Closing: `Suggested action: close`.
- Implement an admin bot to manage the system via commands:
- Update proxy
- Change stake amount
- Add account
- View configuration
#### **2. Working with exchanges**
- Connect to MEXC API (short/spot) and Gate.io (spot).
- Ability to work simultaneously with 5+ accounts on each exchange.
- Each account uses a unique proxy (HTTP/Socks5).
- Opening/closing positions must occur within 3-5 sec after the signal.
#### **3. Cloud deployment**
- Deploy the system on AWS EC2 or similar services.
- Use Docker for containerization.
#### **4. Security**
- API keys, proxies, and configuration are stored encrypted (AES-256).
- Access to admin commands is only for authorized users (Telegram ID verification).
#### **5. Logging and reporting**
- Log all actions (opening/closing orders, errors).
- Notifications about critical errors in Telegram.
---
### **Technical stack**
- **Language**: Python (libraries `ccxt`, `python-telegram-bot`, `requests`).
- **Database**: SQLite (for storing configurations, proxies).
- **Proxy**: Use of public/private proxy services.
---
### **Acceptance criteria**
1. The system correctly opens/closes positions on MEXC and Gate.io within 5 sec.
2. Changes in proxies/stakes are applied via the Telegram bot without restarting the system.
3. All confidential data is encrypted.
4. Logs are available for analysis.
---
### **Additionally**
- The programmer should have experience working with cryptocurrency exchange APIs, Telegram bots, and proxies.
- Preference is given to ready-made solutions or templates to speed up development.
---
**Ready to start? Write your budget and deadlines!**