tristanfaure.com /projects / copieur-mt5
Copieur MT5
Automated trade copier for MetaTrader 5
2025 · LIVE
Stack
Python · MetaTrader 5 API · Socket · Threading
Key figures
- Architecture
- Master/Slave
- Sync
- Real-time
- Language
- 100% Python
- Use Case
- Multi-account
A real-time trade copying system for MetaTrader 5 using a Master/Slave architecture. When the Master account opens, modifies, or closes a position, all connected Slave accounts mirror the action instantly.
The Master module (MASTER.py) monitors the trading account for position changes and broadcasts them. The Slave module (SLAVE.py) listens for incoming signals and replicates trades on its own MT5 account.
Built for professional multi-account trading setups where a single strategy needs to be executed across several accounts simultaneously without manual intervention.
Written entirely in Python, leveraging the MetaTrader 5 API for direct broker communication and socket programming for Master-Slave synchronization.
Links
All 33 projects · Open the interactive portfolio · About Tristan