Access Restricted
This course material is protected. To view this content, please use the unique secure link sent to your email address after purchase.
Buy Course Here →If you believe this is an error, please contact support.
How to Connect RealTest, OrderClerk, and IBKR
This module shows you how to connect your RealTest strategies to Interactive Brokers using OrderClerk, so your strategy-generated orders can be executed consistently and safely.
1. Install the Tools (One-Time Setup)
Install OrderClerk
Download it from the RealTest forum → install (create an account if you don’t have one).
RealTest Forum →Install IBKR Trading Workstation (TWS)
OrderClerk communicates with TWS directly, so it must be installed.
Download TWS →2. Configure IBKR Demo
If something goes wrong, you want it to happen here - not on real capital.
Basic Setup
- Open TWS.
- Enable Use/Store Settings on Server.
- Log In.
API Settings
Global Configuration → API → Settings
Precautions
If this is off, IBKR may block orders generated by RealTest/OrderClerk.
3. Link Your Strategy to OrderClerk
This is where RealTest and OrderClerk become a single workflow.
Step 1 - Create a Dedicated Strategy Folder
In RealTest:
- Open your strategy.
- Copy it into a new script file.
- Save that file inside your OrderClerk folder, in a new subfolder for this strategy.
Step 2 - Add Required Code to Your Strategy
4. Daily Workflow
Step 1 - Open IBKR (Demo or Live)
- Make sure Trade History is open
- Confirm it shows Last 7 Days
Step 2 - Update Your Market Data
Open Norgate → Check for Updates.
Open OrderClerk → Click "Connect To IB".
Step 3 - Generate the Day’s Orders in RealTest
Step 4 - Execute Orders Through OrderClerk
Orders now appear in TWS. You’re done.