diff --git a/docs/en/docs/trade/order/history_orders.md b/docs/en/docs/trade/order/history_orders.md index 662d52992..b4aa78143 100644 --- a/docs/en/docs/trade/order/history_orders.md +++ b/docs/en/docs/trade/order/history_orders.md @@ -95,7 +95,10 @@ print(resp) "trigger_price": "", "trigger_status": "NOT_USED", "updated_at": "1651644898", - "remark": "" + "remark": "", + "limit_depth_level": 0, + "monitor_price": "", + "trigger_count": 1 } ] } @@ -149,3 +152,6 @@ print(resp) | ∟ currency | string | true | Currency | | ∟ outside_rth | string | true | Enable or disable outside regular trading hours
Default is `UnknownOutsideRth` when the order is not a US stock

**Enum Value:**
`RTH_ONLY` - Regular trading hour only
`ANY_TIME` - Any time
`OVERNIGHT` - Overnight" | | ∟ remark | string | true | Remark | +| ∟ limit_depth_level | int32 | true | Specifies the bid/ask depth level | +| ∟ monitor_price | string | true | Monitoring price | +| ∟ trigger_count | int32 | true | Number of triggers | diff --git a/docs/en/docs/trade/order/order_detail.md b/docs/en/docs/trade/order/order_detail.md index 9640447f1..48845ca01 100644 --- a/docs/en/docs/trade/order/order_detail.md +++ b/docs/en/docs/trade/order/order_detail.md @@ -79,6 +79,9 @@ print(resp) "trailing_amount": "", "trailing_percent": "", "limit_offset": "", + "limit_depth_level": 0, + "monitor_price": "", + "trigger_count": 1, "trigger_status": "NOT_USED", "outside_rth": "ANY_TIME", "currency": "USD", @@ -201,3 +204,6 @@ Order Information | ∟∟∟ name | string | true | Charge name | | ∟∟∟ amount | string | true | Charge amount | | ∟∟∟ currency | string | true | Charge currency | +| ∟∟∟ limit_depth_level | int32 | true | Specifies the bid/ask depth level | +| ∟∟∟ monitor_price | string | true | Monitoring price | +| ∟∟∟ trigger_count | int32 | true | Number of triggers | diff --git a/docs/en/docs/trade/order/replace.md b/docs/en/docs/trade/order/replace.md index 46e46a9cb..5deaa5cbe 100644 --- a/docs/en/docs/trade/order/replace.md +++ b/docs/en/docs/trade/order/replace.md @@ -32,10 +32,13 @@ This API is used to replace order, modify quantity or price. | quantity | string | YES | Replaced quantity, example: `100` | | price | string | NO | Replaced price, example: `388.5`

`LO` / `ELO` / `ALO` / `ODD` / `LIT` Order Required | | trigger_price | string | NO | Trigger price, example: `388.5`

`LIT` / `MIT` Order Required | -| limit_offset | string | NO | Limit offset amount

`TSLPAMT` / `TSLPPCT` Order Required | +| limit_offset | string | NO | Limit offset amount

`TSLPAMT` / `TSLPPCT` Order Required when`limit_depth_level` is set to 0 | | trailing_amount | string | NO | Trailing amount

`TSLPAMT` Order Required | | trailing_percent | string | NO | Trailing percent

`TSLPPCT` Order Required | | remark | string | NO | Remark (Maximum 64 characters) | +| limit_depth_level | int32 | NO | Specifies the bid/ask depth level. `TSLPAMT` / `TSLPPCT` Order Required | +| monitor_price | string | NO | Monitoring price. `TSLPAMT` / `TSLPPCT` Order Required | +| trigger_count | int32 | NO | Number of triggers. `LIT` / `MIT` / `TSLPAMT` / `TSLPPCT` Order Required | ### Request Example diff --git a/docs/en/docs/trade/order/submit.md b/docs/en/docs/trade/order/submit.md index 6d42efa21..283ac8844 100644 --- a/docs/en/docs/trade/order/submit.md +++ b/docs/en/docs/trade/order/submit.md @@ -33,7 +33,7 @@ This API is used to submit order for HK and US stocks, warrant and option. | submitted_price | string | NO | Submitted price, example: `388.5`

`LO` / `ELO` / `ALO` / `ODD` / `LIT` Order Required | | submitted_quantity | string | YES | Submitted quantity, example: `100` | | trigger_price | string | NO | Trigger price, example: `388.5`

`LIT` / `MIT` Order Required | -| limit_offset | string | NO | Limit offset amount

`TSLPAMT` / `TSLPPCT` Order Required | +| limit_offset | string | NO | Limit offset amount

`TSLPAMT` / `TSLPPCT` Order Required when`limit_depth_level` is set to 0 | | trailing_amount | string | NO | Trailing amount

`TSLPAMT` Order Required | | trailing_percent | string | NO | Trailing percent

`TSLPPCT` Order Required | | expire_date | string | NO | Long term order expire date, format `YYYY-MM-DD`, example: `2022-12-05`

Required when `time_in_force` is `GTD` | @@ -41,6 +41,9 @@ This API is used to submit order for HK and US stocks, warrant and option. | outside_rth | string | NO | Enable or disable outside regular trading hours

**Enum Value:**
`RTH_ONLY` - regular trading hour only
`ANY_TIME` - any time
`OVERNIGHT` - Overnight | | time_in_force | string | YES | Time in force Type

**Enum Value:**
`Day` - Day Order
`GTC` - Good Til Canceled Order
`GTD` - Good Til Date Order | | remark | string | NO | remark (Maximum 255 characters) | +| limit_depth_level | int32 | NO | Specifies the bid/ask depth level. Value range is -5 ~ 0 ~ 5.
Negative numbers indicate bid levels (e.g., -1 means best bid level 1),
positive numbers indicate ask levels (e.g., 1 means best ask level 1).
When set to 0, the `limit_offset` parameter takes effect.
Valid for `TSLPAMT` / `TSLPPCT` orders. | +| monitor_price | string | NO | Monitoring price.
Monitoring starts only after reaching this price, updating the reference price.
Valid for `TSLPAMT` / `TSLPPCT` orders. | +| trigger_count | int32 | NO | Number of triggers. Value range is 0 ~ 3.
Specifies that within 1 minute, the order will only be placed after being triggered multiple times.
Valid for `LIT` / `MIT` / `TSLPAMT` / `TSLPPCT` orders. | ### Request Example diff --git a/docs/en/docs/trade/order/today_orders.md b/docs/en/docs/trade/order/today_orders.md index 7e0f437e8..775f177e5 100644 --- a/docs/en/docs/trade/order/today_orders.md +++ b/docs/en/docs/trade/order/today_orders.md @@ -144,3 +144,6 @@ print(resp) | ∟ currency | string | true | Currency | | ∟ outside_rth | string | true | Enable or disable outside regular trading hours
Default is `UnknownOutsideRth` when the order is not a US stock

**Enum Value:**
`RTH_ONLY` - Regular trading hour only
`ANY_TIME` - Any time
`OVERNIGHT` - Overnight" | | ∟ remark | string | true | Remark | +| ∟ limit_depth_level | int32 | true | Specifies the bid/ask depth level | +| ∟ monitor_price | string | true | Monitoring price | +| ∟ trigger_count | int32 | true | Number of triggers | diff --git a/docs/zh-CN/docs/trade/order/history_orders.md b/docs/zh-CN/docs/trade/order/history_orders.md index bc53dfd2b..7fa72d73d 100644 --- a/docs/zh-CN/docs/trade/order/history_orders.md +++ b/docs/zh-CN/docs/trade/order/history_orders.md @@ -95,7 +95,10 @@ print(resp) "trigger_price": "", "trigger_status": "NOT_USED", "updated_at": "1651644898", - "remark": "" + "remark": "", + "limit_depth_level": 0, + "monitor_price": "", + "trigger_count": 1 } ] } @@ -149,3 +152,6 @@ print(resp) | ∟ currency | string | true | 结算货币 | | ∟ outside_rth | string | true | 是否允许盘前盘后
当订单不是美股时,默认为 UnknownOutsideRth

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
`ANY_TIME` - 允许盘前盘后
`OVERNIGHT` - 夜盘" | | ∟ remark | string | true | 备注 | +| ∟ limit_depth_level | int32 | true | 指定买卖档位 | +| ∟ monitor_price | string | true | 监控价格 | +| ∟ trigger_count | 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 c0c473df0..93a41d1e5 100644 --- a/docs/zh-CN/docs/trade/order/order_detail.md +++ b/docs/zh-CN/docs/trade/order/order_detail.md @@ -79,6 +79,9 @@ print(resp) "trailing_amount": "", "trailing_percent": "", "limit_offset": "", + "limit_depth_level": 0, + "monitor_price": "", + "trigger_count": 1, "trigger_status": "NOT_USED", "outside_rth": "ANY_TIME", "currency": "USD", @@ -201,3 +204,6 @@ print(resp) | ∟∟∟ name | string | true | 收费名称 | | ∟∟∟ amount | string | true | 单项收费金额 | | ∟∟∟ currency | string | true | 收费货币 | +| ∟∟∟ limit_depth_level | int32 | true | 指定买卖档位 | +| ∟∟∟ monitor_price | string | true | 监控价格 | +| ∟∟∟ trigger_count | int32 | true | 触发次数 | diff --git a/docs/zh-CN/docs/trade/order/replace.md b/docs/zh-CN/docs/trade/order/replace.md index 5388f2584..1f9012dfb 100644 --- a/docs/zh-CN/docs/trade/order/replace.md +++ b/docs/zh-CN/docs/trade/order/replace.md @@ -32,10 +32,14 @@ headingLevel: 2 | quantity | string | YES | 改单数量,例如:`200` | | price | string | NO | 改单价格,例如:`388.5`

`LO` / `ELO` / `ALO` / `ODD` / `LIT` 订单必填 | | trigger_price | string | NO | 触发价格,例如:`388.5`

`LIT` / `MIT` 订单必填 | -| limit_offset | string | NO | 指定价差

`TSLPAMT` / `TSLPPCT` 订单必填 | +| limit_offset | string | NO | 指定价差

`TSLPAMT` / `TSLPPCT` 订单在 `limit_depth_level` 为 0 时必填 | | trailing_amount | string | NO | 跟踪金额

`TSLPAMT` 订单必填 | | trailing_percent | string | NO | 跟踪涨跌幅

`TSLPPCT` 订单必填 | | remark | string | NO | 备注 (最大 64 字符) | +| limit_depth_level | int32 | NO | 指定买卖档位,`TSLPAMT` / `TSLPPCT` 订单必填 | +| monitor_price | string| NO | 监控价格,`TSLPAMT` / `TSLPPCT` 订单必填 | +| trigger_count | int32 | NO | 触发次数,`LIT` / `MIT` / `TSLPAMT` / `TSLPPCT` 订单必填 | + ### Request Example diff --git a/docs/zh-CN/docs/trade/order/submit.md b/docs/zh-CN/docs/trade/order/submit.md index 13e129f0d..cf17e950d 100644 --- a/docs/zh-CN/docs/trade/order/submit.md +++ b/docs/zh-CN/docs/trade/order/submit.md @@ -29,7 +29,7 @@ headingLevel: 3 | submitted_price | string | NO | 下单价格,例如:`388.5`

`LO` / `ELO` / `ALO` / `ODD` / `LIT` 订单必填 | | submitted_quantity | string | YES | 下单数量,例如:`100` | | trigger_price | string | NO | 触发价格,例如:`388.5`

`LIT` / `MIT` 订单必填 | -| limit_offset | string | NO | 指定价差,例如 "1.2" 表示价差 1.2 USD (如果是美股)

`TSLPAMT` / `TSLPPCT` 订单必填 | +| limit_offset | string | NO | 指定价差,例如 "1.2" 表示价差 1.2 USD (如果是美股)

`TSLPAMT` / `TSLPPCT` 订单在 `limit_depth_level` 为 0 时必填 | | trailing_amount | string | NO | 跟踪金额

`TSLPAMT` 订单必填 | | trailing_percent | string | NO | 跟踪涨跌幅,单位为百分比,例如 "2.5" 表示 "2.5%"

`TSLPPCT` 订单必填 | | expire_date | string | NO | 长期单过期时间,格式为 `YYYY-MM-DD`, 例如:`2022-12-05`

time_in_force 为 `GTD` 时必填 | @@ -37,6 +37,9 @@ headingLevel: 3 | outside_rth | string | NO | 是否允许盘前盘后,美股必填

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
`ANY_TIME` - 允许盘前盘后
`OVERNIGHT` - 夜盘 | | time_in_force | string | YES | 订单有效期类型

**可选值:**
`Day` - 当日有效
`GTC` - 撤单前有效
`GTD` - 到期前有效 | | remark | string | NO | 备注 (最大 64 字符) | +| limit_depth_level | int32 | NO | 指定买卖档位,取值范围为 -5 ~ 0 ~ 5,负数代表买盘档位(如 -1 表示买一),
正数代表卖盘档位(如 1 表示卖一),为 0 时 limit_offset 参数生效
`TSLPAMT` / `TSLPPCT` 订单有效 | +| monitor_price | string | NO | 监控价格,需要达到该价格才会开始监控,更新参考价
`TSLPAMT` / `TSLPPCT` 订单有效 | +| trigger_count | int32 | NO | 触发次数,取值范围 0 ~ 3, 表示在 1 分钟内触发多次才会触发订单
`LIT` / `MIT` / `TSLPAMT` / `TSLPPCT` 订单有效 | ## Examples diff --git a/docs/zh-CN/docs/trade/order/today_orders.md b/docs/zh-CN/docs/trade/order/today_orders.md index 922988333..98073978d 100644 --- a/docs/zh-CN/docs/trade/order/today_orders.md +++ b/docs/zh-CN/docs/trade/order/today_orders.md @@ -91,7 +91,10 @@ print(resp) "trigger_price": "", "trigger_status": "NOT_USED", "updated_at": "1651644898", - "remark": "" + "remark": "", + "limit_depth_level": 0, + "monitor_price": "", + "trigger_count": 1 } ] } @@ -144,3 +147,6 @@ print(resp) | ∟ currency | string | true | 结算货币 | | ∟ outside_rth | string | true | 是否允许盘前盘后
当订单不是美股时,默认为 UnknownOutsideRth

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
`ANY_TIME` - 允许盘前盘后
`OVERNIGHT` - 夜盘" | | ∟ remark | string | true | 备注 | +| ∟ limit_depth_level | int32 | true | 指定买卖档位 | +| ∟ trigger_count | int32 | true | 触发次数 | +| ∟ monitor_price | string | true | 监控价格 | diff --git a/docs/zh-HK/docs/trade/order/history_orders.md b/docs/zh-HK/docs/trade/order/history_orders.md index 0326f0bad..0663dc216 100644 --- a/docs/zh-HK/docs/trade/order/history_orders.md +++ b/docs/zh-HK/docs/trade/order/history_orders.md @@ -95,7 +95,10 @@ print(resp) "trigger_price": "", "trigger_status": "NOT_USED", "updated_at": "1651644898", - "remark": "" + "remark": "", + "limit_depth_level": 0, + "monitor_price": "", + "trigger_count": 1 } ] } @@ -149,3 +152,6 @@ print(resp) | ∟ currency | string | true | 結算貨幣 | | ∟ outside_rth | string | true | 是否允許盤前盤後
當訂單不是美股時,默認為 UnknownOutsideRth

**可選值:**
`RTH_ONLY` - 不允許盤前盤後
`ANY_TIME` - 允許盤前盤後
`OVERNIGHT` - 夜盤 | | ∟ remark | string | true | 備註 | +| ∟ limit_depth_level | int32 | true | 指定買賣檔位 | +| ∟ monitor_price | string | true | 監控價格 | +| ∟ trigger_count | 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 42af9ddb5..de428e3c3 100644 --- a/docs/zh-HK/docs/trade/order/order_detail.md +++ b/docs/zh-HK/docs/trade/order/order_detail.md @@ -79,6 +79,9 @@ print(resp) "trailing_amount": "", "trailing_percent": "", "limit_offset": "", + "limit_depth_level": 0, + "monitor_price": "", + "trigger_count": 1, "trigger_status": "NOT_USED", "outside_rth": "ANY_TIME", "currency": "USD", @@ -201,3 +204,6 @@ print(resp) | ∟∟∟ name | string | true | 收費名稱 | | ∟∟∟ amount | string | true | 單項收費金額 | | ∟∟∟ currency | string | true | 收費貨幣 | +| ∟∟∟ limit_depth_level | int32 | true | 指定買賣檔位 | +| ∟∟∟ monitor_price | string | true | 監控價格 | +| ∟∟∟ trigger_count | int32 | true | 觸發次數 | diff --git a/docs/zh-HK/docs/trade/order/replace.md b/docs/zh-HK/docs/trade/order/replace.md index 520642fca..593a60af9 100644 --- a/docs/zh-HK/docs/trade/order/replace.md +++ b/docs/zh-HK/docs/trade/order/replace.md @@ -32,10 +32,13 @@ headingLevel: 2 | quantity | string | YES | 改單數量,例如:`200` | | price | string | NO | 改單價格,例如:`388.5`

`LO` / `ELO` / `ALO` / `ODD` / `LIT` 訂單必填 | | trigger_price | string | NO | 觸發價格,例如:`388.5`

`LIT` / `MIT` 訂單必填 | -| limit_offset | string | NO | 指定價差

`TSLPAMT` / `TSLPPCT` 訂單必填 | +| limit_offset | string | NO | 指定價差

`TSLPAMT` / `TSLPPCT` 訂單在 `limit_depth_level` 為 0 時必填 | | trailing_amount | string | NO | 跟蹤金額

`TSLPAMT` 訂單必填 | | trailing_percent | string | NO | 跟蹤漲跌幅

`TSLPPCT` 訂單必填 | | remark | string | NO | 備註 (最大 64 字符) | +| limit_depth_level | int32 | NO | 指定買賣檔位,`TSLPAMT` / `TSLPPCT` 訂單必填 | +| monitor_price | string | NO | 監控價格,`TSLPAMT` / `TSLPPCT` 訂單必填 | +| trigger_count | int32 | NO | 觸發次數,`LIT` / `MIT` / `TSLPAMT` / `TSLPPCT` 訂單必填 | ### Request Example diff --git a/docs/zh-HK/docs/trade/order/submit.md b/docs/zh-HK/docs/trade/order/submit.md index a32d70de3..b6e90f9a6 100644 --- a/docs/zh-HK/docs/trade/order/submit.md +++ b/docs/zh-HK/docs/trade/order/submit.md @@ -33,7 +33,7 @@ headingLevel: 2 | submitted_price | string | NO | 下單價格,例如:`388.5`

`LO` / `ELO` / `ALO` / `ODD` / `LIT` 訂單必填 | | submitted_quantity | string | YES | 下單數量,例如:`100` | | trigger_price | string | NO | 觸發價格,例如:`388.5`

`LIT` / `MIT` 訂單必填 | -| limit_offset | string | NO | 指定價差

`TSLPAMT` / `TSLPPCT` 訂單必填 | +| limit_offset | string | NO | 指定價差

`TSLPAMT` / `TSLPPCT` 訂單在 `limit_depth_level` 為 0 時必填 | | trailing_amount | string | NO | 跟蹤金額

`TSLPAMT` 訂單必填 | | trailing_percent | string | NO | 跟蹤漲跌幅

`TSLPPCT` 訂單必填 | | expire_date | string | NO | 長期單過期時間,格式為 `YYYY-MM-DD`, 例如:`2022-12-05`

time_in_force 為 `GTD` 時必填 | @@ -41,6 +41,9 @@ headingLevel: 2 | outside_rth | string | NO | 是否允許盤前盤後,美股必填

**可選值:**
`RTH_ONLY` - 不允許盤前盤後
`ANY_TIME` - 允許盤前盤後
`OVERNIGHT` - 夜盤 | | time_in_force | string | YES | 訂單有效期類型

**可選值:**
`Day` - 當日有效
`GTC` - 撤單前有效
`GTD` - 到期前有效 | | remark | string | NO | 備註 (最大 64 字符) | +| limit_depth_level | int32 | NO | 指定買賣檔位,取值範圍為 -5 ~ 0 ~ 5,負數代表買盤檔位(例如 -1 表示買一),
正數代表賣盤檔位(例如 1 表示賣一),當為 0 時 limit_offset 參數生效
`TSLPAMT` / `TSLPPCT` 訂單有效 | +| monitor_price | string | NO | 監控價格,需要達到該價格才會開始監控,更新參考價
`TSLPAMT` / `TSLPPCT` 訂單有效 | +| trigger_count | int32 | NO | 觸發次數,取值範圍 0 ~ 3,表示在 1 分鐘內觸發多次才會觸發訂單,
`LIT` / `MIT` / `TSLPAMT` / `TSLPPCT` 訂單有效 | ### Request Example diff --git a/docs/zh-HK/docs/trade/order/today_orders.md b/docs/zh-HK/docs/trade/order/today_orders.md index b2090d99b..c373493f4 100644 --- a/docs/zh-HK/docs/trade/order/today_orders.md +++ b/docs/zh-HK/docs/trade/order/today_orders.md @@ -91,7 +91,10 @@ print(resp) "trigger_price": "", "trigger_status": "NOT_USED", "updated_at": "1651644898", - "remark": "" + "remark": "", + "limit_depth_level": 0, + "monitor_price": "", + "trigger_count": 1 } ] } @@ -144,3 +147,6 @@ print(resp) | ∟ currency | string | true | 结算货币 | | ∟ outside_rth | string | true | 是否允许盘前盘后
当订单不是美股时,默认为 UnknownOutsideRth

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
`ANY_TIME` - 允许盘前盘后
`OVERNIGHT` - 夜盘" | | ∟ remark | string | true | 備註 | +| ∟ limit_depth_level | int32 | true | 指定買賣檔位 | +| ∟ monitor_price | string | true | 監控價格 | +| ∟ trigger_count | int32 | true | 觸發次數 |