Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Calculates Black-Scholes option deltas and reports delta-adjusted notional long and short exposure by IBKR account and underlying.
45% 68%+23 ptsof test cases passed
Passed 15 of 22 test cases with the skill, and 10 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
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: {YYYY-MM-DD}_{HHmmSS}_delta_exposure_report.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)Next to this one in the catalogue, plus more from the same author.