Packt

Advanced Trading Bot on DYDX with AWS & Python

即将结束: 只需 199 美元(原价 399 美元)即可通过 Coursera Plus 学习新技能。立即节省

Packt

Advanced Trading Bot on DYDX with AWS & Python

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
高级设置 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
高级设置 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • 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.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

December 2025

作业

11 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有10个模块

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.

涵盖的内容

6个视频1篇阅读材料1个作业

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.

涵盖的内容

5个视频1个作业

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.

涵盖的内容

7个视频1个作业

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.

涵盖的内容

3个视频1个作业

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.

涵盖的内容

5个视频1个作业

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.

涵盖的内容

6个视频1个作业

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.

涵盖的内容

10个视频1个作业

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.

涵盖的内容

4个视频1个作业

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.

涵盖的内容

8个视频1个作业

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.

涵盖的内容

1个视频2个作业

位教师

Packt - Course Instructors
Packt
1,365 门课程 356,188 名学生

提供方

Packt

从 Cloud Computing 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'

常见问题