What Happens If You Build Your Own Trading Bot? I Tried It
I Built a Real-Time Paper Trading Bot (To Understand How Trading Systems Work and can i automate it) and it took me 3 weeks. so recently i wanted to understand how trading systems actually work beh...

Source: DEV Community
I Built a Real-Time Paper Trading Bot (To Understand How Trading Systems Work and can i automate it) and it took me 3 weeks. so recently i wanted to understand how trading systems actually work behind the scenes not just chartsβ¦ but like: β’ how data comes in β’ how decisions are made β’ how trades are executed so i ended up building a paper trading bot for BTC/USDT (no real money involved π
) what it does it connects to Binance WebSocket and gets live market data then on every 5-minute candle, it decides: β’ go LONG β’ go SHORT β’ or do nothing based on a simple strategy *the strategy *(kept it simple) i didnβt want anything too complex so i used: β’ EMA (50) β trend β’ RSI (14) β momentum entry logic: β’ LONG β price above EMA + RSI > 50 + green candle β’ SHORT β price below EMA + RSI < 50 + red candle entry happens exactly on candle close risk management (most important part) this was actually interesting to implement β’ only 1% risk per trade β’ stop loss based on structure (swing high/l