sell
takes only quantity (shares, fractional ok); optional limitprice for a LIMIT sell. IBKR does not allow selling by dollar amount — cashQty is buy-only.
How to use it
sell is exposed by the Agentic Trading MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the sell tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Agentic Trading MCP
$
pip install -e ".[dev]"