Python API for Trading

How to trade and view market data using the Python TWS API.

Installing & Configuring TWS for the API, Receiving Market Data and Historical Candlesticks, Placing Orders, Option Chains, Accessing Portfolio Data

Requirements

  • Windows, Linux, or Mac OSX computer with GUI and Python 3.3 or higher installed.
  • Familiarity with Python programming
  • The TWS API utilizes socket programming, multiple threads, and other concepts which it is recommended to be familiar with beforehand. If not, it is suggested to first try an Introduction to Python course which covers these topics.

Description

This is a course in programming with the Trader Workstation Application Programming Interface (TWS API) for Python developers. In this course, we describe how to get started in developing Python applications that use the API. 

Josh joined the IBKR API team in 2015 and has been an active contributor to API educational resources including the TWS API reference guide and webinars. Before joining the team, he was an automated trading enthusiast interested in trading APIs and machine learning technologies. Josh has a BS in Computer Science from Carnegie Mellon University.

Lesson Structure:

  • What is the TWS API?
  • Installing & Configuring TWS for the API
  • Accessing the TWS Python API Source Code
  • Essential components of TWS API programs
  • Receiving Market Data and Historical Candlesticks
  • Placing Orders
  • Option Chains, Portfolio Data and Account Information
  • API Case Study in Pair Trades

Who this course is for:

  • Python programmers who want to learn about the Trader Workstation API.

Course content

Learn Python: Build a Virtual Assistant

Be able to create a virtual assistant

Learn the intermediate structure of popular APIs

Become proficient in intermediate python

Requirements

  • Basic knowledge of programming
  • Competence in the English language
  • Be able to code in basic python

Description

In Learn Python: Build a Virtual Assistant In Python, you will go from beginner to intermediate level the fun way; creating a real-world application! In this course, I will teach you how to create and set up a virtual assistant for your computer. We will learn how to get data from Wikipedia and Wolfram Alpha, as well as create a GUI. After that, I will regularly release new videos on other optional things that you could add to our application.

This course will help you add something fun to your portfolio and give you good practice for using python. This course is especially good for beginner hobbyists who want to learn how to use various APIs and how to apply them.

Students who enroll will be able to create a real-world, personalized application for your personal use.

Who this course is for:

  • This course is meant for beginners who have a basic knowledge of how programming works
  • This course is designed to help people gain a basis in python and the many capabilities of many of its APis
  • This course is not meant for complete beginners to basic programming

Course content