ib_find_short_roll
Find roll, spread, or covered call/put candidates using real-time IB data, auto-detecting the mode based on your current positions.
Instructions
Find roll, spread, or covered call/put candidates using real-time IB data.
Auto-detects mode based on existing positions:
Short option found: roll candidates with credit/debit analysis
Long option found: short candidates to create a vertical spread
Long stock found: covered call/put candidates Requires TWS or IB Gateway running locally.
Args: symbol: Ticker symbol (e.g., GOOG) port: IB port (7496 for live, 7497 for paper) account: Account ID (optional) strike: Current short strike (optional, auto-detects from portfolio) expiry: Current expiry YYYYMMDD (optional, auto-detects from portfolio) right: 'C' for call or 'P' for put (default: C)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| right | No | C | |
| expiry | No | ||
| strike | No | ||
| symbol | Yes | ||
| account | No |