Pairs-trading strategy from scratch in Python

Algo-trading with Saleh · Beginner ·🧒 Coding for Kids ·1y ago

About this lesson

In this video, I will explain what a pairs trading strategy is. I will demonstrate it in a Jupyter notebook and then write the code in Python using the Jesse framework so we can run some backtests. This is the main strategy of Edward Thorpe, the legendary trader who beat the casino by inventing card counting and later beat the stock market using statistical arbitrage, which is a type of pairs trading strategy. 👉 Source code: https://github.com/jesse-ai/pairs-trading-strategy 👉 Jesse framework: https://jesse.trade 👉 Our discord: https://jesse.trade/discord 👉 Apex Omni: https://jesse.trade/apex Timestamps: 00:50 Intro 02:36 Pairs trading example in crypto 15:05 Jupyter Notebooks 35:00 Ending 35:43 Giveaway winner

Original Description

In this video, I will explain what a pairs trading strategy is. I will demonstrate it in a Jupyter notebook and then write the code in Python using the Jesse framework so we can run some backtests. This is the main strategy of Edward Thorpe, the legendary trader who beat the casino by inventing card counting and later beat the stock market using statistical arbitrage, which is a type of pairs trading strategy. 👉 Source code: https://github.com/jesse-ai/pairs-trading-strategy 👉 Jesse framework: https://jesse.trade 👉 Our discord: https://jesse.trade/discord 👉 Apex Omni: https://jesse.trade/apex Timestamps: 00:50 Intro 02:36 Pairs trading example in crypto 15:05 Jupyter Notebooks 35:00 Ending 35:43 Giveaway winner
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
Computer Applications for Primary School Children: A Fun + Safe Guide for Ages 6-12
Learn how to introduce primary school children to computer applications in a fun and safe way, teaching them essential skills for the future.
Dev.to · Ogunkola Adeola
📰
From 0 to 20 Chapters: My Story‑Driven Rust Book for Kids Now Has a Bilingual Interactive Demo
Create an interactive coding book for kids using Rust, with a focus on storytelling and bilingual support, to teach programming concepts in an engaging way
Dev.to · born1987-ir
📰
How Kids Can Build Fighting Games Stickman in Scratch
Kids can learn coding by building a stickman fighting game in Scratch, developing skills like movement control and collision detection.
Medium · Programming
📰
Coding Platform for Kids: A Simple Guide to Start Learning Programming
Learn how to introduce kids to coding with a simple guide to get them started with programming
Dev.to · Coding Learning Lab

Chapters (5)

0:50 Intro
2:36 Pairs trading example in crypto
15:05 Jupyter Notebooks
35:00 Ending
35:43 Giveaway winner
Up next
Man Builds a Backyard Tiny House and Turns It into a Home Office | Start to Finish by @Elseweyr
AKLA GELEN
Watch →