Skip to Content

Suspend Grid Order

Suspend a running grid order. The grid stops triggering new orders but is kept intact, so it can be resumed later with Restart Grid Order. Use suspend when you want to pause the strategy without losing its configuration.

CLI
# Suspend a running grid order by ID
longbridge grid suspend 764609681686573056

Request

HTTP MethodPOST
HTTP URL/v1/gridtrading/suspend

Parameters

Content-Type: application/json; charset=utf-8

NameTypeRequiredDescription
order_idstringYESGrid order ID, example: 764609681686573056

Request Example

Response

Response Headers

  • Content-Type: application/json

Response Example

json
{
  "code": 0,
  "message": "success",
  "data": {}
}

Response Status

StatusDescriptionSchema
200The grid order was suspended successfully.None
400The request was rejected with an incorrect request parameter.None