Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Full Stack IBKR API - TradingView Chart Integration - Part 1

Part Time Larry via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build a comprehensive full-stack trading application by integrating Interactive Brokers API with TradingView Lightweight Charts in this 26-minute tutorial. Explore the complete development process from backend FastAPI implementation to frontend chart rendering, covering essential components like real-time data streaming through Server-Sent Events, web-based market scanning functionality, and TradingView webhook integration. Master the project structure and dependencies while implementing FastAPI lifespan events, dependency injection for maintaining single IBKR connections, and creating robust backend endpoints for chart data. Discover how to build responsive frontend templates and establish efficient data flow between frontend and backend systems. Follow along with practical demonstrations of the dashboard interface, real-time chart updates, market scanner capabilities, webhook processing, and trade logging features. Gain hands-on experience with Python package management, directory structure organization, and server deployment while understanding the complete data pipeline from raw IBKR historical data to rendered chart visualizations.

Syllabus

0:00 Recap of command-line IBKR scripts
0:36 Dashboard with TradingView Lightweight Charts
1:44 Demo: Lightweight Charts IBKR Integration
2:05 Subscribing to SSE and Streaming Updates
2:24 Demo: Web-based Market Scanner
3:31 Demo: TradingView webhooks integration
5:07 Demo: Trade Log screen
6:20 Starting out, getting the code
6:53 Prerequisites, supporting the channel
7:50 Project files / directory structure
9:05 Python packages, requirements, dependencies
10:58 Creating the directories / files
11:57 FastAPI Lifespan Events
13:30 FastAPI main.py code walkthrough
15:21 Dependency injection, single IBKR connection
16:23 Charts router walkthrough, backend endpoints
19:28 Frontend templates, layout, index
21:33 Running the server
22:05 Data flow from frontend to backend
23:35 Raw data from history endpoint
24:17 Rendering datapoints on LightWeight Charts
25:24 Wrapping Up, What’s Next?

Taught by

Part Time Larry

Reviews

Start your review of Full Stack IBKR API - TradingView Chart Integration - Part 1

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.