
Install Python, PyCharm, Trader Workstation, Gateway, and the IB API; verify Python version compatibility; set up samples and connect the gateway to your Python script.
Learn to set up Interactive Brokers accounts, configure market data subscriptions, and add users for live, demo, or paper trading.
Learn to inherit the wrapper and client classes from the Interactive Brokers API and build a main class to connect, receive tick data, and place requests.
Learn to define and complete Interactive Brokers contracts using an object oriented Python API, including stock, forex, index, futures, and option contracts, with contract details handling and reconciliation.
Learn to create contracts and fetch option chain information. Use an incomplete option contract to retrieve all rights and strikes for a trade date, then print the chain.
Explore requesting market data with the Interactive Brokers Python API, compare snapshot and streaming data, and design a price information class for tick types.
Learn to request market data, handle market data callbacks, and store results in a price information class for live or snapshot data in the Python API.
Learn to stream market data from the API by subscribing to price updates for a contract, manage data types, and print price information.
Learn to request and receive historical market data using the report class, storing bars by request ID and using end dates, durations, and bar sizes with bar data types.
demonstrates using the get historical market data function to fetch euro/usd data with a five-minute bar size and midpoint pricing, and formats dates for open prices.
Learn to define and place various order types, including market and limit orders, and attach stop loss and take profit brackets to ensure synchronized executions.
Place orders on a contract via the API using the place order function with the order, contract, and action, while managing unique order IDs with next valid order ID requests.
Place and manage orders with the Interactive Brokers Python API by creating market, limit, and bracket orders, tracking status via order information, and applying time conditioning.
Implement profit and loss tracking for open positions using the Interactive Brokers Python API: fetch positions, request profit and loss updates, store results by contract, and print a daily total.
Program and automate your trading strategy by interfacing with the Interactive Brokers API, building a client and upper class, and enabling daily auto restarts to keep the gateway running 24/7.
Have you perfected your trading strategy and are you now ready to take the next step and have your strategy automatically trading without your intervention? Or are you interested in automatically testing new strategies on a paper trading account with fictional money? Whichever is the case, this course will help you achieve your trading goals, from setting up a paper trading account to fully automatically placing orders according to your strategy.
The course is divided up into multiple parts, each explaining a different topic. We will start by installing all the necessary software, then we will go over all the different account types and settings you need for automating your strategy. When all the software is installed, we will move on to writing an interface for the interactive brokers api. This interface will be the basis for your trading application and it will contain general functions to interact with the API. You will then later be able to use these functions and classes yourself to automate your own strategy. Towards the end of the course we will write an example application that trades the EUR USD forex pair according to the moving average indicator. I will show you how to set up the script to run 24/7. Each part of the course will contain multiple videos where I write code while explaining what everything does. And every part of the course will include the python file we made in the video so that you can experiment with the code yourself. The code will be written according to the PEP8 style guidelines and will be object oriented so everything is easy to understand and flexible to use.