Days to Expiry connects directly to Interactive Brokers via Flex Query API — every options trade auto-imported, analyzed, and visualized. See your premium income, win rates, and roll alerts in minutes.
Interactive Brokers is a great broker for options traders — but its built-in analytics weren't designed for income sellers. Activity Statements are dense. Portfolio Analyst doesn't show premium collected over time. Tracking covered calls, CSPs, and spreads across dozens of positions means hours in spreadsheets. Days to Expiry was built from the ground up for IBKR options sellers. It reads your trade history directly from IBKR's Flex Query API — no CSV wrangling, no copy-paste. Within minutes of connecting, you'll see a clean income dashboard: total premium collected, annualized yield, open positions sorted by days to expiry, and trade-by-trade performance.

Tap to view full size
Dense Activity Statements — Raw trade data with no income summary, no premium-collected view, and no roll history aggregation
No Income Dashboard — Portfolio Analyst shows total P&L but has no concept of premium earned over time, per ticker, or per strategy
CSV Export Friction — Every time you want to analyse performance in an external tool, you do a manual export; your analysis is always a day behind
No Expiry Calendar — IBKR shows your positions but doesn't organise them by days to expiry or flag rolls approaching your exit rules
Set up once; trades appear automatically — no exports, no uploads, no manual entry
Total premium received, net P&L after buybacks, annualized yield, and win rate by strategy and ticker
Open positions flagged Decide now, Review soon, or Monitor so you don't miss a roll
Every trade logged, categorised by strategy, and analysed — win rate, average premium per contract, and return on capital

Tap to view full size
Log into IBKR Client Portal, navigate to Performance & Reports to Flex Queries, and create a new Activity Flex Query. This gives Days to Expiry read-only access to your trade history.
Copy your Flex Query token and Query ID and paste them into the IBKR connection screen in Days to Expiry. The first sync imports the period your Flex Query covers (up to the last 365 days); new trades sync automatically every day from this point on.
Within minutes you have an income dashboard: total premium collected, annualized yield, open positions sorted by days to expiry, and trade-by-trade performance — all sourced directly from your IBKR data.
IBKR Setup
Token + Query ID
Manual Data Entry
Zero
Access Type
Read-only
History Imported
Last 365 days
Detailed walkthrough for the Interactive Brokers Flex Query setup
Premium income analytics by ticker, strategy, and time period
Covered call specific tracking with roll history
Free to start — no credit card required
Everything you need to know about getting started