Level: Intermediate
Interactive Brokers offers the ability to trade, monitor and manage your IBKR account using a single RESTful API. This course will explore the API with code examples.
Lesson: #1
What is IBKR’s Client Portal API?
Hello, and welcome to this lesson the Interactive Brokers Client Portal API. In this lesson, we will be discussing what the Client Portal API is, why an individual may use it, and more
Lesson: #2
Launching and Authenticating the Gateway
In this lesson, we will be discussing how to download and run the client portal gateway. This will also discuss the requirements for the program, as well as discussing means to confirm authentication for the platform.
Lesson: #3
Contract Search
In this lesson, we will be discussing how contract information is requested from only knowing the contract’s symbol. Following this methodology, you will be able to make requests throughout the series for a variety of contracts using the contract ID. This will cover stock, future, options, and futures options discovery.
Lesson: #4
Requesting Market Data
We will be discussing how to market data in the Client Portal API. Here, we will be specifically focusing on retrieving live market data snapshots, as well as historical market data using Python and the requests library.
Lesson: #5
Placing Orders
We will discuss how to place a market, limit, and stop order in the Client Portal API. We will also be discussing how to confirm status messages in the event any precautions are triggered.
Lesson: #6
Request & Modify Orders
This lesson discusses how to retrieve active orders in the Client Portal API. We will also be using this endpoint to make order modifications, as well as cancelling an order.
Lesson: #7
Complex Orders
In this lesson, we will be discussing how to place more complex orders using the client portal API. This lesson will be largely predicated on our prior lesson, Placing Orders. We will be building on those fundamentals to discuss placing Bracket and Combo/Spread orders using the CPAPI.
Lesson: #8
Account Management
In this lesson, we will be discussing various account management tools in the Client Portal API. We will be primarily focusing on the use of account summary, along with viewing an accounts total position, as well as how to review an individual contract’s position information.
Lesson: #9
Market Scanners
This lesson will discuss market scanners in the client portal API. We will go into detail on requesting scanner parameters, how to review those parameter details, and then how to create a final market scanner request.
Lesson: #10
Websockets
In this lesson, we will focus on how to create a websocket for the client portal API. This will also describe how we can request market data and review live order information using this websocket.
Lesson: #11
Financial Advisor – Order Placement & Management
This lesson discusses the fundamentals mentioned in Lesson 5 & 7 and extrapolates on them for use by Financial Advisors. We discuss how order allocations are set, how orders are placed, and how a Financial Advisor may review their sub-accounts' information.