diff --git a/docs/changelog.md b/docs/changelog.md
index 5c59677d..bd9bf5ad 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -5,6 +5,10 @@ slug: changelog
sidebar_position: 7
---
+## 2024-04-29
+
+- 删除 `TSMPCT`, `TSMAMT` 订单类型
+
## 2024-04-15
- [交易推送](https://open.longportapp.com/docs/trade/trade-definition#websocket-%E6%8E%A8%E9%80%81%E9%80%9A%E7%9F%A5)添加 `last_share`, `last_price`。
diff --git a/docs/trade/definition.md b/docs/trade/definition.md
index 80083aa0..a0939d02 100644
--- a/docs/trade/definition.md
+++ b/docs/trade/definition.md
@@ -21,8 +21,6 @@ sidebar_position: 2
| MIT | 触价市价单 |
| TSLPAMT | 跟踪止损限价单 (跟踪金额) |
| TSLPPCT | 跟踪止损限价单 (跟踪涨跌幅) |
-| TSMAMT | 跟踪止损市价单 (跟踪金额) |
-| TSMPCT | 跟踪止损市价单 (跟踪涨跌幅) |
| SLO | 特殊限价单,不支持改单 |
- 说明:美股支持订单类型
@@ -35,8 +33,6 @@ sidebar_position: 2
| MIT | 触价市价单 |
| TSLPAMT | 跟踪止损限价单 (跟踪金额) |
| TSLPPCT | 跟踪止损限价单 (跟踪涨跌幅) |
-| TSMAMT | 跟踪止损市价单 (跟踪金额) |
-| TSMPCT | 跟踪止损市价单 (跟踪涨跌幅) |
## OrderStatus
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/changelog.md b/i18n/en/docusaurus-plugin-content-docs/current/changelog.md
index 27b9044e..20380d64 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/changelog.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/changelog.md
@@ -5,6 +5,10 @@ slug: changelog
sidebar_position: 7
---
+## 2024-04-29
+
+- Remove `TSMPCT`, `TSMAMT` Order type
+
## 2024-04-15
- Add `last_share`, `last_price` field to [Trade push](https://open.longportapp.com/en/docs/trade/trade-definition#websocket-notification).
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/trade/definition.md b/i18n/en/docusaurus-plugin-content-docs/current/trade/definition.md
index ad1b6902..d8fb43f4 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/trade/definition.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/trade/definition.md
@@ -21,8 +21,6 @@ sidebar_position: 2
| MIT | Market If Touched |
| TSLPAMT | Trailing Limit If Touched (Trailing Amount) |
| TSLPPCT | Trailing Limit If Touched (Trailing Percent) |
-| TSMAMT | Trailing Market If Touched (Trailing Amount) |
-| TSMPCT | Trailing Market If Touched (Trailing Percent) |
| SLO | Special Limit Order. Not Support Replace Order. |
- Description: US stock support order type
@@ -35,8 +33,6 @@ sidebar_position: 2
| MIT | Market If Touched |
| TSLPAMT | Trailing Limit If Touched (Trailing Amount) |
| TSLPPCT | Trailing Limit If Touched (Trailing Percent) |
-| TSMAMT | Trailing Market If Touched (Trailing Amount) |
-| TSMPCT | Trailing Market If Touched (Trailing Percent) |
## OrderStatus
@@ -95,8 +91,8 @@ sidebar_position: 2
| tag | string | order tag
**Enum Value**
`Normal` - Normal Order
`GTC` - Long term Order
`Grey` - Grey Order |
| trigger_status | string | conditional order trigger status
**Enum Value**
`NOT_USED`
`DEACTIVE`
`ACTIVE`
`RELEASED` |
| trigger_at | string | conditional order trigger time. formatted as a timestamp (second) |
-| trailing_amount | string | "`TSMAMT` / `TSLPAMT` order trailing amount" |
-| trailing_percent | string | "`TSMPCT` / `TSLPPCT` order trailing percent" |
+| trailing_amount | string | "`TSLPAMT` order trailing amount" |
+| trailing_percent | string | "`TSLPPCT` order trailing percent" |
| limit_offset | string | "`TSLPAMT` / `TSLPPCT` order limit offset amount" |
| account_no | string | account no |
| remark | string | remark message |
diff --git a/i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md b/i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md
index 71e602a9..1f30e713 100644
--- a/i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md
+++ b/i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md
@@ -5,6 +5,10 @@ slug: changelog
sidebar_position: 7
---
+## 2024-04-29
+
+- 刪除 `TSMPCT`, `TSMAMT` 訂單類型
+
## 2024-04-15
- [交易推送](https://open.longportapp.com/docs/trade/trade-definition#websocket-%E6%8E%A8%E9%80%81%E9%80%9A%E7%9F%A5) 新增`last_share`, `last_price`。
diff --git a/i18n/zh-HK/docusaurus-plugin-content-docs/current/trade/definition.md b/i18n/zh-HK/docusaurus-plugin-content-docs/current/trade/definition.md
index da635110..106c1235 100644
--- a/i18n/zh-HK/docusaurus-plugin-content-docs/current/trade/definition.md
+++ b/i18n/zh-HK/docusaurus-plugin-content-docs/current/trade/definition.md
@@ -21,8 +21,6 @@ sidebar_position: 2
| MIT | 觸價市價單 |
| TSLPAMT | 跟蹤止損限價單 (跟蹤金额) |
| TSLPPCT | 跟蹤止損限價單 (跟蹤漲跌幅) |
-| TSMAMT | 跟蹤止損市價單 (跟蹤金额) |
-| TSMPCT | 跟蹤止損市價單 (跟蹤漲跌幅) |
| SLO | 特殊限價單,不支持改單 |
- 說明:美股支持訂單類型
@@ -35,8 +33,6 @@ sidebar_position: 2
| MIT | 觸價市價單 |
| TSLPAMT | 跟蹤止損限價單 (跟蹤金额) |
| TSLPPCT | 跟蹤止損限價單 (跟蹤漲跌幅) |
-| TSMAMT | 跟蹤止損市價單 (跟蹤金额) |
-| TSMPCT | 跟蹤止損市價單 (跟蹤漲跌幅) |
## OrderStatus
diff --git a/swagger-docs/en/trade/order/history_orders.yml b/swagger-docs/en/trade/order/history_orders.yml
index e955e5ee..51437674 100644
--- a/swagger-docs/en/trade/order/history_orders.yml
+++ b/swagger-docs/en/trade/order/history_orders.yml
@@ -238,15 +238,15 @@ definitions:
trailing_amount:
type: "string"
required: true
- description: "`TSMAMT` / `TSLPAMT` order trailing amount.
When the order is not `TSMAMT` / `TSLPAMT` order, value is empty string"
+ description: "`TSLPAMT` order trailing amount.
When the order is not `TSLPAMT` order, value is empty string"
trailing_percent:
type: "string"
required: true
- description: "`TSMPCT` / `TSLPPCT` order trailing percent.
When the order is not `TSMPCT` / `TSLPPCT` order, value is empty string"
+ description: "`TSLPPCT` order trailing percent.
When the order is not `TSLPPCT` order, value is empty string"
limit_offset:
type: "string"
required: true
- description: "`TSLPAMT` / `TSLPPCT` order limit offset amount.
When the order is not `TSLPAMT` / `TSLPPCT` order, value is empty string"
+ description: "`TSLPPCT` order limit offset amount.
When the order is not `TSLPPCT` order, value is empty string"
trigger_status:
type: "string"
required: true
diff --git a/swagger-docs/en/trade/order/order_detail.yml b/swagger-docs/en/trade/order/order_detail.yml
index ff88a269..621b5265 100644
--- a/swagger-docs/en/trade/order/order_detail.yml
+++ b/swagger-docs/en/trade/order/order_detail.yml
@@ -245,15 +245,15 @@ definitions:
trailing_amount:
type: "string"
required: true
- description: "`TSMAMT` / `TSLPAMT` order trailing amount.
When the order is not `TSMAMT` / `TSLPAMT` order, value is empty string"
+ description: "`TSLPAMT` order trailing amount.
When the order is not `TSLPAMT` order, value is empty string"
trailing_percent:
type: "string"
required: true
- description: "`TSMPCT` / `TSLPPCT` order trailing percent.
When the order is not `TSMPCT` / `TSLPPCT` order, value is empty string"
+ description: "`TSLPPCT` order trailing percent.
When the order is not `TSLPPCT` order, value is empty string"
limit_offset:
type: "string"
required: true
- description: "`TSLPAMT` / `TSLPPCT` order limit offset amount.
When the order is not `TSLPAMT` / `TSLPPCT` order, value is empty string"
+ description: "`TSLPPCT` order limit offset amount.
When the order is not `TSLPPCT` order, value is empty string"
trigger_status:
type: "string"
required: true
diff --git a/swagger-docs/en/trade/order/replace.yml b/swagger-docs/en/trade/order/replace.yml
index 452173af..7e8b5e35 100644
--- a/swagger-docs/en/trade/order/replace.yml
+++ b/swagger-docs/en/trade/order/replace.yml
@@ -31,11 +31,11 @@ paths:
- name: trailing_amount
required: false
description: Trailing amount
- `TSLPAMT` / `TSMAMT` Order Required
+ `TSLPAMT` Order Required
- name: trailing_percent
required: false
description: Trailing percent
- `TSLPPCT` / `TSMPCT` Order Required
+ `TSLPPCT` Order Required
- name: remark
required: false
description: "Remark (Maximum 64 characters)"
diff --git a/swagger-docs/en/trade/order/submit.yml b/swagger-docs/en/trade/order/submit.yml
index 006605a5..b18e0070 100644
--- a/swagger-docs/en/trade/order/submit.yml
+++ b/swagger-docs/en/trade/order/submit.yml
@@ -34,11 +34,11 @@ paths:
- name: trailing_amount
required: false
description: Trailing amount
- `TSLPAMT` / `TSMAMT` Order Required
+ `TSLPAMT` Order Required
- name: trailing_percent
required: false
description: Trailing percent
- `TSLPPCT` / `TSMPCT` Order Required
+ `TSLPPCT` Order Required
- name: expire_date
required: false
description:
diff --git a/swagger-docs/en/trade/order/today_orders.yml b/swagger-docs/en/trade/order/today_orders.yml
index cc004aea..a30724ff 100644
--- a/swagger-docs/en/trade/order/today_orders.yml
+++ b/swagger-docs/en/trade/order/today_orders.yml
@@ -226,11 +226,11 @@ definitions:
trailing_amount:
type: "string"
required: true
- description: "`TSMAMT` / `TSLPAMT` order trailing amount.
When the order is not `TSMAMT` / `TSLPAMT` order, value is empty string"
+ description: "`TSLPAMT` order trailing amount.
When the order is not `TSLPAMT` order, value is empty string"
trailing_percent:
type: "string"
required: true
- description: "`TSMPCT` / `TSLPPCT` order trailing percent.
When the order is not `TSMPCT` / `TSLPPCT` order, value is empty string"
+ description: "`TSLPPCT` order trailing percent.
When the order is not `TSLPPCT` order, value is empty string"
limit_offset:
type: "string"
required: true
diff --git a/swagger-docs/zh-CN/trade/order/history_orders.yml b/swagger-docs/zh-CN/trade/order/history_orders.yml
index 15571e9c..be40394a 100644
--- a/swagger-docs/zh-CN/trade/order/history_orders.yml
+++ b/swagger-docs/zh-CN/trade/order/history_orders.yml
@@ -239,11 +239,11 @@ definitions:
trailing_amount:
type: "string"
required: true
- description: "`TSLPAMT` / `TSMAMT` 订单跟踪金额。
当订单不是 `TSLPAMT` / `TSMAMT` 订单时为空字符串。"
+ description: "`TSLPAMT` 订单跟踪金额。
当订单不是 `TSLPAMT` 订单时为空字符串。"
trailing_percent:
type: "string"
required: true
- description: "`TSLPPCT` / `TSMPCT` 订单跟踪涨跌幅。
当订单不是 `TSLPPCT` / `TSMPCT` 订单时为空字符串。"
+ description: "`TSLPPCT` 订单跟踪涨跌幅。
当订单不是 `TSLPPCT` 订单时为空字符串。"
limit_offset:
type: "string"
required: true
diff --git a/swagger-docs/zh-CN/trade/order/order_detail.yml b/swagger-docs/zh-CN/trade/order/order_detail.yml
index 2fdfe63e..7c6b4884 100644
--- a/swagger-docs/zh-CN/trade/order/order_detail.yml
+++ b/swagger-docs/zh-CN/trade/order/order_detail.yml
@@ -242,11 +242,11 @@ definitions:
trailing_amount:
type: "string"
required: true
- description: "`TSLPAMT` / `TSMAMT` 订单跟踪金额。
当订单不是 `TSLPAMT` / `TSMAMT` 订单时为空字符串。"
+ description: "`TSLPAMT` 订单跟踪金额。
当订单不是 `TSLPAMT` 订单时为空字符串。"
trailing_percent:
type: "string"
required: true
- description: "`TSLPPCT` / `TSMPCT` 订单跟踪涨跌幅。
当订单不是 `TSLPPCT` / `TSMPCT` 订单时为空字符串。"
+ description: "`TSLPPCT` 订单跟踪涨跌幅。
当订单不是 `TSLPPCT` 订单时为空字符串。"
limit_offset:
type: "string"
required: true
diff --git a/swagger-docs/zh-CN/trade/order/replace.yml b/swagger-docs/zh-CN/trade/order/replace.yml
index 9dc1e7ae..5d04780f 100644
--- a/swagger-docs/zh-CN/trade/order/replace.yml
+++ b/swagger-docs/zh-CN/trade/order/replace.yml
@@ -31,11 +31,11 @@ paths:
- name: trailing_amount
required: false
description: 跟踪金额
- `TSLPAMT` / `TSMAMT` 订单必填
+ `TSLPAMT` 订单必填
- name: trailing_percent
required: false
description: 跟踪涨跌幅
- `TSLPPCT` / `TSMPCT` 订单必填
+ `TSLPPCT` 订单必填
- name: remark
required: false
description: "备注 (最大 64 字符)"
diff --git a/swagger-docs/zh-CN/trade/order/submit.yml b/swagger-docs/zh-CN/trade/order/submit.yml
index 15ed3855..921b5e18 100644
--- a/swagger-docs/zh-CN/trade/order/submit.yml
+++ b/swagger-docs/zh-CN/trade/order/submit.yml
@@ -34,11 +34,11 @@ paths:
- name: trailing_amount
required: false
description: 跟踪金额
- `TSLPAMT` / `TSMAMT` 订单必填
+ `TSLPAMT` 订单必填
- name: trailing_percent
required: false
description: 跟踪涨跌幅
- `TSLPPCT` / `TSMPCT` 订单必填
+ `TSLPPCT` 订单必填
- name: expire_date
required: false
description:
diff --git a/swagger-docs/zh-CN/trade/order/today_orders.yml b/swagger-docs/zh-CN/trade/order/today_orders.yml
index f3945535..af2d098e 100644
--- a/swagger-docs/zh-CN/trade/order/today_orders.yml
+++ b/swagger-docs/zh-CN/trade/order/today_orders.yml
@@ -225,11 +225,11 @@ definitions:
trailing_amount:
type: "string"
required: true
- description: "`TSLPAMT` / `TSMAMT` 订单跟踪金额。
当订单不是 `TSLPAMT` / `TSMAMT` 订单时为空字符串。"
+ description: "`TSLPAMT` 订单跟踪金额。
当订单不是 `TSLPAMT` 订单时为空字符串。"
trailing_percent:
type: "string"
required: true
- description: "`TSLPPCT` / `TSMPCT` 订单跟踪涨跌幅。
当订单不是 `TSLPPCT` / `TSMPCT` 订单时为空字符串。"
+ description: "`TSLPPCT` 订单跟踪涨跌幅。
当订单不是 `TSLPPCT` 订单时为空字符串。"
limit_offset:
type: "string"
required: true
diff --git a/swagger-docs/zh-HK/trade/order/history_orders.yml b/swagger-docs/zh-HK/trade/order/history_orders.yml
index c183dd1a..3ba55971 100644
--- a/swagger-docs/zh-HK/trade/order/history_orders.yml
+++ b/swagger-docs/zh-HK/trade/order/history_orders.yml
@@ -239,11 +239,11 @@ definitions:
trailing_amount:
type: "string"
required: true
- description: "`TSLPAMT` / `TSMAMT` 訂單跟蹤金額。
當訂單不是 `TSLPAMT` / `TSMAMT` 訂單時為空字符串。"
+ description: "`TSLPAMT` 訂單跟蹤金額。
當訂單不是 `TSLPAMT` 訂單時為空字符串。"
trailing_percent:
type: "string"
required: true
- description: "`TSLPPCT` / `TSMPCT` 訂單跟蹤漲跌幅。
當訂單不是 `TSLPPCT` / `TSMPCT` 訂單時為空字符串。"
+ description: "`TSLPPCT` 訂單跟蹤漲跌幅。
當訂單不是 `TSLPPCT` 訂單時為空字符串。"
limit_offset:
type: "string"
required: true
diff --git a/swagger-docs/zh-HK/trade/order/order_detail.yml b/swagger-docs/zh-HK/trade/order/order_detail.yml
index 494e549b..6e1a4940 100644
--- a/swagger-docs/zh-HK/trade/order/order_detail.yml
+++ b/swagger-docs/zh-HK/trade/order/order_detail.yml
@@ -242,11 +242,11 @@ definitions:
trailing_amount:
type: "string"
required: true
- description: "`TSLPAMT` / `TSMAMT` 訂單跟蹤金額。
當訂單不是 `TSLPAMT` / `TSMAMT` 訂單時為空字符串。"
+ description: "`TSLPAMT` 訂單跟蹤金額。
當訂單不是 `TSLPAMT` 訂單時為空字符串。"
trailing_percent:
type: "string"
required: true
- description: "`TSLPPCT` / `TSMPCT` 訂單跟蹤漲跌幅。
當訂單不是 `TSLPPCT` / `TSMPCT` 訂單時為空字符串。"
+ description: "`TSLPPCT` 訂單跟蹤漲跌幅。
當訂單不是 `TSLPPCT` 訂單時為空字符串。"
limit_offset:
type: "string"
required: true
diff --git a/swagger-docs/zh-HK/trade/order/replace.yml b/swagger-docs/zh-HK/trade/order/replace.yml
index bd1b5455..6092f8f9 100644
--- a/swagger-docs/zh-HK/trade/order/replace.yml
+++ b/swagger-docs/zh-HK/trade/order/replace.yml
@@ -31,11 +31,11 @@ paths:
- name: trailing_amount
required: false
description: 跟蹤金額
- `TSLPAMT` / `TSMAMT` 訂單必填
+ `TSLPAMT` 訂單必填
- name: trailing_percent
required: false
description: 跟蹤漲跌幅
- `TSLPPCT` / `TSMPCT` 訂單必填
+ `TSLPPCT` 訂單必填
- name: remark
required: false
description: "備註 (最大 64 字符)"
diff --git a/swagger-docs/zh-HK/trade/order/submit.yml b/swagger-docs/zh-HK/trade/order/submit.yml
index 216f1944..1bfe354c 100644
--- a/swagger-docs/zh-HK/trade/order/submit.yml
+++ b/swagger-docs/zh-HK/trade/order/submit.yml
@@ -34,11 +34,11 @@ paths:
- name: trailing_amount
required: false
description: 跟蹤金額
- `TSLPAMT` / `TSMAMT` 訂單必填
+ `TSLPAMT` 訂單必填
- name: trailing_percent
required: false
description: 跟蹤漲跌幅
- `TSLPPCT` / `TSMPCT` 訂單必填
+ `TSLPPCT` 訂單必填
- name: expire_date
required: false
description:
diff --git a/swagger-docs/zh-HK/trade/order/today_orders.yml b/swagger-docs/zh-HK/trade/order/today_orders.yml
index 065ee13b..237b4df2 100644
--- a/swagger-docs/zh-HK/trade/order/today_orders.yml
+++ b/swagger-docs/zh-HK/trade/order/today_orders.yml
@@ -225,11 +225,11 @@ definitions:
trailing_amount:
type: "string"
required: true
- description: "`TSLPAMT` / `TSMAMT` 订单跟踪金额。
当订单不是 `TSLPAMT` / `TSMAMT` 订单时为空字符串。"
+ description: "`TSLPAMT` 订单跟踪金额。
当订单不是 `TSLPAMT` 订单时为空字符串。"
trailing_percent:
type: "string"
required: true
- description: "`TSLPPCT` / `TSMPCT` 订单跟踪涨跌幅。
当订单不是 `TSLPPCT` / `TSMPCT` 订单时为空字符串。"
+ description: "`TSLPPCT` 订单跟踪涨跌幅。
当订单不是 `TSLPPCT` 订单时为空字符串。"
limit_offset:
type: "string"
required: true