ib-collar
This skill builds collar strategy reports for PMCC traders facing earnings or volatility spikes. It connects to Interactive Brokers, analyzes your long LEAPS and short calls, models put protection scenarios across gap-up/flat/down outcomes, and recommends optimal strike and duration for tactical hedging.
IB Tactical Collar generates protective collar strategy reports for PMCC positions ahead of earnings or high-risk events.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-20
IB Tactical Collar generates protective collar strategy reports for PMCC positions ahead of earnings or high-risk events. This skill builds collar strategy reports for PMCC traders facing earnings or volatility spikes. It connects to Interactive Brokers, analyzes your long LEAPS and short calls, models put protection scenarios across gap-up/flat/down outcomes, and recommends optimal strike and duration for tactical hedging.
Use it when
- ib-collar generates a collar strategy report by connecting to your Interactive Brokers account.
- Yes.
Verify before relying
Read SKILL.md below before installing (3 files). Open directory: indexed for reading, not audited.
Install
staskh/trading_skills/ib-collar · repository language: Python
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is ib-collar and how does it protect PMCC positions?
ib-collar builds collar strategy reports for PMCC traders facing earnings or volatility spikes. It connects to Interactive Brokers, analyzes your long LEAPS and short calls, models put protection scenarios across gap-up/flat/down outcomes, and recommends optimal strike and duration for tactical hedging around high-risk events.
How do I generate a collar strategy report to protect PMCC positions around earnings?
ib-collar generates a collar strategy report by connecting to your Interactive Brokers account, pulling your PMCC structure (long LEAPS and short calls), and modeling protective put scenarios. The report evaluates gap-up, flat, and gap-down outcomes, recommends optimal strike prices and durations, and shows the cost-benefit trade-offs for each hedging choice.
Can ib-collar analyze put protection options and costs for my short calls?
Yes. ib-collar analyzes put protection options by calculating the cost of puts at various strikes and durations, comparing them against your short call exposure. It evaluates which put durations best match your tactical hedging goals and shows the margin implications before you commit to any hedge.
What collar scenarios does ib-collar evaluate to recommend optimal strikes?
ib-collar evaluates three core scenarios: gap-up (stock rallies past your short strike), flat (stock stays near current price), and gap-down (stock falls sharply). For each scenario, it recommends optimal put and call strikes, shows profit/loss outcomes, and highlights which collar structure best protects your PMCC while preserving upside or managing downside risk.
How does ib-collar compare put durations for tactical hedging?
ib-collar compares put durations by modeling shorter-term puts (faster decay, lower cost) against longer-dated protection, showing trade-offs in cost, coverage window, and margin impact. It helps you choose whether to hedge just through earnings or extend protection further, based on your volatility outlook and capital constraints.
Does ib-collar check my PMCC structure health before hedging?
Yes. ib-collar checks your PMCC structure health and margin implications before recommending any hedge. It validates your long LEAPS and short call positions, confirms margin availability, and ensures the collar recommendation won't trigger margin calls or violate your account constraints.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
IB Tactical Collar
Generate a tactical collar strategy report for protecting PMCC positions through earnings or high-risk events.
IB Connection
TWS or IB Gateway must be running locally with API enabled:
- Paper trading — port 7497
- Live trading — port 7496
- IB_PORT env var — default port when --port is omitted (e.g. IB_PORT=4001 for a Gateway container). Precedence: --port flag > IB_PORT > built-in default. Set it in the shell or a .env file.
Port fallback: If the configured port fails, automatically retry on the other port. If the retry succeeds, save to memory which account type worked (live/paper) and reuse it for all IB skill calls in this and future sessions — until the user explicitly asks for the other account. If both ports fail, ask the user to verify that TWS or IB Gateway is running with API access enabled.
Instructions
Step 1: Gather Data
```bash uv run python scripts/collar.py SYMBOL [--port PORT]
(truncated - see the full file via the links below)
File tree — 3 files
.claude/skills/ib-collar/SKILL.md
.claude/skills/ib-collar/scripts/collar.py
.claude/skills/ib-collar/templates/markdown-template.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Generate a collar strategy report to protect PMCC positions around earnings”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
IB Stop-Loss Manager analyzes your Interactive Brokers portfolio and automatically computes and places conditional stop-loss orders for diagonal spreads, naked LEAPS, and stock positions. It runs in dry-run mode by default—no orders execute until you explicitly request it—and supports both paper and live trading accounts. The skill detects positions at risk, identifies orphaned orders, and alerts you when losses approach your threshold.
This skill merges multiple IBRK trade exports from a directory into consolidated reports, grouping trades by underlying symbol, strike, date, and position direction. It outputs both markdown and CSV formats with aggregated quantities, proceeds, commissions, and realized P&L.
This skill deploys Interactive Brokers' native TRAIL orders against eligible stock and naked LEAPS positions, letting the broker automatically adjust your stop trigger upward as price rises and lock it as price falls. PMCC positions are excluded to preserve hedge integrity. Dry-run mode is the default—orders only execute when you add the `--execute` flag.
Analyze all positions in your Interactive Brokers accounts with traffic-light risk indicators and earnings exposure. The skill gathers portfolio data, fetches earnings dates, and delivers technical analysis in a prioritized markdown report highlighting positions requiring immediate attention.
This skill computes delta-adjusted notional exposure across all your IBKR accounts, using Black-Scholes to price option deltas and reporting directional risk by account and underlying. It connects to TWS or IB Gateway, processes positions including equities, futures, and options, and generates a markdown report with summary tables and top exposures.
Pulls all diagonal call spreads from your IB portfolio and surfaces actionable metrics on the short leg: delta, IV, assignment probability, and daily P&L projections. Ranks the top roll candidates by delta improvement and net credit, then displays a side-by-side comparison to help you decide whether to hold, roll, or close. Requires TWS or IB Gateway running locally with API enabled.
More skills ib-find-short-roll (MIT) · ib-portfolio (MIT) · report-stock (MIT) · ib-trades-history (MIT) · ib-account (MIT) · scanner-pmcc (MIT) · hedging-strategy (MIT)