Back to all projects
Trading automation
Multi-Account Copy Trader
TradingView alerts executed on many MT5 accounts
A copy-trading engine that executes a strategy's alerts on many traders' own MT5 accounts at the same time. Traders join through a Telegram bot; an admin approves them and a supervisor starts a dedicated MT5 terminal and worker for each one.
My roleBuilt the execution system, multi-user architecture, bot and deployment.
- Reconciliation loop every 250 ms, with three break-even triggers
- Exactly-once execution: dedup keys, outbox, one stream per account
- Every fill read back; a position missing its stop is repaired or closed
- Encrypted broker passwords and per-account isolation
- Python
- FastAPI
- SQLAlchemy
- PostgreSQL 16
- Redis 7 Streams
- python-telegram-bot
- MetaTrader 5
- Docker
- WireGuard
Client project. The client's name, data and private details stay confidential.