Trading Copier

Trading Copier Thumbnail

Trading Copier Thumbnail

The Telegram Trading copier was a project built using Python, where trading signals were extracted from various Telegram channels using the Telegram API, and translated into real trades with a take profit and stop loss, sending the packet of information to a broker with an API call, making a market or limit order.

It then keeps track of every trade using an SQL database and decides the next correct state for each trade using a websocket of streaming tick data, processing information for every tick for all instruments that currently have a pending order or open position using REST and Streaming APIs. Includes over 10000 lines of code and upwards of 10 active Telegram channels.I’ve also built a framework for this project to backtest signals using 5s historical candle data.

This served as my introduction to computational finance and was pivotal towards reinforcing a test-driven development mindset. Real trades mean real wins, as well as real losses. Extensive testing saved a considerable amount of potentially lost money by catching bugs in the code.