Cryptocurrency Trading Bot with a User Interface in Python

Automate Your Crypto Trading Strategies on Binance & Bitmex with Python and Create Your Own Trading Dashboard (GUI)
Cryptocurrency Trading Bot with a User Interface in Python
File Size :
154.61 MB
Total length :
10h 3m



Vincent Carmier


Last update




Cryptocurrency Trading Bot with a User Interface in Python

What you’ll learn

How to Code a trading bot / Automate a trading strategy
How to Connect to crypto exchange APIs in general
How to Design a graphical user interface (GUI) in Python
Improve your Python skills and good practices with a real-world project
Learn to use a REST and Websocket API

Cryptocurrency Trading Bot with a User Interface in Python


Basic Python knowledge (know what a class/object is, dictionaries, lists, functions, loops, etc.)
Basic knowledge about crypto trading (bid/ask price, limit/market order)


Take your trading ideas to code and make them more efficient by automating them like a pro!This course will guide you through all the steps required to write a program in Python for algorithmic trading, using the best coding practices. It is a perfect example of the “learning by doing” pedagogy: instead of learning only theoretical concepts, you will learn important concepts whilst creating a real trading application, from API connections to trade management.Keep control over your trading robot with an interfaceA trading program can automate your strategy, but that’s not all: you can also use it as a trading assistant by building a user interface (UI) that will help you follow your trades and market data. This course will give you an understanding on how to develop a solid Tkinter interface and integrate it with the trading automation part.Interact with the crypto exchange servers without an intermediaryMany platforms propose to write simplified code to automate your strategy and handle most of the interaction with an exchange API in the background. It doesn’t give you the freedom you may need, it prevents you from building very developed programs, and their service- of course- isn’t easy on the wallet.This course will teach you how to interact with an exchange API without an intermediary- giving you control of everything. It will also give you the power to improve your programming knowledge, which you can re-use for other projects.Learn with the Binance Futures and Bitmex APIsBinance and Bitmex are two of the most popular crypto exchanges in the world, they provide awesome automation possibilities and are great for beginners. You can then apply what you have learned to your Binance Spot/Margin account or other exchanges.Both Binance and Bitmex have testing environments, including their API, which is a great way to learn!


Section 1: Introduction & Initial Setup

Lecture 1 Course Overview

Lecture 2 Installing Python

Lecture 3 Installing and Using Pycharm

Lecture 4 Creating your API Keys (mandatory)

Lecture 5 Frequently Asked Questions (FAQ)

Lecture 6 Stuck during the course? Check here

Section 2: Application Entry Point & Interface / API basics

Lecture 7 Creating an Entry Point | Logger | Main window

Lecture 8 Interacting with a public API

Lecture 9 Displaying API data on an interface

Lecture 10 Introduction to widget styling

Section 3: API Connectors : Learn with Binance Futures

Lecture 11 Binance Futures – REST API (Public endpoints coding)

Lecture 12 Binance Futures – REST API (Public endpoints testing)

Lecture 13 Binance Futures – REST API (Private endpoints)

Lecture 14 Binance Futures – Websocket API

Lecture 15 Binance Futures – Improvements: Data Models & Variable Typing

Lecture 16 Binance Futures – Improvements: Error Handling & Private variables/methods

Lecture 17 Subscribing to more Websocket channels

Section 4: API Connectors : Apply your knowledge with Bitmex

Lecture 18 Exercise: Creating a basic Bitmex connector

Lecture 19 Bitmex – REST API & Authentication

Lecture 20 Bitmex – REST API: Adding more functions

Lecture 21 Bitmex – Websocket API

Lecture 22 Convert a date-time string to an Unix Timestamp

Lecture 23 Solving the problem of the order price and quantity rounding

Section 5: Build Up the Interface

Lecture 24 Parent Component & Interface organization

Lecture 25 Logging Component

Lecture 26 Updating the User Interface safely

Lecture 27 Watchlist Component: Structuring the Class

Lecture 28 Watchlist Component: Adding a Symbol

Lecture 29 Watchlist Component: Removing a symbol

Lecture 30 Watchlist Component: Updating the Watchlist

Lecture 31 Exercise: Creating the Trades Component

Lecture 32 Trades Component

Lecture 33 Strategy Component: Initialization

Lecture 34 Strategy Component: Adding a new strategy

Lecture 35 Strategy Component: Deleting a strategy

Lecture 36 Strategy Component: Configuring additional parameters

Lecture 37 Strategy Component: Validating the additional parameters

Lecture 38 Strategy Component: Switching the strategy On/Off

Lecture 39 Source Code

Section 6: Strategies and Trading

Lecture 40 Using classes to organize the strategy module

Lecture 41 Candlestick data: Parsing trades data

Lecture 42 Candlestick data: Updating the list of candlestick data

Lecture 43 Coding the Breakout Strategy

Lecture 44 Calculating the Technical Strategy indicators

Lecture 45 Adding more conditions for entering a Trade or not

Lecture 46 Calculating the trade size on Binance and Bitmex

Lecture 47 Trade Execution

Lecture 48 Displaying the PNL and Trade in the interface

Lecture 49 Take Profit, Stop Loss, and Trade exits

Lecture 50 Source Code

Section 7: Enhance the Application with more features

Lecture 51 Mac Users: Customize the Tkinter Buttons

Lecture 52 Data Entry validation

Lecture 53 Auto-complete Entry widgets

Lecture 54 Adding scrollable frames: the basics

Lecture 55 Adding scrollable frames: a more complex case

Lecture 56 Closing the application

Lecture 57 Starting the application outside of Pycharm

Lecture 58 Creating an SQLite database

Lecture 59 Saving your workspace to the database

Lecture 60 Creating a requirements.txt file

Lecture 61 Integrating Binance Spot

Lecture 62 Binance Spot Tesnet: Generating API keys

Lecture 63 Handling the Binance Spot Websocket limitations / Resubscribe to the channels

Section 8: Conclusion

Lecture 64 Final words and advice

Lecture 65 Source Code with Comments

Traders wishing to automate their strategies,Python developers wanting an introduction to trading bots,Developers wanting an introduction to GUI programming in Python,Python beginners who want to learn about GUI programming and API connections with a real-world project,Binance and Bitmex users who want to create their own trading tools

Course Information:

Udemy | English | 10h 3m | 154.61 MB
Created by: Vincent Carmier

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top