$npx skillfedfor your agent

ib-trailing-stop

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.

IB Trailing Stop Manager places native TRAIL orders on stocks and naked LEAPS, auto-ratcheting stops as prices climb.

AI-generated summary based on this skill's SKILL.md

★ 299  68 MITupdated by staskh

Decision gist · record as of 2026-07-20

IB Trailing Stop Manager places native TRAIL orders on stocks and naked LEAPS, auto-ratcheting stops as prices climb. 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.

manual: git clone https://github.com/staskh/trading_skills → cp -r trading_skills/.claude/skills/ib-trailing-stop ~/.claude/skills/ib-trailing-stop
.claude/skills/ib-trailing-stop/SKILL.md · version 457731b1

Use it when

  • ib-trailing-stop places trailing stops by specifying a percentage or dollar amount as the trail distance.
  • Yes.

Verify before relying

Read SKILL.md below before installing (2 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

staskh/trading_skills/ib-trailing-stop · 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 does ib-trailing-stop do with Interactive Brokers TRAIL orders?

ib-trailing-stop deploys Interactive Brokers' native TRAIL orders against eligible stock and naked LEAPS positions. The skill lets the broker automatically adjust your stop trigger upward as price rises and lock it as price falls, automating trailing stop loss management without manual intervention.

How do I set trailing stops on stocks with ib-trailing-stop?

ib-trailing-stop places trailing stops by specifying a percentage or dollar amount as the trail distance. The skill applies these settings to your stock and LEAPS positions, and the broker then ratchets the stop upward whenever the price climbs, keeping your downside protection locked in.

Can ib-trailing-stop automate trailing stop loss with percentage or dollar amounts?

Yes. ib-trailing-stop supports both percentage-based and dollar-amount trailing stops. You define your trail distance, and the skill automatically configures TRAIL orders to enforce that distance, adjusting upward as prices rise and holding firm as they fall.

What is dry-run mode in ib-trailing-stop and how do I execute live?

ib-trailing-stop defaults to dry-run mode, letting you preview and validate trailing stop orders before they go live. To execute orders against your account, add the `--execute` flag. This safety-first approach prevents accidental live trades during testing.

Does ib-trailing-stop manage PMCC positions and stop loss separately?

ib-trailing-stop excludes PMCC (poor man's covered call) positions to preserve hedge integrity. The skill focuses on naked stock and LEAPS positions, managing their trailing stops separately so your hedged strategies remain unaffected.

How does ib-trailing-stop track and update existing trailing stops?

ib-trailing-stop monitors your existing TRAIL orders and updates them as prices climb. The skill tracks price movement and ensures your stop triggers ratchet upward in real time, locking in gains while maintaining your chosen trail distance below the current price.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

IB Trailing Stop Manager

Places IB native TRAIL orders against stocks and naked LEAPS in the portfolio. IB auto-adjusts the stop trigger as the price climbs and locks it as price falls.

PMCC positions are intentionally excluded — use ib-stop-loss for those (a standalone trailing stop on the PMCC long leg would break the hedge at trigger).

Default mode is dry-run — no orders are placed unless --execute is in the request.

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

(truncated - see the full file via the links below)

File tree — 2 files
.claude/skills/ib-trailing-stop/SKILL.md
.claude/skills/ib-trailing-stop/scripts/trailing_stop.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 › “Place and manage native TRAIL orders on stocks and LEAPS positions”

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
by staskh · staskh/trading_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.

MITfor claude-codeupdated Jul 2026
★ 299repo stars
ib-collar
by staskh · staskh/trading_skills

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.

MITfor claude-codeupdated Jul 2026
★ 299repo stars
ib-find-short-roll
by staskh · staskh/trading_skills

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.

MITfor claude-codeupdated Jul 2026
★ 299repo stars
Ibkr
by Starchild-ai-agent · Starchild-ai-agent/official-skills

Ibkr bridges your AI agent to Interactive Brokers through a local Trader Workstation or IB Gateway connection—no cloud keys required. Check positions, place orders, pull quotes and history across stocks, ETFs, forex, and futures on your own machine or networked gateway. Requires TWS/Gateway running and API socket enabled; paper trading available for safe testing.

no license declared → metadata onlyupdated Jul 2026
★ 18repo stars
ib-pmcc-advisor
by staskh · staskh/trading_skills

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.

MITfor claude-codeupdated Jul 2026
★ 299repo stars
Ibkr Api Skill
by ScientiaCapital · ScientiaCapital/skills

Ibkr Api Skill enables programmatic access to Interactive Brokers accounts for portfolio management, real-time market data, and trade execution across multiple account types. Built on the ib_async library with support for Roth IRA, personal brokerage, and business accounts, it handles authentication, enforces IRA trading restrictions, and provides both async TWS API and REST Client Portal integrations.

no license declared → metadata onlyupdated Jul 2026
★ 26repo stars

More skills scanner-pmcc (MIT) · report-stock (MIT) · defi-trading-systems (Apache-2.0)

Tags
risk-managementorder-automationbroker-integrationposition-trackingstop-loss-strategynative-ordersportfolio-protectionprice-ratchetingexecution-control