[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77JD9D62P1ZA860SVES2AM0":3,"skill-same:01M77JD9D62P1ZA860SVES2AM0":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77JD9D62P1ZA860SVES2AM0","ibkr-openclaw",null,"Connect OpenClaw to Interactive Brokers via IB Gateway Docker. Live portfolio data, real-time quotes, historical K-lines, technical analysis, and Telegram alerts — all read-only safe. Use when users ask about IBKR integration, portfolio monitoring, stock analysis, or automated trading alerts.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fi\u002Fibkr-openclaw\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ibkr-openclaw\ndescription: Connect OpenClaw to Interactive Brokers via IB Gateway Docker. Live portfolio data, real-time quotes, historical K-lines, technical analysis, and Telegram alerts — all read-only safe. Use when users ask about IBKR integration, portfolio monitoring, stock analysis, or automated trading alerts.\n---\n\n# IBKR + OpenClaw Integration\n\nConnect OpenClaw to your Interactive Brokers account for live portfolio monitoring, real-time quotes, technical analysis, and automated Telegram alerts.\n\n## Features\n\n- **Live account data** — NAV, cash, P&L, buying power\n- **Positions** — all holdings with avg cost and exchange\n- **Real-time quotes** — delayed or live market data\n- **Historical K-lines** — daily OHLCV data for technical analysis\n- **Technical indicators** — RSI, MACD, Bollinger Bands, ATR, MA (via ib_async)\n- **Read-only safe** — API configured for read-only access\n\n## Prerequisites\n\n- Interactive Brokers account (live or paper)\n- IBKR Mobile app (for 2FA approval)\n- Docker & Docker Compose installed on your server\n- Python 3.9+ with `ib_async` and `pandas`\n\n## Setup Guide\n\n### Step 1: Install Docker\n\n```bash\ncurl -fsSL https:\u002F\u002Fget.docker.com | sh\ndocker --version\ndocker compose version\n```\n\n### Step 2: Clone IB Gateway Docker\n\nThe IB Gateway runs in a Docker container based on [gnzsnz\u002Fib-gateway-docker](https:\u002F\u002Fgithub.com\u002Fgnzsnz\u002Fib-gateway-docker).\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\ngit clone https:\u002F\u002Fgithub.com\u002Fgnzsnz\u002Fib-gateway-docker.git\ncd ib-gateway-docker\n```\n\n### Step 3: Configure Environment\n\nCreate a `.env` file in the `ib-gateway-docker` directory:\n\n```env\n# IBKR Account\nTWS_USERID=your_username\nTWS_PASSWORD=your_password\n\n# Trading mode: live or paper\nTRADING_MODE=live\n\n# Read-only API (recommended for monitoring)\nREAD_ONLY_API=yes\n\n# API settings\nTWS_ACCEPT_INCOMING=auto\nTWS_MASTER_CLIENT_ID=1\n\n# 2FA device name (find in IBKR web portal → Settings → Security)\nTWOFA_DEVICE=IB Key\n\n# 2FA timeout\nTWOFA_TIMEOUT_ACTION=exit\n\n# Timezone\nTIME_ZONE=Asia\u002FSingapore\nTZ=Asia\u002FSingapore\n\n# VNC password (optional, for remote desktop)\nVNC_SERVER_PASSWORD=your_password\n\n# Auto restart (daily maintenance)\nAUTO_RESTART_TIME=23:45\n\n# Save settings between restarts\nSAVE_TWS_SETTINGS=yes\n```\n\n**Important:** Find your `TWOFA_DEVICE` name in your IBKR web portal under:\nSettings → Security → Second Factor Authentication → Devices\n\n### Step 4: Start the Container\n\n```bash\ndocker compose up -d\n```\n\nCheck logs:\n```bash\ndocker logs algo-trader-ib-gateway-1 --tail 20\n```\n\n### Step 5: Approve 2FA\n\nThe Gateway will prompt for 2FA. Approve the notification on your **IBKR Mobile app**.\n\nOnce connected, the API is available on:\n- **Port 4001** → Paper trading API\n- **Port 4002** → Live trading API (read-only if configured)\n\n### Step 6: Install Python Dependencies\n\n```bash\npip install ib_async pandas\n```\n\n### Step 7: Test the Connection\n\n```bash\npython3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fibkr-openclaw\u002Fscripts\u002Fibkr_client.py summary --port 4001\n```\n\nExpected output:\n```\nAccount: ['DU1234567']\n----------------------------------------\nBuyingPower..............      500,000.00\nNetLiquidation...........      125,000.00\nTotalCashValue...........       25,000.00\nStockMarketValue.........      100,000.00\nFuturesPNL...............        -500.00\nUnrealizedPnL............        3,200.00\n```\n\n## CLI Usage\n\n### ibkr_client.py — Account, Positions & Quotes\n\n```bash\n# Account summary\npython3 scripts\u002Fibkr_client.py summary --port 4001\n\n# All positions\npython3 scripts\u002Fibkr_client.py positions --port 4001\n\n# Quick NAV\npython3 scripts\u002Fibkr_client.py nav --port 4001\n\n# Quote a stock\npython3 scripts\u002Fibkr_client.py quote 2800 --exchange SEHK --currency HKD --port 4001\n```\n\n### Getting Historical Data (Python)\n\n```python\nfrom ib_async import IB, Stock\n\nib = IB()\nib.connect('127.0.0.1', 4001, clientId=1, readonly=True)\n\ncontract = Stock('2800', 'SEHK', 'HKD', primaryExchange='SEHK')\nqualified = ib.qualifyContracts(contract)\n\nbars = ib.reqHistoricalData(\n    qualified[0], '', '6 M', '1 day', 'TRADES', True, 1\n)\n\nfor bar in bars[-5:]:\n    print(f\"{bar.date} O:{bar.open} H:{bar.high} L:{bar.low} C:{bar.close} V:{bar.volume}\")\n\nib.disconnect()\n```\n\n## API Port Reference\n\n| Port | Mode | Description |\n|---|---|---|\n| 4001 | Paper | Paper trading API |\n| 4002 | Live | Live trading API |\n| 5900 | VNC | Remote desktop (if VNC enabled) |\n\n## Troubleshooting\n\n### 2FA not arriving\n- Check IBKR Mobile app is logged in with the correct username\n- Verify `TWOFA_DEVICE` matches your device name in IBKR web portal\n- Check phone notification settings for IBKR app\n\n### Connection timeout\n- Ensure the container is running: `docker ps`\n- Check logs: `docker logs algo-trader-ib-gateway-1 --tail 20`\n- The Gateway restarts daily at 23:45 SGT (configured via `AUTO_RESTART_TIME`)\n\n### Read-only errors\n- `READ_ONLY_API=yes` prevents trading but allows all read queries\n- Some ib_async features auto-request write access — ignore those errors\n- Account summary and positions work fine in read-only mode\n\n### Container won't start\n- Check `.env` file has correct credentials\n- Ensure ports 4001, 4002, 5900 are not in use: `netstat -tlnp | grep 400`\n- Try recreating: `docker compose up -d --force-recreate`\n\n## Security Notes\n\n- `.env` contains your IBKR password in plain text — keep it secure\n- `READ_ONLY_API=yes` prevents accidental trades\n- VNC is bound to `127.0.0.1` (localhost only) by default\n- The container auto-restarts daily to maintain connection\n\n## Architecture\n\n```\n┌─────────────┐     ┌──────────────────┐     ┌─────────────┐\n│  OpenClaw   │────►│  ibkr_client.py  │────►│ IB Gateway  │\n│  Agent      │     │  (ib_async)      │     │  (Docker)   │\n└─────────────┘     └──────────────────┘     └──────┬──────┘\n                                                     │\n                                              ┌──────▼──────┐\n                                              │ IBKR Servers│\n                                              │ (live data) │\n                                              └─────────────┘\n```\n\n## Credits\n\n- [gnzsnz\u002Fib-gateway-docker](https:\u002F\u002Fgithub.com\u002Fgnzsnz\u002Fib-gateway-docker) — IB Gateway Docker image\n- [ib_async](https:\u002F\u002Fgithub.com\u002Fib-api-reloaded\u002Fib_async) — Python IBKR API wrapper (maintained fork of ib_insync)\n","# IBKR + OpenClaw Integration\n\nConnect OpenClaw to your Interactive Brokers account for live portfolio monitoring, real-time quotes, technical analysis, and automated Telegram alerts.\n\n## Features\n\n- **Live account data** — NAV, cash, P&L, buying power\n- **Positions** — all holdings with avg cost and exchange\n- **Real-time quotes** — delayed or live market data\n- **Historical K-lines** — daily OHLCV data for technical analysis\n- **Technical indicators** — RSI, MACD, Bollinger Bands, ATR, MA (via ib_async)\n- **Read-only safe** — API configured for read-only access\n\n## Prerequisites\n\n- Interactive Brokers account (live or paper)\n- IBKR Mobile app (for 2FA approval)\n- Docker & Docker Compose installed on your server\n- Python 3.9+ with `ib_async` and `pandas`\n\n## Setup Guide\n\n### Step 1: Install Docker\n\n```bash\ncurl -fsSL https:\u002F\u002Fget.docker.com | sh\ndocker --version\ndocker compose version\n```\n\n### Step 2: Clone IB Gateway Docker\n\nThe IB Gateway runs in a Docker container based on [gnzsnz\u002Fib-gateway-docker](https:\u002F\u002Fgithub.com\u002Fgnzsnz\u002Fib-gateway-docker).\n\n```bash\ncd ~\u002F.openclaw\u002Fworkspace\ngit clone https:\u002F\u002Fgithub.com\u002Fgnzsnz\u002Fib-gateway-docker.git\ncd ib-gateway-docker\n```\n\n### Step 3: Configure Environment\n\nCreate a `.env` file in the `ib-gateway-docker` directory:\n\n```env\n# IBKR Account\nTWS_USERID=your_username\nTWS_PASSWORD=your_password\n\n# Trading mode: live or paper\nTRADING_MODE=live\n\n# Read-only API (recommended for monitoring)\nREAD_ONLY_API=yes\n\n# API settings\nTWS_ACCEPT_INCOMING=auto\nTWS_MASTER_CLIENT_ID=1\n\n# 2FA device name (find in IBKR web portal → Settings → Security)\nTWOFA_DEVICE=IB Key\n\n# 2FA timeout\nTWOFA_TIMEOUT_ACTION=exit\n\n# Timezone\nTIME_ZONE=Asia\u002FSingapore\nTZ=Asia\u002FSingapore\n\n# VNC password (optional, for remote desktop)\nVNC_SERVER_PASSWORD=your_password\n\n# Auto restart (daily maintenance)\nAUTO_RESTART_TIME=23:45\n\n# Save settings between restarts\nSAVE_TWS_SETTINGS=yes\n```\n\n**Important:** Find your `TWOFA_DEVICE` name in your IBKR web portal under:\nSettings → Security → Second Factor Authentication → Devices\n\n### Step 4: Start the Container\n\n```bash\ndocker compose up -d\n```\n\nCheck logs:\n```bash\ndocker logs algo-trader-ib-gateway-1 --tail 20\n```\n\n### Step 5: Approve 2FA\n\nThe Gateway will prompt for 2FA. Approve the notification on your **IBKR Mobile app**.\n\nOnce connected, the API is available on:\n- **Port 4001** → Paper trading API\n- **Port 4002** → Live trading API (read-only if configured)\n\n### Step 6: Install Python Dependencies\n\n```bash\npip install ib_async pandas\n```\n\n### Step 7: Test the Connection\n\n```bash\npython3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fibkr-openclaw\u002Fscripts\u002Fibkr_client.py summary --port 4001\n```\n\nExpected output:\n```\nAccount: ['DU1234567']\n----------------------------------------\nBuyingPower..............      500,000.00\nNetLiquidation...........      125,000.00\nTotalCashValue...........       25,000.00\nStockMarketValue.........      100,000.00\nFuturesPNL...............        -500.00\nUnrealizedPnL............        3,200.00\n```\n\n## CLI Usage\n\n### ibkr_client.py — Account, Positions & Quotes\n\n```bash\n# Account summary\npython3 scripts\u002Fibkr_client.py summary --port 4001\n\n# All positions\npython3 scripts\u002Fibkr_client.py positions --port 4001\n\n# Quick NAV\npython3 scripts\u002Fibkr_client.py nav --port 4001\n\n# Quote a stock\npython3 scripts\u002Fibkr_client.py quote 2800 --exchange SEHK --currency HKD --port 4001\n```\n\n### Getting Historical Data (Python)\n\n```python\nfrom ib_async import IB, Stock\n\nib = IB()\nib.connect('127.0.0.1', 4001, clientId=1, readonly=True)\n\ncontract = Stock('2800', 'SEHK', 'HKD', primaryExchange='SEHK')\nqualified = ib.qualifyContracts(contract)\n\nbars = ib.reqHistoricalData(\n    qualified[0], '', '6 M', '1 day', 'TRADES', True, 1\n)\n\nfor bar in bars[-5:]:\n    print(f\"{bar.date} O:{bar.open} H:{bar.high} L:{bar.low} C:{bar.close} V:{bar.volume}\")\n\nib.disconnect()\n```\n\n## API Port Reference\n\n| Port | Mode | Description |\n|---|---|---|\n| 4001 | Paper | Paper trading API |\n| 4002 | Live | Live trading API |\n| 5900 | VNC | Remote desktop (if VNC enabled) |\n\n## Troubleshooting\n\n### 2FA not arriving\n- Check IBKR Mobile app is logged in with the correct username\n- Verify `TWOFA_DEVICE` matches your device name in IBKR web portal\n- Check phone notification settings for IBKR app\n\n### Connection timeout\n- Ensure the container is running: `docker ps`\n- Check logs: `docker logs algo-trader-ib-gateway-1 --tail 20`\n- The Gateway restarts daily at 23:45 SGT (configured via `AUTO_RESTART_TIME`)\n\n### Read-only errors\n- `READ_ONLY_API=yes` prevents trading but allows all read queries\n- Some ib_async features auto-request write access — ignore those errors\n- Account summary and positions work fine in read-only mode\n\n### Container won't start\n- Check `.env` file has correct credentials\n- Ensure ports 4001, 4002, 5900 are not in use: `netstat -tlnp | grep 400`\n- Try recreating: `docker compose up -d --force-recreate`\n\n## Security Notes\n\n- `.env` contains your IBKR password in plain text — keep it secure\n- `READ_ONLY_API=yes` prevents accidental trades\n- VNC is bound to `127.0.0.1` (localhost only) by default\n- The container auto-restarts daily to maintain connection\n\n## Architecture\n\n```\n┌─────────────┐     ┌──────────────────┐     ┌─────────────┐\n│  OpenClaw   │────►│  ibkr_client.py  │────►│ IB Gateway  │\n│  Agent      │     │  (ib_async)      │     │  (Docker)   │\n└─────────────┘     └──────────────────┘     └──────┬──────┘\n                                                     │\n                                              ┌──────▼──────┐\n                                              │ IBKR Servers│\n                                              │ (live data) │\n                                              └─────────────┘\n```\n\n## Credits\n\n- [gnzsnz\u002Fib-gateway-docker](https:\u002F\u002Fgithub.com\u002Fgnzsnz\u002Fib-gateway-docker) — IB Gateway Docker image\n- [ib_async](https:\u002F\u002Fgithub.com\u002Fib-api-reloaded\u002Fib_async) — Python IBKR API wrapper (maintained fork of ib_insync)\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fi\u002Fibkr-openclaw",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill ibkr-openclaw",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill ibkr-openclaw",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill ibkr-openclaw","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fi\u002Fibkr-openclaw\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]