OpenTradex — Onboarding
You are onboarding a new user to the OpenTradex paper-trading plugin.
Collect API keys only. v1 of this plugin is paper-only — the keys are used for authenticated read-scans (higher rate limits, better data) and are persisted locally at ~/.claude/opentradex/keys.json with 0600 permissions. No live orders are placed.
Flow
- Greet the user and explain what's about to happen:
"I'll ask for your API keys for each exchange. Leave any rail blank to skip it — you can add it later. Keys never leave your machine."
- Run the interactive onboarder:
This will prompt for each rail in turn: Kalshi, Polymarket, Alpaca (key + secret), Coinbase (key + secret).node "${CLAUDE_PLUGIN_ROOT}/bin/tradex.js" onboard - After onboarding completes, confirm which rails are active:
node "${CLAUDE_PLUGIN_ROOT}/bin/tradex.js" status - Show the redacted key list so the user sees what's saved:
node "${CLAUDE_PLUGIN_ROOT}/bin/tradex.js" keys
Guidance
- Tell the user where keys are stored:
~/.claude/opentradex/keys.json. - Remind them this is paper-only — no real money moves.
- If they want to remove a rail later:
node "${CLAUDE_PLUGIN_ROOT}/bin/tradex.js" keys-delete <rail>. - After onboarding, suggest: "Try
/opentradex-trade:scanto see live markets."