Portfolio for Claude, Cursor, ChatGPT & agents

Local portfolio positions + honest P&L marks

Install in one command.
curl -fsSL https://tradeloop.top/install.sh | sh

macOS / Linux. Windows + manual install.

What it does

Local portfolio positions + honest P&L marks. Track what you hold (stocks & crypto, longs and shorts, multi-currency — 0700.HK in HKD, 7203.T in JPY, .L in London pence) in a local file on your device, then mark it to market through an honest source chain: Polygon live snapshot → key-free Yahoo quote batch → Polygon EOD, every mark labeled live|delayed|eod with timestamp and source, non-USD values converted to USD via disclosed Yahoo FX rates. pnl() can also compare the book against a benchmark (SPY etc. over 1mo–1y, current-weights caveat stated). Closes and qty reductions append to a realized-P&L ledger (research record — NOT tax lots, no wash-sale logic), and risk() reports the correlation matrix, beta vs SPY and annualized vol in pure arithmetic. Research, not advice, no trade execution.

The Portfolio skill is one of 40+ pre-wired TradeLoop integrations that any MCP-compatible client — Claude Desktop, Claude Code, Cursor, Windsurf, Codex CLI, and ChatGPT desktop — can call out of the box. You don't configure MCP servers or copy API keys into a JSON file; the TradeLoop daemon discovers the skill at startup and exposes its tools to whichever AI client is running.

Sample prompts

Once TradeLoop is installed and Portfolio is connected, ask your agent something like:

Tools available (9)

How to connect

Portfolio needs a provider API key to talk to polygon. Connect it from the TradeLoop dashboard:

  1. Run curl -fsSL https://tradeloop.top/install.sh | sh on macOS / Linux (or the PowerShell command on Windows).
  2. Run tradeloop login to create your account and a device-bound encryption key.
  3. Visit tradeloop.top/connect and authorize Portfolio.
  4. Run tradeloop update to sync the skill + credentials to every installed AI client.

Pricing

Free at every TradeLoop tier. Connect your account once at /connect; the OAuth or API-key credential stays encrypted on your machine and syncs to your other devices via the TradeLoop vault.

See the full TradeLoop pricing breakdown — Free $0/mo, Pro $29/mo, Ultra $99/mo — on the homepage.

Related

Looking at Portfolio? You may also want:

  • Broker (read-only) see your live positions, balances, orders and account equity from Interactive Brokers, Alpaca, and Binance
  • Charts Render a trend chart the model can SEE
  • China Market (A股/港股) A股 and Hong Kong market data, key-free from Sina/Tencent public endpoints: realtime quotes (A-share level-1 with the 5-level order book and 委比 book-pressure, HK quotes with 52w range), daily/weekly...
  • Trade Coach Trade review (复盘) coach from your REAL fills: imports executed trades from the broker skill (IBKR Flex / Alpaca, read-only) or any broker CSV export (English or Chinese headers, Futu/Tiger style, U...
  • CoinGecko live crypto prices, market caps, 24h moves, historical charts, trending coins, and coin search across thousands of tokens

Or browse all 40 skills in the TradeLoop catalog.

Loading skill details…