Restart Grid Order
Restart a suspended grid order. The grid resumes from its saved configuration and begins triggering orders again. Only a grid previously paused with Suspend Grid Order can be restarted.
SDK Links
Python | longbridge.openapi.GridContext.restart |
Rust | longbridge::grid::GridContext#restart |
Node.js | GridContext#restart |
Java | GridContext.getRestart |
C++ | longbridge::grid::GridContext::restart |
Request
| HTTP Method | POST |
| HTTP URL | /v1/gridtrading/restart |
Parameters
Content-Type: application/json; charset=utf-8
| Name | Type | Required | Description |
|---|---|---|---|
| order_id | string | YES | Grid order ID, example: 764609681686573056 |
Request Example
Response
Response Headers
- Content-Type: application/json
Response Example
json
{
"code": 0,
"message": "success",
"data": {}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | The grid order was restarted successfully. | None |
| 400 | The request was rejected with an incorrect request parameter. | None |