Completed
0:00 Overview
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Opening Range Breakout in Python with Interactive Brokers and ib_async
Automatically move to the next video in the Classroom when playback concludes
- 1 0:00 Overview
- 2 0:32 Where we left off
- 3 1:25 What we’ll be adding
- 4 2:41 Where you can get the code
- 5 3:03 IBKR link that supports the channel
- 6 3:24 Fetch opening range bars for 9:30-9:45, multiple symbols
- 7 7:09 Calculating opening range from bar data
- 8 12:05 Monitor breakout coroutine
- 9 13:52 Request real-time 5 second bars
- 10 15:03 Registering an on_bar callback function
- 11 17:01 Running the monitor coroutines
- 12 18:51 Determining when price crosses above the opening range
- 13 24:39 Adding a breakout handler when a condition occurs
- 14 25:42 Handler function 1: Logging to a file
- 15 26:16 Handler function 2: Placing an order
- 16 28:23 Calling the handlers
- 17 31:06 Confirming order fills in paper trading account
- 18 31:47 Other considerations, scheduling, delays
- 19 33:34 Wrapping Up