IBKR Setup
Connect FlashAlpha to Interactive Brokers for one-click options execution.
Overview
FlashAlpha integrates with Interactive Brokers (IBKR) to enable direct order execution from the platform. This guide covers setup and configuration.
Prerequisites
Before connecting:
- Active IBKR Account - Paper or live trading account
- Account Permissions - Options trading enabled
- Market Data - Subscriptions for markets you trade
Connection Methods
OAuth Authentication (Recommended)
Secure, token-based authentication.
- Go to Settings → Broker Integration
- Click Connect Interactive Brokers
- You'll be redirected to IBKR login
- Log in with your IBKR credentials
- Authorize FlashAlpha's access
- You'll be redirected back to FlashAlpha
Permissions granted:
- Read account information
- Read positions
- Place/modify/cancel orders
- Read order status
Client Portal API
Alternative for users who prefer local gateway.
- Download IBKR Client Portal Gateway
- Run the gateway on your machine
- In FlashAlpha, select Local Gateway
- Enter gateway URL (default:
https://localhost:5000) - Click Connect
Account Configuration
Select Trading Account
If you have multiple IBKR accounts:
- Go to Settings → Broker Integration
- Under Trading Account, select the account
- Click Save
Paper vs. Live
Toggle between paper and live trading:
- In broker settings, find Trading Mode
- Select Paper Trading or Live Trading
- Confirm your selection
⚠️ Warning: Always verify you're in the correct mode before placing orders.
Permissions & Security
What FlashAlpha Can Do
- View account balances
- View current positions
- Place new orders
- Modify existing orders
- Cancel orders
What FlashAlpha Cannot Do
- Withdraw funds
- Change account settings
- Access other linked accounts (unless authorized)
Revoking Access
To disconnect FlashAlpha:
- Log into IBKR Account Management
- Go to Settings → API Settings
- Find FlashAlpha in authorized apps
- Click Revoke Access
Troubleshooting
Connection Failed
Causes:
- IBKR servers temporarily unavailable
- Session expired
- Network issues
Solutions:
- Click Reconnect
- Clear browser cache
- Try again in a few minutes
- Contact support if persistent
Orders Not Executing
Causes:
- Insufficient buying power
- Position limits reached
- Market closed
- Invalid order parameters
Solutions:
- Check account buying power
- Verify market hours
- Review order details
- Check IBKR message center
Positions Not Showing
Causes:
- Sync delay
- Filter hiding positions
- Connection issue
Solutions:
- Click Refresh Positions
- Check position filters
- Verify connection status
Data Mismatch
Causes:
- Delayed data feed
- Different data sources
Solutions:
- FlashAlpha uses IBKR data when connected
- Ensure market data subscriptions are active
- Compare with IBKR TWS for verification
Best Practices
Use Paper Trading First
Test strategies in paper trading before going live.
Set Position Limits
Configure maximum position sizes in FlashAlpha settings.
Review Before Executing
Always review order details in the confirmation dialog.
Monitor Orders
Watch for partial fills, rejections, or modifications.