Packt
Advanced Trading Bot on DYDX with AWS & Python

Débloquer l'accès à plus de 10 000 cours avec Coursera Plus

Ce cours n'est pas disponible en Français (France)

Nous sommes actuellement en train de le traduire dans plus de langues.
Packt

Advanced Trading Bot on DYDX with AWS & Python

Inclus avec Coursera Plus

Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Avancées

Expérience recommandée

1 semaine à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme
Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Avancées

Expérience recommandée

1 semaine à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme

Ce que vous apprendrez

  • Implement statistical arbitrage and cointegration strategies using Python and DYDX APIs.

  • Build and automate trading bot infrastructure with AWS EC2 and CRON.

  • Integrate Telegram messaging for real-time trading alerts and updates.

  • Apply effective position sizing, risk management, and trade automation techniques.

Compétences que vous acquerrez

  • Catégorie : Technical Analysis
  • Catégorie : Amazon Elastic Compute Cloud
  • Catégorie : DevOps
  • Catégorie : Application Deployment
  • Catégorie : Real Time Data

Détails à connaître

Certificat partageable

Ajouter à votre profil LinkedIn

Récemment mis à jour !

décembre 2025

Évaluations

11 devoirs

Enseigné en Anglais

Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées

 logos de Petrobras, TATA, Danone, Capgemini, P&G et L'Oreal

Il y a 10 modules dans ce cours

In this module, we will introduce you to the course and set the stage for your learning journey. You’ll understand what to expect, what not to expect, and the course structure. We’ll also show you how to connect with the community on Discord and explain how to manually trade on DYDX, offering valuable insights for creating your own advanced trading bot later in the course.

Inclus

6 vidéos1 lecture1 devoir

In this module, we will explore the key strategies used in pairs trading, starting with statistical arbitrage and cointegration to identify profitable trading pairs. You will learn how to apply the Z-Score for entry and exit points, calculate the hedge ratio to manage market risk, and understand the concept of half-life in mean-reverting strategies. Additionally, we’ll cover position sizing and risk management, ensuring you’re equipped to manage risk effectively while maximizing potential returns.

Inclus

5 vidéos1 devoir

In this module, we will take you through the technical setup needed to interact with the DYDX platform. From installing MetaMask and setting up the Alchemy HTTP provider, to securely accessing your DYDX credentials, you’ll be ready to programmatically trade on the platform. We’ll walk you through connecting to DYDX using Python and Colab, interpreting the API documentation, and retrieving crucial market data. By the end of this module, you'll know how to place and manage orders on DYDX using the platform’s private API.

Inclus

7 vidéos1 devoir

In this module, we will guide you through setting up your development environment for building the trading bot. You’ll learn how to configure VS Code and Python virtual environments, ensuring a clean and manageable workspace. We’ll also walk you through creating a GitHub repository for version control, and show you how to securely store sensitive information, like API keys, as environment variables to protect your data.

Inclus

3 vidéos1 devoir

In this module, we will guide you through the initial steps of building your trading bot. You'll begin by configuring the bot constants, followed by an overview of the plan for Stage 1. We will walk you through securely connecting your bot to the DYDX platform and then dive into developing the close all positions function, split across two parts. By the end of this stage, your bot will be able to connect to DYDX and manage open positions.

Inclus

5 vidéos1 devoir

In this module, we will dive into Stage 2 of building the trading bot. You'll begin by understanding the plan of attack for gathering and processing key data, such as ISO times and market prices. We’ll walk you through constructing market prices, followed by implementing cointegration functions to identify asset pairs that move together. Finally, we’ll guide you on how to store and manage cointegrated pairs data, ensuring your bot can make informed decisions based on this critical information.

Inclus

6 vidéos1 devoir

In this module, we’ll focus on the final stages of building your trading bot. You’ll start by initializing and completing the BotAgent class, which will allow your bot to interact with the trading platform and execute trades. We’ll guide you through setting up open trades, implementing trade triggers based on your trading strategy, and automating the execution process. Additionally, we’ll cover managing trade exits with various strategies to ensure effective risk management. Finally, you’ll build a test run to evaluate your bot’s performance before deploying it using Git for live trading.

Inclus

10 vidéos1 devoir

In this module, we’ll integrate Telegram messaging into your trading bot for real-time notifications. You’ll start by setting up a Telegram bot and learning how to send messages via URL for basic communication. We’ll then guide you through sending messages programmatically using Python for more flexibility. Finally, we’ll discuss the strategic placement of messages within your code and how to use GitHub for version control, ensuring smooth integration and collaboration for your project.

Inclus

4 vidéos1 devoir

In this module, we’ll walk you through the process of deploying your trading bot on AWS, starting with an overview of AWS and signing up for an account. You will learn how to launch an EC2 instance, create a security group for secure communication, and install Python. Once your bot is running on AWS, we’ll show you how to test, update, and iterate on your code. Finally, we’ll introduce CRON for automating your trading bot, ensuring that it runs continuously and autonomously in the cloud.

Inclus

8 vidéos1 devoir

In this final module, we will explore the next steps you can take to improve your trading bot. You’ll gain insights on enhancing its strategies, adding new features, and adjusting to dynamic market conditions. This video will serve as a guide for ongoing development, ensuring that your trading bot remains effective and optimized as you continue to evolve its performance over time.

Inclus

1 vidéo2 devoirs

Instructeur

Packt - Course Instructors
Packt
1 239 Cours296 477 apprenants

Offert par

Packt

En savoir plus sur Cloud Computing

Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?

Felipe M.
Étudiant(e) depuis 2018
’Pouvoir suivre des cours à mon rythme à été une expérience extraordinaire. Je peux apprendre chaque fois que mon emploi du temps me le permet et en fonction de mon humeur.’
Jennifer J.
Étudiant(e) depuis 2020
’J'ai directement appliqué les concepts et les compétences que j'ai appris de mes cours à un nouveau projet passionnant au travail.’
Larry W.
Étudiant(e) depuis 2021
’Lorsque j'ai besoin de cours sur des sujets que mon université ne propose pas, Coursera est l'un des meilleurs endroits où se rendre.’
Chaitanya A.
’Apprendre, ce n'est pas seulement s'améliorer dans son travail : c'est bien plus que cela. Coursera me permet d'apprendre sans limites.’
Coursera Plus

Ouvrez de nouvelles portes avec Coursera Plus

Accès illimité à 10,000+ cours de niveau international, projets pratiques et programmes de certification prêts à l'emploi - tous inclus dans votre abonnement.

Faites progresser votre carrière avec un diplôme en ligne

Obtenez un diplôme auprès d’universités de renommée mondiale - 100 % en ligne

Rejoignez plus de 3 400 entreprises mondiales qui ont choisi Coursera pour les affaires

Améliorez les compétences de vos employés pour exceller dans l’économie numérique

Foire Aux Questions