From fcbfe69558444c8ec11b711ab42155c94920dc99 Mon Sep 17 00:00:00 2001 From: Xia Guanghui Date: Wed, 29 Jul 2026 15:03:56 +0800 Subject: [PATCH] docs: add depth level params to attached order docs Sync profit_taker_depth_level/stop_loss_depth_level request params and limit_depth_level response field for attached orders across en/zh-CN/zh-HK. Co-Authored-By: Claude Sonnet 5 --- docs/en/docs/trade/order/history_orders.md | 4 +++- docs/en/docs/trade/order/order_detail.md | 4 +++- docs/en/docs/trade/order/replace.md | 2 ++ docs/en/docs/trade/order/submit.md | 2 ++ docs/en/docs/trade/order/today_orders.md | 4 +++- docs/zh-CN/docs/trade/order/history_orders.md | 4 +++- docs/zh-CN/docs/trade/order/order_detail.md | 4 +++- docs/zh-CN/docs/trade/order/replace.md | 2 ++ docs/zh-CN/docs/trade/order/submit.md | 3 +++ docs/zh-CN/docs/trade/order/today_orders.md | 4 +++- docs/zh-HK/docs/trade/order/history_orders.md | 4 +++- docs/zh-HK/docs/trade/order/order_detail.md | 4 +++- docs/zh-HK/docs/trade/order/replace.md | 2 ++ docs/zh-HK/docs/trade/order/submit.md | 2 ++ docs/zh-HK/docs/trade/order/today_orders.md | 4 +++- 15 files changed, 40 insertions(+), 9 deletions(-) diff --git a/docs/en/docs/trade/order/history_orders.md b/docs/en/docs/trade/order/history_orders.md index 652c2551..b19bdbd5 100644 --- a/docs/en/docs/trade/order/history_orders.md +++ b/docs/en/docs/trade/order/history_orders.md @@ -306,7 +306,8 @@ func main() { "reviewed": false, "activate_order_type": "MIT", "activate_rth": "RTH_ONLY", - "submit_price": "" + "submit_price": "", + "limit_depth_level": 0 } ] } @@ -387,3 +388,4 @@ func main() { | ∟∟ activate_order_type | string | true | Order type submitted after triggering, e.g. `LIT` (limit-if-touched) or `MIT` (market-if-touched) | | ∟∟ activate_rth | string | true | Whether the order submitted after triggering allows pre/post market trading | | ∟∟ submit_price | string | true | Submitted price | +| ∟∟ limit_depth_level | int32 | true | Specifies the bid/ask depth level | diff --git a/docs/en/docs/trade/order/order_detail.md b/docs/en/docs/trade/order/order_detail.md index 64053d1a..5061fe49 100644 --- a/docs/en/docs/trade/order/order_detail.md +++ b/docs/en/docs/trade/order/order_detail.md @@ -329,7 +329,8 @@ func main() { "reviewed": false, "activate_order_type": "MIT", "activate_rth": "RTH_ONLY", - "submit_price": "" + "submit_price": "", + "limit_depth_level": 0 } ] } @@ -434,3 +435,4 @@ Order Information | ∟∟ activate_order_type | string | true | Order type submitted after triggering, e.g. `LIT` (limit-if-touched) or `MIT` (market-if-touched) | | ∟∟ activate_rth | string | true | Whether the order submitted after triggering allows pre/post market trading | | ∟∟ submit_price | string | true | Submitted price | +| ∟∟ limit_depth_level | int32 | true | Specifies the bid/ask depth level | diff --git a/docs/en/docs/trade/order/replace.md b/docs/en/docs/trade/order/replace.md index 194c38b3..77c39140 100644 --- a/docs/en/docs/trade/order/replace.md +++ b/docs/en/docs/trade/order/replace.md @@ -61,6 +61,8 @@ longbridge order replace 693664675163312128 --qty 200 --price 255.00 | attached_params.profit_taker_submit_price | string | NO | Take-profit limit order submitted price, required when `activate_order_type` is `LIT` | | attached_params.stop_loss_submit_price | string | NO | Stop-loss limit order submitted price, required when `activate_order_type` is `LIT` | | attached_params.activate_rth | string | NO | Whether the order submitted after triggering allows pre/post market trading

**Enum Value:**
`RTH_ONLY` - Regular trading hours only
`ANY_TIME` - Any time | +| attached_params.profit_taker_depth_level | int32 | NO | Specifies the bid/ask depth level for the take-profit limit order submitted price, valid when `activate_order_type` is `LIT` | +| attached_params.stop_loss_depth_level | int32 | NO | Specifies the bid/ask depth level for the stop-loss limit order submitted price, valid when `activate_order_type` is `LIT` | ### Request Example diff --git a/docs/en/docs/trade/order/submit.md b/docs/en/docs/trade/order/submit.md index ed8cfd17..2422f2ab 100644 --- a/docs/en/docs/trade/order/submit.md +++ b/docs/en/docs/trade/order/submit.md @@ -61,6 +61,8 @@ longbridge order sell TSLA.US 100 --price 260.00 | attached_params.profit_taker_submit_price | string | NO | Take-profit limit order submitted price, required when `activate_order_type` is `LIT` | | attached_params.stop_loss_submit_price | string | NO | Stop-loss limit order submitted price, required when `activate_order_type` is `LIT` | | attached_params.activate_rth | string | NO | Whether the order submitted after triggering allows pre/post market trading

**Enum Value:**
`RTH_ONLY` - Regular trading hours only
`ANY_TIME` - Any time | +| attached_params.profit_taker_depth_level | int32 | NO | Specifies the bid/ask depth level for the take-profit limit order submitted price, valid when `activate_order_type` is `LIT` | +| attached_params.stop_loss_depth_level | int32 | NO | Specifies the bid/ask depth level for the stop-loss limit order submitted price, valid when `activate_order_type` is `LIT` | ### Idempotency diff --git a/docs/en/docs/trade/order/today_orders.md b/docs/en/docs/trade/order/today_orders.md index 18936af6..01f550e9 100644 --- a/docs/en/docs/trade/order/today_orders.md +++ b/docs/en/docs/trade/order/today_orders.md @@ -299,7 +299,8 @@ func main() { "reviewed": false, "activate_order_type": "MIT", "activate_rth": "RTH_ONLY", - "submit_price": "" + "submit_price": "", + "limit_depth_level": 0 } ] } @@ -379,3 +380,4 @@ func main() { | ∟∟ activate_order_type | string | true | Order type submitted after triggering, e.g. `LIT` (limit-if-touched) or `MIT` (market-if-touched) | | ∟∟ activate_rth | string | true | Whether the order submitted after triggering allows pre/post market trading | | ∟∟ submit_price | string | true | Submitted price | +| ∟∟ limit_depth_level | int32 | true | Specifies the bid/ask depth level | diff --git a/docs/zh-CN/docs/trade/order/history_orders.md b/docs/zh-CN/docs/trade/order/history_orders.md index 5e356a62..d1bf5b84 100644 --- a/docs/zh-CN/docs/trade/order/history_orders.md +++ b/docs/zh-CN/docs/trade/order/history_orders.md @@ -305,7 +305,8 @@ func main() { "reviewed": false, "activate_order_type": "MIT", "activate_rth": "RTH_ONLY", - "submit_price": "" + "submit_price": "", + "limit_depth_level": 0 } ] } @@ -386,3 +387,4 @@ func main() { | ∟∟ activate_order_type | string | true | 触发后提交的订单类型,例如 `LIT`(限价单)或 `MIT`(市价单) | | ∟∟ activate_rth | string | true | 触发后提交订单是否允许盘前盘后。| | ∟∟ submit_price | string | true | 委托价格 | +| ∟∟ limit_depth_level | int32 | true | 指定买卖档位 | diff --git a/docs/zh-CN/docs/trade/order/order_detail.md b/docs/zh-CN/docs/trade/order/order_detail.md index ab808bbf..d0925c4f 100644 --- a/docs/zh-CN/docs/trade/order/order_detail.md +++ b/docs/zh-CN/docs/trade/order/order_detail.md @@ -328,7 +328,8 @@ func main() { "reviewed": false, "activate_order_type": "MIT", "activate_rth": "RTH_ONLY", - "submit_price": "" + "submit_price": "", + "limit_depth_level": 0 } ] } @@ -433,3 +434,4 @@ func main() { | ∟∟ activate_order_type | string | true | 触发后提交的订单类型,例如 `LIT`(限价单)或 `MIT`(市价单) | | ∟∟ activate_rth | string | true | 触发后提交订单是否允许盘前盘后。 | | ∟∟ submit_price | string | true | 委托价格 | +| ∟∟ limit_depth_level | int32 | true | 指定买卖档位 | diff --git a/docs/zh-CN/docs/trade/order/replace.md b/docs/zh-CN/docs/trade/order/replace.md index a54ca328..a75eebf0 100644 --- a/docs/zh-CN/docs/trade/order/replace.md +++ b/docs/zh-CN/docs/trade/order/replace.md @@ -61,6 +61,8 @@ longbridge order replace 693664675163312128 --qty 200 --price 255.00 | attached_params.profit_taker_submit_price | string | NO | 止盈限价委托价格,`activate_order_type` 为 `LIT` 时必填 | | attached_params.stop_loss_submit_price | string | NO | 止损限价委托价格,`activate_order_type` 为 `LIT` 时必填 | | attached_params.activate_rth | string | NO | 触发后提交的订单是否允许盘前盘后

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
`ANY_TIME` - 允许盘前盘后 | +| attached_params.profit_taker_depth_level | int32 | NO | 止盈限价委托价格的买卖档位,`activate_order_type` 为 `LIT` 时有效 | +| attached_params.stop_loss_depth_level | int32 | NO | 止损限价委托价格的买卖档位,`activate_order_type` 为 `LIT` 时有效 | ### Request Example diff --git a/docs/zh-CN/docs/trade/order/submit.md b/docs/zh-CN/docs/trade/order/submit.md index 400555ce..593a2f0f 100644 --- a/docs/zh-CN/docs/trade/order/submit.md +++ b/docs/zh-CN/docs/trade/order/submit.md @@ -57,6 +57,9 @@ longbridge order sell TSLA.US 100 --price 260.00 | attached_params.profit_taker_submit_price | string | NO | 止盈限价委托价格,`activate_order_type` 为 `LIT` 时必填 | | attached_params.stop_loss_submit_price | string | NO | 止损限价委托价格,`activate_order_type` 为 `LIT` 时必填 | | attached_params.activate_rth | string | NO | 触发后提交的订单是否允许盘前盘后

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
`ANY_TIME` - 允许盘前盘后 | +| attached_params.profit_taker_depth_level | int32 | NO | 止盈限价委托价格的买卖档位,`activate_order_type` 为 `LIT` 时有效 | +| attached_params.stop_loss_depth_level | int32 | NO | 止损限价委托价格的买卖档位,`activate_order_type` 为 `LIT` 时有效 | + ## 幂等性 diff --git a/docs/zh-CN/docs/trade/order/today_orders.md b/docs/zh-CN/docs/trade/order/today_orders.md index 41d94126..cf8ea86b 100644 --- a/docs/zh-CN/docs/trade/order/today_orders.md +++ b/docs/zh-CN/docs/trade/order/today_orders.md @@ -298,7 +298,8 @@ func main() { "reviewed": false, "activate_order_type": "MIT", "activate_rth": "RTH_ONLY", - "submit_price": "" + "submit_price": "", + "limit_depth_level": 0 } ] } @@ -378,3 +379,4 @@ func main() { | ∟∟ activate_order_type | string | true | 触发后提交的订单类型,例如 `LIT`(限价单)或 `MIT`(市价单) | | ∟∟ activate_rth | string | true | 触发后提交订单是否允许盘前盘后。| | ∟∟ submit_price | string | true | 委托价格 | +| ∟∟ limit_depth_level | int32 | true | 指定买卖档位 | diff --git a/docs/zh-HK/docs/trade/order/history_orders.md b/docs/zh-HK/docs/trade/order/history_orders.md index 317cfc16..439a6f43 100644 --- a/docs/zh-HK/docs/trade/order/history_orders.md +++ b/docs/zh-HK/docs/trade/order/history_orders.md @@ -305,7 +305,8 @@ func main() { "reviewed": false, "activate_order_type": "MIT", "activate_rth": "RTH_ONLY", - "submit_price": "" + "submit_price": "", + "limit_depth_level": 0 } ] } @@ -386,3 +387,4 @@ func main() { | ∟∟ activate_order_type | string | true | 觸發後提交的訂單類型,例如 `LIT`(限價單)或 `MIT`(市價單) | | ∟∟ activate_rth | string | true | 觸發後提交訂單是否允許盤前盤後。| | ∟∟ submit_price | string | true | 委託價格 | +| ∟∟ limit_depth_level | int32 | true | 指定買賣檔位 | diff --git a/docs/zh-HK/docs/trade/order/order_detail.md b/docs/zh-HK/docs/trade/order/order_detail.md index bc15abd4..f25fbe9b 100644 --- a/docs/zh-HK/docs/trade/order/order_detail.md +++ b/docs/zh-HK/docs/trade/order/order_detail.md @@ -328,7 +328,8 @@ func main() { "reviewed": false, "activate_order_type": "MIT", "activate_rth": "RTH_ONLY", - "submit_price": "" + "submit_price": "", + "limit_depth_level": 0 } ] } @@ -433,3 +434,4 @@ func main() { | ∟∟ activate_order_type | string | true | 觸發後提交的訂單類型,例如 `LIT`(限價單)或 `MIT`(市價單) | | ∟∟ activate_rth | string | true | 觸發後提交訂單是否允許盤前盤後。 | | ∟∟ submit_price | string | true | 委託價格 | +| ∟∟ limit_depth_level | int32 | true | 指定買賣檔位 | diff --git a/docs/zh-HK/docs/trade/order/replace.md b/docs/zh-HK/docs/trade/order/replace.md index 217db591..ada8aa71 100644 --- a/docs/zh-HK/docs/trade/order/replace.md +++ b/docs/zh-HK/docs/trade/order/replace.md @@ -61,6 +61,8 @@ longbridge order replace 693664675163312128 --qty 200 --price 255.00 | attached_params.profit_taker_submit_price | string | NO | 止盈限價委託價格,`activate_order_type` 為 `LIT` 時必填 | | attached_params.stop_loss_submit_price | string | NO | 止損限價委託價格,`activate_order_type` 為 `LIT` 時必填 | | attached_params.activate_rth | string | NO | 觸發後提交的訂單是否允許盤前盤後

**可選值:**
`RTH_ONLY` - 不允許盤前盤後
`ANY_TIME` - 允許盤前盤後 | +| attached_params.profit_taker_depth_level | int32 | NO | 止盈限價委託價格的買賣檔位,`activate_order_type` 為 `LIT` 時有效 | +| attached_params.stop_loss_depth_level | int32 | NO | 止損限價委託價格的買賣檔位,`activate_order_type` 為 `LIT` 時有效 | ### Request Example diff --git a/docs/zh-HK/docs/trade/order/submit.md b/docs/zh-HK/docs/trade/order/submit.md index dd92ba21..5a197729 100644 --- a/docs/zh-HK/docs/trade/order/submit.md +++ b/docs/zh-HK/docs/trade/order/submit.md @@ -61,6 +61,8 @@ longbridge order sell TSLA.US 100 --price 260.00 | attached_params.profit_taker_submit_price | string | NO | 止盈限價委託價格,`activate_order_type` 為 `LIT` 時必填 | | attached_params.stop_loss_submit_price | string | NO | 止損限價委託價格,`activate_order_type` 為 `LIT` 時必填 | | attached_params.activate_rth | string | NO | 觸發後提交的訂單是否允許盤前盤後

**可選值:**
`RTH_ONLY` - 不允許盤前盤後
`ANY_TIME` - 允許盤前盤後 | +| attached_params.profit_taker_depth_level | int32 | NO | 止盈限價委託價格的買賣檔位,`activate_order_type` 為 `LIT` 時有效 | +| attached_params.stop_loss_depth_level | int32 | NO | 止損限價委託價格的買賣檔位,`activate_order_type` 為 `LIT` 時有效 | ### 冪等性 diff --git a/docs/zh-HK/docs/trade/order/today_orders.md b/docs/zh-HK/docs/trade/order/today_orders.md index b82141f2..49dcd9f9 100644 --- a/docs/zh-HK/docs/trade/order/today_orders.md +++ b/docs/zh-HK/docs/trade/order/today_orders.md @@ -298,7 +298,8 @@ func main() { "reviewed": false, "activate_order_type": "MIT", "activate_rth": "RTH_ONLY", - "submit_price": "" + "submit_price": "", + "limit_depth_level": 0 } ] } @@ -378,3 +379,4 @@ func main() { | ∟∟ activate_order_type | string | true | 觸發後提交的訂單類型,例如 `LIT`(限價單)或 `MIT`(市價單) | | ∟∟ activate_rth | string | true | 觸發後提交訂單是否允許盤前盤後。| | ∟∟ submit_price | string | true | 委託價格 | +| ∟∟ limit_depth_level | int32 | true | 指定買賣檔位 |