ib_pmcc_advisor
Analyze PMCC (diagonal call spread) positions and recommend roll actions. Reports assignment probability, P&L projections, and ranked roll candidates to improve delta and credit.
Instructions
Analyze PMCC (diagonal call spread) positions and recommend roll actions.
For each spread: reports assignment probability, P&L projections, roll candidates ranked by delta improvement and credit, and a comparison table. Requires TWS or IB Gateway running locally.
Args: port: IB port (7496 for live, 7497 for paper) account: Specific account ID (optional) symbols: Comma-separated symbols to filter (optional, e.g. 'NVDA,WMT') min_roll_dte: Minimum DTE for roll candidates (default 7) price_mode: Option price source — 'mid' (bid+ask)/2 or 'last'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| account | No | ||
| symbols | No | ||
| price_mode | No | mid | |
| min_roll_dte | No |