Trade

Suspend Grid Order

POSThttps://openapi.longbridge.com/v1/gridtrading/suspend

Authorization

Signed mode: every request is signed with your App Key/Secret. Header set:

NameTypeRequiredDescription
Authorizationstring · headerRequiredThe account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation.
X-Api-Keystring · headerRequiredYour App Key.
X-Timestampstring · headerRequiredRequest timestamp in seconds (Unix epoch).
X-Api-Signaturestring · headerRequiredHMAC-SHA256 signature. Format: HMAC-SHA256 SignedHeaders=authorization;x-api-key;x-timestamp, Signature=.

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

Request body

NameTypeRequiredDescription
order_idstringRequiredGrid order ID, example: `764609681686573056`

Response

Response JSON example

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

Error code

See the Error Codes page for the full list of error codes.