claude

opentradex

Talk to your local OpenTradex trading gateway from Claude Code. Scan markets, check risk, show positions, and run trading commands against the paper-first harness on port 3210.

1 on GitHubby Deon Menezesv1.0.0MITupdated 4 months ago

Not in a marketplace yet, so it loads for one session with --plugin-dir.

Plugin opentradex in deonmenezes/opentradex-harness. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (6)

  • ask-opentradex

    Route a freeform trading question through the OpenTradex AI (/api/command). Use when the user explicitly wants the OpenTradex copilot to answer (not Claude itself) — so they get the persona, memory, and role-based reasoning from the harness.

  • check-risk

    Check the OpenTradex trader's current risk state — daily P&L, open positions, cap utilization, halted flag. Use when the user asks about risk, exposure, "how am I doing", drawdown, or whether they can take another trade.

  • gateway-status

    Check whether the OpenTradex gateway is running and what mode it's in (paper-only / paper-default / live-allowed). Use when the user asks if the gateway is up, what mode it's in, which exchanges are live, or to troubleshoot a connection.

  • panic-flatten

    MANUAL-ONLY. Emergency-flatten every open OpenTradex position. Never auto-invoked. Only runs when the user explicitly types /opentradex:panic-flatten.

  • scan-markets

    Scan OpenTradex-enabled exchanges (Kalshi, Polymarket, Alpaca, crypto) for live markets. Use when the user asks to find trading opportunities, scan markets, see what's moving, or look for candidates to trade.

  • show-positions

    Show the OpenTradex user's open positions with unrealized P&L. Use when the user asks about positions, the blotter, what they're holding, or P&L on a specific ticker.

Subagents (3)

  • coach

    Post-trade reviewer for OpenTradex. Reads the blotter, spots patterns, tells the user what they're doing well and what's leaking money. Use when the user asks how they're doing, to review today's trades, or for a weekly recap.

  • risk-officer

    Pre-trade gatekeeper for OpenTradex. Checks position sizing against configured caps, daily loss cap, max open positions, and drawdown kill. Use PROACTIVELY before any trade execution and when the user asks "can I take another trade" or "am I at my limit".

  • scout

    Market reconnaissance specialist for OpenTradex. Scans Kalshi / Polymarket / Alpaca / crypto rails and surfaces 3–5 candidates that match the user's trading style. Use PROACTIVELY when the user asks what's worth a look, what's moving, or to find trading ideas.

Hooks (1)

  • SessionStart

    bash -c 'curl -s --max-time 2 http://127.0.0.1:3210/api/ >/dev/null 2>&1 && echo "[opentradex] gateway up on 3210" || echo "[opentradex] gateway not running — start with: npx opentradex run"'

View source on GitHub

More from deonmenezes/opentradex-harness

All 2 plugins →

Paper-trade across Kalshi, Polymarket, Alpaca, and Coinbase from a Claude Code session. Onboarding is just API keys; v1 is paper-only.

9 skills · 3 agents

1

Similar plugins

Neural trading strategies — self-learning LSTM/Transformer/N-BEATS models with Rust/NAPI backtesting

9 skills · 1 command · 4 agents

ruvnet/ruflo 81,589

last30days

claudecodex

Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.

1 skill

mvanhorn/last30days-skill 67,453

The official CCXT MCP server plus the ccxt-mcp usage skill — market data, balances and opt-in trading across 100+ crypto exchanges and prediction markets, with keys kept local.

1 MCP server

ccxt/ccxt 44,873

Quantitative analysis, algorithmic trading strategies, financial modeling, portfolio risk management, and backtesting

2 skills · 2 agents

wshobson/agents 42,461

LSEG

claude

Price bonds, analyze yield curves, evaluate FX carry trades, value options, and build macro dashboards using LSEG financial data and analytics.

8 skills · 8 commands · 1 MCP server

anthropics/financial-services 41,259

LSEG

claude

Price bonds, analyze yield curves, evaluate FX carry trades, value options, and build macro dashboards using LSEG financial data and analytics.

8 skills · 8 commands · 1 MCP server

anthropics/knowledge-work-plugins 35,601

Maintain opentradex?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins2 plugins