Bot Management

close_position

Close 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.

Parameters

NameTypeDescription
botIdstringThe bot ID with the position
percentagenumberPercentage of position to close (1-100)(default: 100)

Example Prompts

Try asking your AI assistant any of these:

Close my BTC position
Take profit on my ETH trade
Close 50% of my SOL position

Start Using close_position

Set up the TradeStaq MCP server in under a minute.