From opentradex-trade
Closes OpenTradex paper trading positions by ID via tradex.js CLI, booking realized P&L to ledger. Auto-invokes on 'sell', 'close', 'take profit', 'cut it', or position ID references.
npx claudepluginhub deonmenezes/opentradex --plugin opentradex-tradeThis skill is limited to using the following tools:
Close an open paper position and book realized P&L.
Emergency flattens all open paper positions in OpenTradex at last mark and sets 30-minute trading cooldown. User-invoked only via explicit 'panic', 'flatten', 'close everything', or 'stop'.
Tests trading strategy logic on Kraken spot paper trading via CLI before risking live funds. Validates entry/exit signals, position sizing, rebalances, and error handling.
Enables leveraged perpetual trading on Avantis via natural language prompts for opening long/short positions, stop losses, take profits, and position management on Base chain.
Share bugs, ideas, or general feedback.
Close an open paper position and book realized P&L.
User arguments: $ARGUMENTS — <position-id> [price].
node bin/tradex.js positions
Then ask which one to close.node bin/tradex.js sell $ARGUMENTS