Skip to main content

Stop Grid Bot (REST)


Permissions: grid_bot:write
Weight: 2
POST 

/open_api/grid_bots/:code/stop

Stop a running Grid Bot through the cabinet action. stop_only keeps positions open; stop_and_close_all requests closing them; stop_and_close_all_and_convert_to_profit_currency also converts proceeds and is spot only. For webhook bots, awaitStartSignal true moves to waiting for a new start alert; false stops fully. The cabinet form defaults to true for webhook bots, but this API defaults to false if omitted. A 2FA response of {"2faComplete":false} means no change was made.

Request​

Responses​

Stop a running Grid Bot through the cabinet action. stop_only keeps positions open; stop_and_close_all requests closing them; stop_and_close_all_and_convert_to_profit_currency also converts proceeds and is spot only. For webhook bots, awaitStartSignal true moves to waiting for a new start alert; false stops fully. The cabinet form defaults to true for webhook bots, but this API defaults to false if omitted. A 2FA response of {"2faComplete":false} means no change was made.