Build a Real-Time Crypto Trading Bot in under 100 Lines of Code

In this video, I show you how to use Python to receive cryptocurrency price data over websockets, how to apply TA-Lib indicators to completed candlesticks, and how to programmatically execute Ethereum orders based on these indicators using the python-binance package. As we have shown in previous videos, this is not a winning strategy. We have already backtested the RSI indicator on its own on short timeframes, and have discussed what can go wrong. In this video, we allow this trading bot to run overnight without knowing what will happen. We demonstrate that the results are essentially a coinflip — the first trade makes a quarter, and the second one loses it. Nonetheless, we successfully build an automated trading bot that uses websockets, TA-Lib, and the Binance API. We must iterate and tweak our strategy until we find a combination that works for our personal goals and timeframe.

If you like this video and want to support the channel:

Buy Me a Drink: https://www.buymeacoffee.com/parttimelarry
Sign up for Binance: https://www.binance.us/?ref=35201287

Source Code:

https://github.com/hackingthemarkets/binance-tutorials

You May Also Like