
Develop a Python-based crypto trading bot using Docker Compose, Telegram alerts, and open-source tools, covering algorithmic trading fundamentals, backtesting, strategy development, indicators, and live deployment.
Explore algorithmic trading, a code-driven method that automates buying and selling across assets using price, volume, time, backtesting, indicators, and the three-step process of idea, strategy, and algorithm.
Explore freqtrade, a free open-source Python crypto trading bot for automated, backtested trading with plotting, money management, risk controls, machine-learning strategy optimization, and Docker-enabled, telegram-enabled operation across major exchanges.
Identify the minimal hardware needs for the trading bot and leverage Docker, Docker Compose, and a cross-platform open-source code editor to simplify setup, portability, and development workflows.
Connect to the cloud with Google Drive by downloading Drive for desktop, installing it, and signing into your Google account to keep development documents well organized.
Install python from python.org by choosing the 32/64-bit installer for your OS and adding python to path. Verify by opening a terminal and typing python or python --version, then exit.
Install the development environment with Visual Studio Code, compare it to PyCharm’s free edition, install on Windows, and launch the editor to use its docker interpreter and main tools.
Install Telegram on your Windows desktop, link it to your phone via QR code, and enable automatic bot notifications for crypto trading alerts.
Explore how Docker uses containers to package applications with their libraries for consistent deployment. See how Docker Compose runs multi-container services from a single configuration across development and production.
Enable Hyper-V on Windows, install Docker Desktop for Windows, then restart to complete setup. If issues arise, consult the official Docker docs and verify Docker version and Docker Compose version.
Explore Visual Studio Code’s main functionalities, from explorer and version control to debugger and terminal, and learn to install extensions, use the command palette, and run your trading bot.
Install and configure freqtrade with Docker Compose, create a local development folder, pull images, and complete the initial bot configuration for paper trading on Binance.
Examine the Freqtrade bot structure, including docker compose and config.json, with folders for data, backtests, hyperopt, models for the freck plugin, plots, logs, notebooks, and strategies.
Connect your crypto bot to the Binance exchange by creating an API key and secret and pasting them into the bot's config. Connect the bot to Telegram.
Connect your crypto trading bot to Telegram to receive 24/7 trade notifications, monitor balance and status, and configure the bot via token and chat ID with Bot Father.
Set up a Python development environment using Docker, creating a devcontainer and connecting VS Code to a container-based Python interpreter for the trading bot.
Verify the crypto trading bot installation by testing docker container connections, telegram bot readiness, and the sample strategy in dry-run backtesting, using free-trade commands in VS Code.
Explore the config.json that drives the bot's global behavior, including max open trades, tradable balance ratio, currency, dry run, and switchable futures to spot trading with timeouts.
Backtest your trading strategy with historical data to evaluate feasibility before live trading, accounting for slippage, costs, and brokerage fees, while avoiding overfitting and seeking market inefficiencies such as arbitrage.
Identify market choices, timeframes, and risk preferences to build a solid foundation for strategy development; define entry and exit rules, stops, and take-profit, and compare backtesting with live trading.
Discover the key backtesting factors for crypto trading bots, including transaction costs, candle-based signals, stop-loss handling, and how to evaluate results for live markets.
download historical data for backtesting by running frectrade downloaddata in a docker-connected terminal, selecting Ethereum Bitcoin with a 1-hour interval for the last 5 days.
Execute a first backtest using USDt data and a one-hour interval, then analyze results to optimize your trading strategy. Assess drawdown and the benchmark to guide improvements.
Visualize backtest results by exporting trades, plotting a data frame with plotly, and exploring interactive charts of rsi, macd, volume, earnings, and drawdown to guide strategy development.
Algorithmic Trading is difficult, and even more so if you are trying to generate real and consistent profits. In this course you will learn everything you need to know to start developing and launching automated trading strategies, while making use of free and open source tools that will not only facilitate your development but also save you a lot of time and money.
Some of the topics you will be learning in this course:
✓ How to perform 100% automated trading in the cryptocurrency market (Bitcoin, Ethereum, Solana, etc ...)
✓ How to use the Freqtrade trading bot (free and open source)
✓ How to download and use historical data directly from the exchange
✓ How to develop and implement effective trading strategies
✓ The correct way to backtest your trading strategies
✓ How to interpret the results of an automated backtest
✓ Control your bot from anywhere using your phone
✓ How to test your strategy in a real live market, thus avoiding overfitting.
✓ How to use a high-end IDE for Python development
✓ Programming in Python language for the development of automated trading and investments.
✓ Visualization of financial data, trading indicators, and signals.
✓ and without a doubt, much more!
No previous experience in trading or programming is necessary. Here you will learn everything, including how to use the Python programming language for automated trading and investing.
See you on the other side!