重启网格订单
重启已暂停的网格订单。网格会从保存的配置恢复,并重新开始触发订单。只有此前通过暂停网格订单暂停的网格才能被重启。
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 | 网格订单 ID,例如:764609681686573056 |
Request Example
Response
Response Headers
- Content-Type: application/json
Response Example
json
{
"code": 0,
"message": "success",
"data": {}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | 网格订单重启成功。 | None |
| 400 | 请求被拒绝,请求参数错误。 | None |