Close All Grid Bot Positions (MCP Tool)
Description
Request closing every open Grid Bot position without stopping the bot. It may open new positions later. The response confirms the request, not exchange fills.
Required permission: grid_bot:write.
Prompt example
Close all open positions of Grid Bot bot-code.
Input Schema
{
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"description": "Code that identifies the bot, available in bot list results."
}
},
"required": [
"code"
],
"additionalProperties": false
}