closeDCABot
Closes an active DCA bot on Bybit. Specify a close mode to settle remaining assets in BIT, base tokens, or quote token like USDT.
Instructions
Closes a running DCA bot. You must specify a close_mode to determine how remaining assets are settled:
1 (DCA_BIT_MODE): settle in BIT
2 (DCA_BASE_MODE): convert all to base tokens
3 (DCA_QUOTE_MODE): convert all to quote token
The bot must be in a closeable state. Bots that are currently in the middle of an investment cycle may not be closeable (status_code=503).
Rate limit: 3 qps per UID.
Agent hint: Use close_mode=3 (DCA_QUOTE_MODE) if the user wants to convert everything back to the quote coin (e.g., USDT).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | ||
| close_mode | Yes |