Featured

How To Build a Simple Cryptocurrency Trading Bot with Python and the Binance API



Published
Hi everyone,
I made some simplifications and further amendments to the already covered trading bot on the Slow / Fast SMA holding strategy. Let me know what you think in the comments below :-)
Thx a lot for watching.

Get the Notebook/Source code by becoming a Tier-2 Channel member:
https://www.youtube.com/channel/UC87aeHqMrlR6ED0w2SVi5nw/join

Disclaimer: This video is not an investment advice and is for educational and entertainment purposes only! Cryptocurrency and automated trading is bearing a high amount of risk which might result in a total loss of your invested capital.

If you want to support me you can register for Binance with this link, but don't feel forced to:
https://www.binance.com/en/register?ref=17165515

Mentioned video in the very beginning:
https://youtu.be/PYW4AIMEvsU

Note: In the very beginning I am referring to changes in the csv file. While recording I have actually considered it to be way more easy to directly change the dataframe. You can still work with a changing csv file with 2 amendments: Pulling the csv file before looping over the selling and buying conditions. Change the changepos function and add a to_csv function (as in the linked video).

Set up Binance API video:
https://youtu.be/_IV1qfSPPwI

Backtesting Crypto strategies:
https://youtu.be/HB1CLz0Z1NY

Backtesting SMAs in general (including finding best pairs):
https://youtu.be/vWVZxiaaTCs

Video on deployment on the Google Cloud Platform (GCP):
https://youtu.be/mDNIAkEZChg

Also please check out my cryptobot playlist, there is a lot more stuff to check out if you are interested in those kinds of topics:
https://youtube.com/playlist?list=PL9ATnizYJ7f8_opOpLnekEZNsNVUVbCZN

['BTCUSDT','ETHUSDT','LUNAUSDT','SOLUSDT','UNIUSDT','AVAXUSDT','QNTUSDT','BNBUSDT','GALAUSDT','XRPUSDT','SHIBUSDT','ENJUSDT','DOTUSDT','SANDUSDT','DOGEUSDT','VETUSDT','NEARUSDT','ONEUSDT','XLMUSDT','MANAUSDT','TRXUSDT','XTZUSDT','BCHUSDT','FILUSDT','ATOMUSDT','KLAYUSDT','AAVEUSDT','HNTUSDT','EGLDUSDT','ADAUSDT','LINKUSDT','MATICUSDT','EOSUSDT','THETAUSDT','LTCUSDT','NEOUSDT','ETCUSDT','XMRUSDT','TFUELUSDT','FTMUSDT','ALGOUSDT','HBARUSDT','FTTUSDT','MKRUSDT','AXSUSDT','GRTUSDT','CAKEUSDT','ICPUSDT','FLOWUSDT','XECUSDT']

00:00 - 00:50 Infrastructure of the bot (please read Note in the description)
00:50 - 04:11 Going over some Trades on Binance
04:11 - 04:56 Prerequisites / Disclaimer
04:56 - 07:31 Setting up initial csv file/ dataframe
07:31 - 08:05 Libraries / Set up
08:05 - 10:10 Pulling historical price data
10:10 - 11:45 Technical indicator / SMA calculation and check
11:45 - 15:16 Function changing positions in case of buy / sell
15:16 - 22:15 Trading logic
22:15 - 24:34 Running the bot / Hints on deployment

#Python #Tradingbot #Crypto #Binance
Category
Cryptocurrencies
Be the first to comment