From trading
Monitor your brokerage portfolio, check positions and balances, place trades, and analyze account performance on Interactive Brokers. Use when the user asks about their portfolio, wants market data, or needs to manage trades.
How this skill is triggered — by the user, by Claude, or both
Slash command
/trading:tradingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage your IBKR portfolio, get market data, and place trades via the Client Portal API.
Manage your IBKR portfolio, get market data, and place trades via the Client Portal API.
curl -sk https://localhost:5000/v1/api/iserver/auth/status | python3 -m json.tool
# If not running/authenticated:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/start_gateway.py --login
See references/gateway.md for login details, session management, and troubleshooting.
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/account_summary.py # account overview
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/monitor.py # all positions with live P/L
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/monitor.py --symbol SPX -g # SPX positions with Greeks
Full API endpoints for accounts, positions, balances, and allocations -- see references/portfolio.md.
# Search for a contract, then get a snapshot (requires two calls -- first primes, second returns data)
curl -sk "https://localhost:5000/v1/api/trsrv/stocks?symbols=AAPL" | python3 -m json.tool
curl -sk "https://localhost:5000/v1/api/iserver/marketdata/snapshot?conids=265598&fields=31,84,86" | python3 -m json.tool
Contract search, historical data, scanners, and field IDs -- see references/market-data.md.
# Submit from a strategy file
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/submit_order.py order.json
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/submit_order.py order.json --dry-run # preview first
# Cancel / modify
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/cancel_order.py <orderId>
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/modify_order.py <orderId> --price -25.50
Order types, bracket orders, raw curl examples, and confirmation flow -- see references/trading.md.
# Iron butterfly on SPX
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/iron_butterfly.py today --submit
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/iron_butterfly.py 2026-03-10 --quantity 2 --bracket 2000 4000 --submit
See references/strategies.md for iron butterfly parameters, auto-close, close position, and bracket orders.
curl -sk https://localhost:5000/v1/api/iserver/account/trades | python3 -m json.tool # recent executions
curl -sk https://localhost:5000/v1/api/iserver/account/orders | python3 -m json.tool # live orders
Performance analytics, transaction history, and allocation -- see references/portfolio.md.
/iserver/accounts FIRST before any market data or trading calls -- this initializes the session./iserver/marketdata/snapshot for market data (NOT /md/snapshot).-k on all curl calls (self-signed cert). Pipe through python3 -m json.tool for formatting.curl -sk -X POST https://localhost:5000/v1/api/tickle periodically to prevent session timeout.npx claudepluginhub harche/productivity --plugin tradingManages TastyTrade brokerage accounts: portfolio monitoring, options analysis with Greeks, multi-leg order placement, and real-time market data streaming.
Operates miniQMT/xtquant via CLI for market data, real-time streaming, account management, order placement with safety guards, daemon health checks, SSH tunnel management, and Windows deployment.
Integrates with Trading 212 API for authentication via API keys, placing buy/sell market/limit/pending orders, cancellations, balance/position/portfolio checks, P&L, order history, dividends, and instrument searches.