Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By deonmenezes
Paper-trade across Kalshi, Polymarket, Alpaca, and Coinbase from a Claude Code session. Place and close positions, scan live markets, view open positions and P&L, and get pre-trade risk checks and post-trade coaching via a conversational copilot.
npx claudepluginhub deonmenezes/opentradex-cockpit --plugin opentradex-tradePost-trade coach. Use after a closed trade (especially a losing one) or when the user asks for a process review. The coach looks at recent trades, identifies a single repeatable pattern, and offers one concrete adjustment. Not a therapist, not a cheerleader.
Pre-trade risk gate. Use whenever a buy is about to be placed — the officer reviews open exposure, daily P&L, panic cooldown, and rail concentration, then either approves the trade with a recommended size or blocks it with a reason. Conservative by default.
Market scout that discovers and ranks candidate trades across enabled rails. Use when the user wants ideas but hasn't named a symbol. Scans all enabled rails, filters by liquidity and fit, returns a short ranked shortlist with one-line theses. Never places orders.
Open a paper long position on any enabled rail — Kalshi, Polymarket, Alpaca, or Coinbase. Invoke when the user says "buy", "go long", "paper long", "yes on <market>", or confirms a suggested entry. Requires rail, symbol, qty; price is optional (defaults to a mid-market mark).
Open a local web dashboard showing open positions, exposure, daily P&L, and recent trades. Invoke when the user says "dashboard", "open dashboard", "show my book", "pnl screen", or asks to visualise their paper-trading state. Runs a zero-dependency HTTP server on 127.0.0.1 and prints the URL.
One-time interactive setup that stores API keys for Kalshi, Polymarket, Alpaca, and Coinbase so OpenTradex can scan markets and paper-trade. Invoke this the very first time a user says "set up OpenTradex", "add my keys", or "start trading". Safe to re-run to add or update a rail.
Emergency flatten — closes ALL open paper positions at their last mark and sets a 30-minute trading cooldown. Never auto-invoke. Only run when the user explicitly types "panic", "flatten", "close everything", or "stop".
Show all open paper positions with entry, mark, and unrealized P&L. Invoke when the user says "positions", "what am I holding", "book", "blotter", or checks in on open trades.
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Agent-first CLI for trading crypto, stocks, forex, and derivatives on Kraken. Paper trading by default; live trading opt-in via API keys.
Agent-first CLI for the Crypto.com Exchange API. Market data by default; live trading opt-in via API keys. Available --services: market (default), trade, account, advanced, margin, staking, funding, fiat. Update args in MCP settings to expand capabilities.
Integration with Bankr API for crypto trading, market analysis, and Polymarket predictions
No description provided.
Multi-DEX perpetual futures CLI + MCP server for AI agents — Pacifica (Solana), Hyperliquid (HyperEVM), Lighter (Ethereum), Aster (BNB Chain). Trade, bridge, arb, and manage positions via natural language.
Trading Skills — live AI crypto trading signals with entry, SL, TP, leverage, confidence, verification with P&L tracking. Free during beta.
Build a shared 3D world through Claude. CRDT-synced; what you build appears live at https://www.jogabysa.com for everyone, instantly.
Paper-trade across Kalshi, Polymarket, Alpaca, and Coinbase from a Claude Code session. Onboarding collects API keys; a tiny Node helper handles scan/order/ledger for all rails. v1 is paper-only.
The open-source trading cockpit. One harness. Every market. Paper by default. Your keys, your rules.

Every serious trader ends up juggling ten tabs, three terminals, a TradingView chart, a half-broken Polymarket script, and a Slack channel full of signals nobody has time to read.
OpenTradex is the command cockpit that replaces the tab sprawl. A single dashboard that speaks to prediction markets, equities, crypto, and forex through one AI-driven harness — local-first, paper-by-default, and fully yours.
scan markets -> AI filters signal -> you approve trade -> paper fill -> review
No SaaS. No account. No telemetry. Your API keys stay on your machine.
| 12 connectors | Polymarket · Kalshi · TradingView · Alpaca · IBKR · Binance · Coinbase · OANDA · MetaTrader 5 · Dukascopy · Robinhood · DraftKings |
| Houston-style cockpit | Resizable 3-pane dark terminal inspired by pro trading desks |
| AI harness | Bring your own model — Anthropic, Google, OpenAI-compatible, or local CLIs |
| Real-time wire | Native WebSocket with SSE fallback for positions, trades, and news |
| Paper-first safety | Live trading is gated behind a 24h lock + explicit mode flip |
| Ships everywhere | npm CLI · Web dashboard · Electron desktop · iOS SwiftUI · Expo mobile |
| Your keys only | All creds in ~/.opentradex/config.json — nothing leaves the machine |
npx opentradex onboard --paper-only && npx opentradex run
Grab the signed installer from Releases — Windows builds are Authenticode-signed, macOS builds are Developer ID-signed and notarized, so no SmartScreen or Gatekeeper warnings on install.
Prefer to build it yourself (unsigned dev build)?
git clone https://github.com/deonmenezes/opentradex.git
cd opentradex
npm install
npm run build:all
npm run build:desktop:win # or :mac / :linux
Installer lands in packages/desktop/release/. Code-signing is automatically skipped
when the env vars below are absent, so local dev builds always work.
The .github/workflows/release.yml pipeline picks these up on tag push (git tag v1.0.0 && git push --tags):
| Variable | Purpose |
|---|---|
CSC_LINK | Windows .pfx cert (path or base64) for Authenticode |
CSC_KEY_PASSWORD | Password for the .pfx |
APPLE_ID | Apple ID email for notarization |
APPLE_APP_SPECIFIC_PASSWORD | App-specific password from appleid.apple.com |
APPLE_TEAM_ID | 10-character Team ID from developer.apple.com |
Store these as GitHub Actions secrets. They are never logged and never bundled into the installer.
# iOS (SwiftUI, native)
open packages/ios/OpenTradex/OpenTradex.xcodeproj
# Android / iOS (Expo)
cd packages/mobile && npm install && npx expo start
# 1. First-time setup — pick your rails, set paper mode, drop in API keys
opentradex onboard
# 2. Boot the gateway (HTTP + WS on :3210)
opentradex run
# 3. Open the cockpit
npm run ui # web
npm run desktop # Electron
Then tell it what to do:
> scan all markets and propose the best trade under $50 risk
> close BTC-EOY-120K on kalshi
> analyze "Fed cut September" news from reuters
> panic