// the find
hackingthemarkets/binance-tutorials
Real-Time Candlestick Charts and Crypto Trading Bot using Binance API and Websockets
Tutorial companion code for a YouTube series on building real-time candlestick charts and an RSI-based trading bot against the Binance API. Aimed at beginners wanting a working example to follow along with, not a production-ready trading framework.
The RSI bot in rsibot/bot.py is minimal enough to actually read in one sitting — good for understanding the websocket loop without fighting abstraction layers. The coinview app pairs a live chart with a backtester using the same CSV data, so you can see strategy logic and historical replay side by side. Keeping the two concerns (live bot, web chart) in separate directories makes it easy to pull just the piece you need.
Last commit was October 2022 and Binance has since restructured its API and deprecated several endpoints — there is a real chance this code is broken against the current API without modification. No order management, position sizing, or error recovery in the bot; it places market orders and hopes for the best. The config files store API keys as plain text constants, which is a bad habit to teach beginners. No tests of any kind, so the backtest logic in backtest.py is impossible to trust without manually verifying the math.