Claude Marketplaces
SkillsMCP serversMarketplacesPluginsDigestToolsAdvertise
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Plugins
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index
  • Plugin index

Site

  • About
  • Tools
  • Submit
  • Advertise
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
by Mert Düzgün
Skills/Backend & APIs
staskh avatar

Ib Trades History

staskh/trading_skills

Pulls your Interactive Brokers trade executions with flexible filtering by account, symbol, and date range. The live API gives you about seven days of history, which is fine for recent activity, but if you need older trades you'll use FlexReport queries or local XML exports. Smart design here is the ability to chain multiple queries or files to get around IB's 365-day limit per query. Requires TWS or IB Gateway running locally unless you're working from exported files. Returns structured JSON with both individual executions and aggregated summaries per symbol, including commissions and realized P&L. If you're building trading analysis tools or just need to answer "what did I actually pay for those AAPL shares last month," this handles the IBKR connectivity pain for you.

GitHub stars
248
last updated
Jun 11, 2026
View on GitHubSave

Install

$ npx -y skills add staskh/trading_skills --skill ib-trades-history --agent claude-code

Installs into .claude/skills of the current project.

Files

IB Trades History

Fetch trade executions 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.

For full trade history beyond ~7 days, the user needs a Flex Web Service token and a pre-configured Trade query in IBKR Account Management.

Instructions

Note: If uv is not installed or pyproject.toml is not found, replace uv run python with python in all commands below.

SKILL.md on GitHub

Sponsors

This spot is openSlot 1$1,200/mo Advertise hereThis spot is openSlot 2$1,000/mo Advertise hereSnugSponsoredThe clipboard manager you and your agent can use, safelyknobsSponsoredSee your site on any phone, any day, in any languageAgent CaffeineSponsoredClose your lid, come back to finished workThis spot is openSlot 6$500/mo Advertise hereThis spot is openSlot 7$500/mo Advertise hereWaxSponsoredBlock anything with supervision, without erasing your iPhone

Details

Repository
github.com/staskh/trading_skills
Categories
Backend & APIs, Finance & Trading
License
MIT
First seen
Jun 11, 2026

More from staskh/trading_skills

All 28
  • Ib Trailing Stop
  • Insider Trading
  • Markdown To Pdf
  • Price History
  • Scanner Bullish
  • Scanner Pmcc
  • Spread Analysis
  • Whale Hunting
  • Technical Analysis595
  • News Sentiment245
  • Fundamentals182
  • Stock Quote131
  • Greeks127
  • Report Stock117
  • Option Chain109
  • Risk Assessment104
  • Earnings Calendar
  • Ib Account
  • Ib Collar
  • Ib Create Consolidated Report
  • Ib Find Short Roll
  • Ib Option Chain
  • Ib Pmcc Advisor
  • Ib Portfolio

Recommended

More Backend & APIs
1staskh avatarib-trailing-stopstaskh/trading_skillsServer-side trailing stop management for stocks and naked LEAPS in IB. Places native TRAIL orders that auto-ratchet the stop as price climbs. Dry-run by default0skills.sh installs
2telagod avatardefending-applicationstelagod/code-abyssApplication security defense knowledge for builders, not pentesters. Covers Web/API/GraphQL hardening (XSS/SQLi/SSRF/IDOR/BOLA/Mass Assignment/deserialization/u0skills.sh installs
3zhixiangluo avatardiscover-ui-surfacezhixiangluo/10xproductivityWalk through a UI flow once manually and capture a durable interaction map — which DOM elements to click, which network requests they trigger, and what field sh0skills.sh installs
4firebase avatarxcode-project-setupfirebase/agent-skillsSafely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Fireba136.3Kskills.sh installs
5firebase avatardeveloping-genkit-dartfirebase/agent-skillsGenerates code and provides documentation for the Genkit Dart SDK. Use when the user asks to build AI agents in Dart, use Genkit flows, or integrate LLMs into D62.2Kskills.sh installs
6firebase avatarextension-to-functions-codebasefirebase/agent-skillsSkill for converting an installed Firebase Extension (or extension source) into a standalone Cloud Functions for Firebase codebase or publishable npm package, i62Kskills.sh installs