ib-account
ib-account fetches your account summary directly from Interactive Brokers, including net liquidation value, available cash, and buying power. It connects through TWS or IB Gateway running locally and automatically detects whether you're trading paper or live accounts, with fallback retry logic to ensure reliable connections.
ib-account retrieves your Interactive Brokers account balance, cash position, and buying power via local TWS or IB Gateway.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-20
ib-account retrieves your Interactive Brokers account balance, cash position, and buying power via local TWS or IB Gateway. ib-account fetches your account summary directly from Interactive Brokers, including net liquidation value, available cash, and buying power. It connects through TWS or IB Gateway running locally and automatically detects whether you're trading paper or live accounts, with fallback retry logic to ensure reliable connections.
Use it when
- ib-account checks your available buying power by connecting to your Interactive Brokers account via TWS or IB Gateway.
- Yes.
Verify before relying
Read SKILL.md below before installing (2 files). Open directory: indexed for reading, not audited.
Install
staskh/trading_skills/ib-account · 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's my Interactive Brokers account balance?
ib-account retrieves your current account balance directly from Interactive Brokers, displaying your net liquidation value, available cash, and buying power in a single summary. The skill connects through TWS or IB Gateway running locally and automatically detects whether you're trading paper or live accounts.
How much buying power do I have available to trade?
ib-account checks your available buying power by connecting to your Interactive Brokers account via TWS or IB Gateway. It shows your trading capacity alongside your cash position and net liquidation value, helping you understand how much you can deploy in new positions.
Can ib-account show my account summary from Interactive Brokers?
Yes. ib-account displays your complete account summary including net liquidation value, available cash, buying power, and other key metrics. It connects through your local TWS or IB Gateway installation and includes fallback retry logic to ensure reliable data retrieval.
Does ib-account work with multiple Interactive Brokers accounts?
ib-account can manage and monitor multiple Interactive Brokers accounts. It automatically detects whether you're trading paper or live accounts and maintains separate connections for each, allowing you to switch between accounts as needed.
How does ib-account verify my IB connection status?
ib-account includes built-in connection verification that checks whether your Interactive Brokers account is accessible through TWS or IB Gateway. It uses fallback retry logic to ensure reliable connections and will alert you if the connection fails or times out.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
IB Account
Fetch account summary from Interactive Brokers.
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
> Note: If uv is not installed or pyproject.toml is not found, replace `uv
(truncated - see the full file via the links below)
File tree — 2 files
.claude/skills/ib-account/SKILL.md
.claude/skills/ib-account/scripts/account.py
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 › “Retrieve account balance and cash position from Interactive Brokers”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Pull trade executions directly from your Interactive Brokers account via live API (recent ~7 days) or FlexReport (full history). Filter by account, symbol, or date range, and get back execution details with per-symbol summaries including commissions and realized P&L.
IB Portfolio connects to your Interactive Brokers account to display current positions, quantities, average costs, and market values. It works with TWS or IB Gateway running locally and automatically handles paper and live trading ports. The skill returns structured position data including unrealized profit/loss for each holding.
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.
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.
Analyze roll opportunities for existing short options or identify best covered calls/puts to open against long stock. The skill connects to Interactive Brokers via TWS or IB Gateway, evaluates candidates across multiple expirations, and uses IV-aware strike bands to surface relevant alternatives tailored to market conditions.
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.
More skills Ibkr Api Skill (unlicensed) · ib-trailing-stop (MIT) · ib-stop-loss (MIT)