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

Part Time Larry

Like the video? Support my content by checking out Interactive Brokers using the link below:
https://www.interactivebrokers.com/mkt/?src=ptlPY1&url=%2Fen%2Findex.php%3Ff%3D1338

Buy Me a Drink: https://www.buymeacoffee.com/parttimelarry

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.

Source Code:

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