Install Intellect FinLab in Minutes
One command installs everything. The whole system runs inside Docker — no configuration, no dev tools, same on every machine.
Intellect FinLab runs as a Docker container on your local machine. It connects to Interactive Brokers Trader Workstation (TWS), which must be open and running on the same machine.
| Requirement | Mac | Windows |
|---|---|---|
| Operating System | macOS 12 (Monterey) or newer | Windows 10 or 11 (64-bit) |
| RAM | 4 GB minimum · 8 GB recommended | 4 GB minimum · 8 GB recommended |
| Disk space | 3 GB free (image + data) | 3 GB free (image + data) |
| Docker Desktop | Required — free download | Required — free download |
| IBKR TWS | Must be installed and running | Must be installed and running |
| Internet | Required for initial install only | Required for initial install only |
| Login credentials | Contact your administrator — you will be given a username and password | |
Your username and password come from your administrator. Contact them before starting if you haven't received your credentials yet.
Without API access enabled in TWS, Intellect FinLab cannot connect to IBKR and will start in offline mode.
- ✓TWS is open and you are logged in
- ✓"Enable ActiveX and Socket Clients" is checked
- ✓"Read-Only API" is unchecked
- ✓"Allow connections from localhost only" is unchecked (required for Docker)
- ✓Port noted: 7497 (paper) or 7496 (live)
Intel Mac: Choose "Mac with Intel chip"
.dmg → drag Docker to Applications → double-click Docker to start it.Docker version 26.x.xDocker on Windows uses WSL2 (Windows Subsystem for Linux 2). Docker will guide you through enabling it if needed.
.exe. When asked, choose Use WSL2 instead of Hyper-V. Accept all other defaults.Docker starts automatically on future logins. You never need to install it again.
Open Terminal (press Cmd + Space, type Terminal, press Enter) and paste:
curl -sSL https://get.intellectfinlab.com/install.sh | bash- First run: installs everything from scratch
- Subsequent runs: pulls latest image and restarts — same as
~/.intellect/update.sh ~/intellect-data/— all your trades, settings, and history (never touched)~/.intellect/— helper scripts:update.sh,stop.sh,start.sh,logs.sh
Open PowerShell as Administrator (press Win + X, choose Windows PowerShell (Admin)) and paste:
irm https://get.intellectfinlab.com/install.ps1 | iex- First run: installs everything from scratch
- Subsequent runs: pulls latest image and restarts — same as
~\.intellect\update.ps1 C:\intellect-data\— all your trades, settings, and history (never touched)%USERPROFILE%\.intellect\— helper scripts:update.ps1,stop.ps1,start.ps1,logs.ps1
| Mode | Port | What It Means |
|---|---|---|
| 📋 Paper | 7497 |
Virtual money — no real capital at risk. Start here. |
| ⚡ Live | 7496 |
Real money. Starts in Dry Run — you must click "Go Live" to place real orders. |
@userinfobot/startYou stay logged in for the full trading day. After 12 hours you'll be prompted to sign in again.
After login you land on the Health Monitor. Wait 20–30 seconds, then check:
- ✓IBKR Connected — green dot. TWS is connected and responding.
- ✓Market Data Fresh — prices showing for ES, SPX, SPY, VIX, /NQ, QQQ.
- ✓Scanners Active — a number appears next to Scanners.
- !Market Gate: CLOSED — normal outside 9:30 AM–4:00 PM ET. Opens automatically at market open.
- iDry Run ACTIVE (Live mode) — real orders are off until you click "Go Live" in the control bar.
1. Confirm TWS is open and you are logged in
2. TWS → Edit → Global Configuration → API → Settings
3. Check "Enable ActiveX and Socket Clients" · Uncheck "Read-Only API"
4. In Intellect: Config → IB Connection → click "Save & Apply"
5. The system probes TWS every 30 seconds and reconnects automatically
- 1Docker Desktop is running — whale icon steady in menu bar / system tray
- 2TWS is open — logged in to your paper or live account
- 3Intellect is running — auto-starts with Docker. No command needed.
- 4Open browser — go to http://localhost:8000
- 5Verify Health Monitor — IBKR Connected ✓ · Market Data Fresh ✓
Intellect handles market close automatically. It reconnects after TWS's nightly restart (~11:45 PM ET) on its own. Just leave it running.
If you need to stop manually:
docker stop intellectTo start it again:
docker start intellectNormal Update — Use This Every Time
Pulls the latest image from your administrator. New strategies and scanners they release appear in your system automatically. Bug fixes and performance improvements apply instantly. Your existing strategies, custom scanners, passwords, IB connection, and all trade history are never touched.
~/.intellect/update.sh~\.intellect\update.ps1| What gets updated | What stays yours |
|---|---|
| ✅ Bug fixes and performance improvements | ✅ Your password |
| ✅ New strategies released by your admin | ✅ Your Telegram chat ID |
| ✅ New scanners released by your admin | ✅ Your custom strategies |
| ✅ New features and UI improvements | ✅ Your TWS connection settings |
| ✅ All your trades and trade history |
Factory Reset — Only When Something Is Broken
If you've accidentally misconfigured strategies or scanners and want a clean slate, factory reset wipes all strategy and scanner settings and restores the latest defaults from your administrator. Use this when normal update isn't enough.
- Your password and login
- Your Telegram Chat ID and alert settings
- Your IB connection settings (port, paper/live)
- Your custom strategies you built yourself
- All trade history and wealth data
~/.intellect/update.sh --reset~\.intellect\update.ps1 -ResetAny changes you made to built-in strategy settings (profit targets, enable/disable, cooldowns etc.) will be reset to the administrator's defaults. The script asks you to confirm before proceeding — nothing changes until you type Y.
| Action | Mac (Terminal) | Windows (PowerShell) |
|---|---|---|
| Install (first time) | curl -sSL https://get.intellectfinlab.com/install.sh | bash | irm https://get.intellectfinlab.com/install.ps1 | iex |
| Update to latest version | ~/.intellect/update.sh | ~\.intellect\update.ps1 |
| Factory reset (restore defaults) | ~/.intellect/update.sh --reset | ~\.intellect\update.ps1 -Reset |
| Stop the app | ~/.intellect/stop.sh | ~\.intellect\stop.ps1 |
| Start the app | ~/.intellect/start.sh | ~\.intellect\start.ps1 |
| Restart (same version) | docker restart intellect | docker restart intellect |
| View live logs | ~/.intellect/logs.sh | ~\.intellect\logs.ps1 |
| Check if running | docker ps | grep intellect | docker ps | Select-String intellect |
| Open app in browser | open http://localhost:8000 | start http://localhost:8000 |
- Make sure Docker Desktop is running (whale icon in menu bar / system tray)
- Run:
docker start intellect - Wait 15 seconds, then try http://localhost:8000 again
- Still failing? Run
docker ps -a | grep intellect— if it shows "Exited", rundocker start intellect
- Open TWS and log in to your IBKR account
- TWS → Edit → Global Configuration → API → Settings
- Check "Enable ActiveX and Socket Clients"
- Uncheck "Read-Only API"
- Uncheck "Allow connections from localhost only"
- Click OK — the system reconnects within 30 seconds automatically
This usually resolves itself in 30–60 seconds as market data loads. If it persists:
- Check the Health Monitor — wait for all indicators to show green
- If IBKR shows Disconnected, see "Health page shows IBKR Disconnected" above
- If still degraded after 2 minutes:
docker restart intellect
The system is fully self-healing — it reconnects to IBKR and reloads market data automatically. No manual intervention needed in most cases.
- Open TWS and log in
- TWS → Edit → Global Configuration → API → Settings → check "Enable ActiveX and Socket Clients"
- Scroll down in the same settings screen and uncheck "Allow connections from localhost only" — this is required for Docker to reach TWS
- Click OK, then refresh the login page — dots turn green within 2 seconds
- Switch to the matching mode on the login page (select Paper if Paper TWS is open)
- Or close Paper TWS, open Live TWS, then try again
The login page auto-detects open ports — the chip for the closed TWS will be grayed out.
Contact your administrator. They can reset your password from Config → User Management.
Open Docker Desktop from Applications (Mac) or Start Menu (Windows). Wait for the whale icon to stop animating, then try again.
Stop and remove the existing container:
Then re-run the install command from Section 04 and change -p 8000:8000 to -p 8080:8000. Access the app at http://localhost:8080.
Use the update script — it handles this correctly:
Windows: ~\.intellect\update.ps1
Wait 30–60 seconds after login — subscriptions are still loading. If still missing after 2 minutes:
Back Up Your Data
cp -r ~/intellect-data ~/Desktop/intellect-backup-$(date +%Y%m%d)Copy-Item C:\intellect-data -Destination C:\Users\$env:USERNAME\Desktop\intellect-backup-$(Get-Date -Format 'yyyyMMdd') -RecurseRestore Your Data
Replace the intellect-data folder with your backup copy, then restart:
docker restart intellect