closeComboBot
Close a running futures combo trading bot by providing its bot ID. This stops the bot, cancels pending orders, and closes all positions across the portfolio.
Instructions
Closes (stops) a running futures combo trading bot. The bot will cancel all pending orders and close all positions across the portfolio.
The bot_id can be obtained from the createComboBot response or from getComboDetail. 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 combo bot. The bot_id is required and can be found in the createComboBot response. The stop_type indicates the reason for closing. After closing, use getComboDetail to check the final PnL and close reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | ||
| stop_type | No |