Copy trading system
Bot repeating transactions of selected traders on the user's account in real time
01 Task
The client needed to copy transactions of successful traders automatically. It is physically impossible to do this by hand due to the frequency of trades. While you switch between tabs and repeat the transaction after the trader, the entry point is already gone, and with it the potential profit
02 Solution
I wrote a bot in Python that monitors source transactions in real time and instantly mirrors them to the client’s account. The bot itself recalculates the volume according to the size of the deposit and maintains risk limits, so transactions are safely scaled to any account. I packaged everything in Docker to deploy the bot on the server with one command and keep it running around the clock, without manual intervention
03 Solved tasks
- Wrote a bot in Python that mirrors the leader's transactions in real time
- Implemented instant repeat trades without losing the entry point
- Implemented recalculation of the position volume to the size of the client’s account
- Introduced risk limit control when scaling to any deposit
- Packed the bot in Docker for round-the-clock work on the server
04 Result
Trades are copied without manual entry delays and without missed entries. The bot lives in a container on the server and works on its own, without supervision. In the first month, he brought the client $6,000 in profit on a well-chosen leader