Install any skill in seconds. Free to start, no credit card required.
Get Started Free →staskh/ib-report-delta-adjusted-notional-exposure
Report delta-adjusted notional exposure across all IBKR accounts. Calculates option deltas using Black-Scholes and reports long/short exposure by account and underlying.
Passed 12 of 17 test cases with the skill, and 8 of 17 without it.
and 4 more in the full report
6 fixed9 passed either way6 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
Which template file contains the layout and formatting rules for creating the markdown exposure report?
| Checked | Without skill | With skill |
|---|---|---|
| Reads formatting rules from templates markdown-template md | Missed | Passed |
The instructions your model reads when the skill loads.
Calculate and report delta-adjusted notional exposure across all Interactive Brokers accounts.
TWS or IB Gateway must be running locally with API enabled:
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.
uv run python scripts/delta_exposure.py [--port PORT]
The script returns JSON to stdout with all position deltas and summary data.
Read templates/markdown-template.md for formatting instructions. Generate a markdown report from the JSON data and save to sandbox/.
Filename: delta_exposure_report_{YYYYMMDD}_{HHMMSS}.md
Present the summary table (total long, short, net) and top exposures to the user. Include the saved report path.
--port - IB port (default: 7497 for paper trading)test cases passed, vs 8 / 17 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.