IB PMCC Advisor Analyzes all PMCC (diagonal call spread) positions in the IB portfolio and provides actionable advice on the short leg: assignment risk, P&L projections per day, and ranked roll recommendations. Prerequisites TWS or IB Gateway running locally with API enabled: - Live trading: port 7496 - Paper trading: port 7497 Instructions Step 1: Run the report script The script returns JSON to stdout. Capture it and format the report. Step 2: Format and save the report Read for full formatting instructions. Generate a markdown report from the JSON and save to : - Filename: - Use first acco…