Close All Positions of Grid Bot (REST)
POST/open_api/grid_bots/:code/close-all
Request closing all open positions of this Grid Bot using the cabinet action. The bot itself stays in its current state and may open positions again. The response acknowledges the request, not completed exchange fills.
Request
Responses
- 200
- 401
- 405
- 429
- 500
Request closing all open positions of this Grid Bot using the cabinet action. The bot itself stays in its current state and may open positions again. The response acknowledges the request, not completed exchange fills.
Authentication error.
Not allowed to perform action.
Rate Limit exceeded.
Response Headers
The maximum number of tokens allowed in the current period
1200The number of remaining tokens in the current period
0Time at which the current rate limit resets (UNIX timestamp in milliseconds)
1773649807000Internal server error.
Response Headers
The maximum number of tokens allowed in the current period
1200The number of remaining tokens in the current period
1050Time at which the current rate limit resets (UNIX timestamp in milliseconds)
1773649807000