closeFGridBot
Closes a running futures grid trading bot, canceling pending orders and closing positions. Requires bot_id for execution.
Instructions
Closes (stops) a running futures grid trading bot. The bot will cancel all pending grid orders and close positions.
The bot_id can be obtained from the createFGridBot response or from getFGridDetail. Only bots in a running state can be closed.
Rate limit: 10 requests per second per UID.
Agent hint: Use this to stop a running grid bot. The bot_id is required and can be found in the createFGridBot response. After closing, use getFGridDetail to check the final PnL and close reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes |