Build a Real-Time Crypto Trading Bot in under 100 Lines of Code
474.6 هزار بار بازدید -
4 سال پیش
-
Like the video? Support my
Like the video? Support my content by checking out Interactive Brokers using the link below:
https://www.interactivebrokers.com/mk...
Buy Me a Drink: https://www.buymeacoffee.com/parttime...
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/...
https://www.interactivebrokers.com/mk...
Buy Me a Drink: https://www.buymeacoffee.com/parttime...
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/...
4 سال پیش
در تاریخ 1399/05/26 منتشر شده
است.
474,697
بـار بازدید شده