close_positionClose an open trading position at market price. Use this for emergency exits, taking profits, or cleaning up positions after stopping a bot. Supports partial closes.
| Name | Type | Description |
|---|---|---|
botId | string | The bot ID with the position |
percentage | number | Percentage of position to close (1-100)(default: 100) |
Try asking your AI assistant any of these:
get_positionsList all your open trading positions across connected exchanges. Shows entry price, current P&L, lev
stop_botStop a running trading bot. The bot will stop taking new trades but existing positions remain open u
get_bot_statusGet detailed status for a specific trading bot including current position, P&L, runtime, last signal
Set up the TradeStaq MCP server in under a minute.