From 3662be90a12b51aa43a106da03bafb873d23f6fd Mon Sep 17 00:00:00 2001 From: "Lu, Guohua" Date: Mon, 15 Apr 2024 14:25:17 +0800 Subject: [PATCH 1/7] feat: Add `last_share`, `last_price` field to trade push --- docs/changelog.md | 4 ++++ docs/socket/how_to_subscribe_trade.md | 2 ++ docs/trade/definition.md | 4 ++++ i18n/en/docusaurus-plugin-content-docs/current/changelog.md | 4 ++++ .../current/socket/how_to_subscribe_trade.md | 2 ++ .../current/trade/definition.md | 4 ++++ .../docusaurus-plugin-content-docs/current/changelog.md | 4 ++++ .../current/socket/how_to_subscribe_trade.md | 2 ++ .../current/trade/definition.md | 6 +++++- 9 files changed, 31 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index ccffbc70..5c59677d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,10 @@ slug: changelog sidebar_position: 7 --- +## 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`。 + ## 2024-04-13 - [交易推送](https://open.longportapp.com/docs/trade/trade-definition#websocket-%E6%8E%A8%E9%80%81%E9%80%9A%E7%9F%A5)添加 `remark` 备注字段。 diff --git a/docs/socket/how_to_subscribe_trade.md b/docs/socket/how_to_subscribe_trade.md index d52d6fc5..bdc11934 100644 --- a/docs/socket/how_to_subscribe_trade.md +++ b/docs/socket/how_to_subscribe_trade.md @@ -91,6 +91,8 @@ Example: "tailing_percent": "1", "limit_offset": "0.01", "account_no": "HK123445", + "last_share": "100", + "last_price": "234", "remark": "abc" } } diff --git a/docs/trade/definition.md b/docs/trade/definition.md index 7e6dde1f..80083aa0 100644 --- a/docs/trade/definition.md +++ b/docs/trade/definition.md @@ -100,6 +100,8 @@ sidebar_position: 2 | limit_offset | string | 指定价差 | | account_no | string | 用户端账号 | | remark | string | 备注 | +| last_share | string | 最新成交数量 | +| last_price | string | 最新成交价格 | ### 示例 @@ -129,6 +131,8 @@ sidebar_position: 2 "trailing_percent": "1", "limit_offset": "0.01", "account_no": "HK123445", + "last_share": "100", + "last_price": "234", "remark": "abc" } } diff --git a/i18n/en/docusaurus-plugin-content-docs/current/changelog.md b/i18n/en/docusaurus-plugin-content-docs/current/changelog.md index d991e2d7..27b9044e 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-15 + +- Add `last_share`, `last_price` field to [Trade push](https://open.longportapp.com/en/docs/trade/trade-definition#websocket-notification). + ## 2024-04-13 - Add `remark` 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/socket/how_to_subscribe_trade.md b/i18n/en/docusaurus-plugin-content-docs/current/socket/how_to_subscribe_trade.md index dd3dd228..b16db9f9 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/socket/how_to_subscribe_trade.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/socket/how_to_subscribe_trade.md @@ -91,6 +91,8 @@ The real `JSON` format of `data`: "tailing_percent": "1", "limit_offset": "0.01", "account_no": "HK123445", + "last_share": "100", + "last_price": "234", "remark": "abc" } } 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 ababe42b..ad1b6902 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/trade/definition.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/trade/definition.md @@ -100,6 +100,8 @@ sidebar_position: 2 | limit_offset | string | "`TSLPAMT` / `TSLPPCT` order limit offset amount" | | account_no | string | account no | | remark | string | remark message | +| last_share | string | last share | +| last_price | string | last price | ### example @@ -129,6 +131,8 @@ sidebar_position: 2 "trailing_percent": "1", "limit_offset": "0.01", "account_no": "HK123445", + "last_share": "100", + "last_price": "234", "remark": "abc" } } 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 03de2efd..71e602a9 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-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`。 + ## 2024-04-13 - [交易推送](https://open.longportapp.com/docs/trade/trade-definition#websocket-%E6%8E%A8%E9%80%81%E9%80%9A%E7%9F%A5) 新增`remark`。 diff --git a/i18n/zh-HK/docusaurus-plugin-content-docs/current/socket/how_to_subscribe_trade.md b/i18n/zh-HK/docusaurus-plugin-content-docs/current/socket/how_to_subscribe_trade.md index e8de3d4b..21f0f824 100644 --- a/i18n/zh-HK/docusaurus-plugin-content-docs/current/socket/how_to_subscribe_trade.md +++ b/i18n/zh-HK/docusaurus-plugin-content-docs/current/socket/how_to_subscribe_trade.md @@ -91,6 +91,8 @@ Example: "tailing_percent": "1", "limit_offset": "0.01", "account_no": "HK123445", + "last_share": "100", + "last_price": "234", "remark": "abc" } } 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 49a64b31..da635110 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 @@ -100,7 +100,9 @@ sidebar_position: 2 | limit_offset | string | 指定價差 | | account_no | string | 用戶端賬號 | | remark | string | 備注 | - +| last_share | string | 最新成交數量 | +| last_price | string | 最新成交價格 | + ### 示例 ```JSON @@ -129,6 +131,8 @@ sidebar_position: 2 "tailing_percent": "1", "limit_offset": "0.01", "account_no": "HK123445", + "last_share": "100", + "last_price": "234", "remark": "abc" } } From 8170c3340861674ffef91c1392b3816c07a1e9b5 Mon Sep 17 00:00:00 2001 From: "Lu, Guohua" Date: Mon, 29 Apr 2024 10:51:38 +0800 Subject: [PATCH 2/7] feat/remove order type --- docs/changelog.md | 4 ++++ docs/trade/definition.md | 4 ---- .../docusaurus-plugin-content-docs/current/changelog.md | 4 ++++ .../current/trade/definition.md | 8 ++------ .../docusaurus-plugin-content-docs/current/changelog.md | 4 ++++ .../current/trade/definition.md | 4 ---- swagger-docs/en/trade/order/history_orders.yml | 6 +++--- swagger-docs/en/trade/order/order_detail.yml | 6 +++--- swagger-docs/en/trade/order/replace.yml | 4 ++-- swagger-docs/en/trade/order/submit.yml | 4 ++-- swagger-docs/en/trade/order/today_orders.yml | 4 ++-- swagger-docs/zh-CN/trade/order/history_orders.yml | 4 ++-- swagger-docs/zh-CN/trade/order/order_detail.yml | 4 ++-- swagger-docs/zh-CN/trade/order/replace.yml | 4 ++-- swagger-docs/zh-CN/trade/order/submit.yml | 4 ++-- swagger-docs/zh-CN/trade/order/today_orders.yml | 4 ++-- swagger-docs/zh-HK/trade/order/history_orders.yml | 4 ++-- swagger-docs/zh-HK/trade/order/order_detail.yml | 4 ++-- swagger-docs/zh-HK/trade/order/replace.yml | 4 ++-- swagger-docs/zh-HK/trade/order/submit.yml | 4 ++-- swagger-docs/zh-HK/trade/order/today_orders.yml | 4 ++-- 21 files changed, 46 insertions(+), 46 deletions(-) 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 From 69e94665d0f41d0b1b5581e847df938701ec75f3 Mon Sep 17 00:00:00 2001 From: "Lu, Guohua" Date: Fri, 17 May 2024 19:18:57 +0800 Subject: [PATCH 3/7] feat: add support for overnight trading --- docs/changelog.md | 4 ++++ i18n/en/docusaurus-plugin-content-docs/current/changelog.md | 4 ++++ .../zh-HK/docusaurus-plugin-content-docs/current/changelog.md | 4 ++++ swagger-docs/en/trade/order/history_orders.yml | 3 ++- swagger-docs/en/trade/order/order_detail.yml | 3 ++- swagger-docs/en/trade/order/submit.yml | 3 ++- swagger-docs/en/trade/order/today_orders.yml | 3 ++- swagger-docs/zh-CN/trade/order/history_orders.yml | 3 ++- swagger-docs/zh-CN/trade/order/order_detail.yml | 3 ++- swagger-docs/zh-CN/trade/order/submit.yml | 3 ++- swagger-docs/zh-CN/trade/order/today_orders.yml | 3 ++- swagger-docs/zh-HK/trade/order/history_orders.yml | 3 ++- swagger-docs/zh-HK/trade/order/order_detail.yml | 3 ++- swagger-docs/zh-HK/trade/order/submit.yml | 3 ++- swagger-docs/zh-HK/trade/order/today_orders.yml | 3 ++- 15 files changed, 36 insertions(+), 12 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index bd9bf5ad..9cb80580 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,10 @@ slug: changelog sidebar_position: 7 --- +## 2024-05-17 + +- 添加夜盘交易支持 + ## 2024-04-29 - 删除 `TSMPCT`, `TSMAMT` 订单类型 diff --git a/i18n/en/docusaurus-plugin-content-docs/current/changelog.md b/i18n/en/docusaurus-plugin-content-docs/current/changelog.md index 20380d64..df58e994 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-05-17 + +- Add support for overnight trading + ## 2024-04-29 - Remove `TSMPCT`, `TSMAMT` Order type 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 1f30e713..905a1e97 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-05-17 + +- 添加夜盤交易支持 + ## 2024-04-29 - 刪除 `TSMPCT`, `TSMAMT` 訂單類型 diff --git a/swagger-docs/en/trade/order/history_orders.yml b/swagger-docs/en/trade/order/history_orders.yml index 51437674..771215e5 100644 --- a/swagger-docs/en/trade/order/history_orders.yml +++ b/swagger-docs/en/trade/order/history_orders.yml @@ -268,7 +268,8 @@ definitions: Default is `UnknownOutsideRth` when the order is not a US stock

**Enum Value:**
`RTH_ONLY` - Regular trading hour only
- `ANY_TIME` - Any time" + `ANY_TIME` - Any time
+ `OVERNIGHT` - Overnight" remark: type: "string" description: Remark diff --git a/swagger-docs/en/trade/order/order_detail.yml b/swagger-docs/en/trade/order/order_detail.yml index 621b5265..30770a2b 100644 --- a/swagger-docs/en/trade/order/order_detail.yml +++ b/swagger-docs/en/trade/order/order_detail.yml @@ -275,7 +275,8 @@ definitions: Default is `UnknownOutsideRth` when the order is not a US stock

**Enum Value:**
`RTH_ONLY` - Regular trading hour only
- `ANY_TIME` - Any time" + `ANY_TIME` - Any time
+ `OVERNIGHT` - Overnight" remark: type: "string" description: Remark diff --git a/swagger-docs/en/trade/order/submit.yml b/swagger-docs/en/trade/order/submit.yml index b18e0070..0b01ee8b 100644 --- a/swagger-docs/en/trade/order/submit.yml +++ b/swagger-docs/en/trade/order/submit.yml @@ -56,7 +56,8 @@ paths: description: Enable or disable outside regular trading hours

**Enum Value:**
`RTH_ONLY` - regular trading hour only
- `ANY_TIME` - any time" + `ANY_TIME` - any time
+ `OVERNIGHT` - Overnight" - name: time_in_force required: true description: " diff --git a/swagger-docs/en/trade/order/today_orders.yml b/swagger-docs/en/trade/order/today_orders.yml index a30724ff..8a5f83c8 100644 --- a/swagger-docs/en/trade/order/today_orders.yml +++ b/swagger-docs/en/trade/order/today_orders.yml @@ -256,7 +256,8 @@ definitions: Default is `UnknownOutsideRth` when the order is not a US stock

**Enum Value:**
`RTH_ONLY` - Regular trading hour only
- `ANY_TIME` - Any time" + `ANY_TIME` - Any time
+ `OVERNIGHT` - Overnight" remark: type: "string" description: Remark diff --git a/swagger-docs/zh-CN/trade/order/history_orders.yml b/swagger-docs/zh-CN/trade/order/history_orders.yml index be40394a..4a42a4e4 100644 --- a/swagger-docs/zh-CN/trade/order/history_orders.yml +++ b/swagger-docs/zh-CN/trade/order/history_orders.yml @@ -269,7 +269,8 @@ definitions: 当订单不是美股时, 默认为 UnknownOutsideRth

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
- `ANY_TIME` - 允许盘前盘后" + `ANY_TIME` - 允许盘前盘后
+ `OVERNIGHT` - 夜盘" remark: type: "string" description: 备注 diff --git a/swagger-docs/zh-CN/trade/order/order_detail.yml b/swagger-docs/zh-CN/trade/order/order_detail.yml index 7c6b4884..40c3f925 100644 --- a/swagger-docs/zh-CN/trade/order/order_detail.yml +++ b/swagger-docs/zh-CN/trade/order/order_detail.yml @@ -272,7 +272,8 @@ definitions: 当订单不是美股时, 默认为 UnknownOutsideRth

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
- `ANY_TIME` - 允许盘前盘后 + `ANY_TIME` - 允许盘前盘后
+ `OVERNIGHT` - 夜盘" remark: type: "string" description: 备注 diff --git a/swagger-docs/zh-CN/trade/order/submit.yml b/swagger-docs/zh-CN/trade/order/submit.yml index 921b5e18..7172a4cf 100644 --- a/swagger-docs/zh-CN/trade/order/submit.yml +++ b/swagger-docs/zh-CN/trade/order/submit.yml @@ -56,7 +56,8 @@ paths: description: 是否允许盘前盘后,美股必填

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
- `ANY_TIME` - 允许盘前盘后 + `ANY_TIME` - 允许盘前盘后
+ `OVERNIGHT` - 夜盘 - name: time_in_force required: true description: 订单有效期类型

diff --git a/swagger-docs/zh-CN/trade/order/today_orders.yml b/swagger-docs/zh-CN/trade/order/today_orders.yml index af2d098e..ee1ca60c 100644 --- a/swagger-docs/zh-CN/trade/order/today_orders.yml +++ b/swagger-docs/zh-CN/trade/order/today_orders.yml @@ -255,7 +255,8 @@ definitions: 当订单不是美股时, 默认为 UnknownOutsideRth

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
- `ANY_TIME` - 允许盘前盘后" + `ANY_TIME` - 允许盘前盘后
+ `OVERNIGHT` - 夜盘" remark: type: "string" description: 备注 diff --git a/swagger-docs/zh-HK/trade/order/history_orders.yml b/swagger-docs/zh-HK/trade/order/history_orders.yml index 3ba55971..18411f04 100644 --- a/swagger-docs/zh-HK/trade/order/history_orders.yml +++ b/swagger-docs/zh-HK/trade/order/history_orders.yml @@ -269,7 +269,8 @@ definitions: 當訂單不是美股時, 默認為 UnknownOutsideRth

**可選值:**
`RTH_ONLY` - 不允許盤前盤後
- `ANY_TIME` - 允許盤前盤後" + `ANY_TIME` - 允許盤前盤後
+ `OVERNIGHT` - 夜盤 remark: type: "string" description: 備註 diff --git a/swagger-docs/zh-HK/trade/order/order_detail.yml b/swagger-docs/zh-HK/trade/order/order_detail.yml index 6e1a4940..1e3200ec 100644 --- a/swagger-docs/zh-HK/trade/order/order_detail.yml +++ b/swagger-docs/zh-HK/trade/order/order_detail.yml @@ -272,7 +272,8 @@ definitions: 當訂單不是美股時, 默認為 UnknownOutsideRth

**可選值:**
`RTH_ONLY` - 不允許盤前盤後
- `ANY_TIME` - 允許盤前盤後 + `ANY_TIME` - 允許盤前盤後
+ `OVERNIGHT` - 夜盤 remark: type: "string" description: 備註 diff --git a/swagger-docs/zh-HK/trade/order/submit.yml b/swagger-docs/zh-HK/trade/order/submit.yml index 1bfe354c..60add723 100644 --- a/swagger-docs/zh-HK/trade/order/submit.yml +++ b/swagger-docs/zh-HK/trade/order/submit.yml @@ -56,7 +56,8 @@ paths: description: 是否允許盤前盤後,美股必填

**可選值:**
`RTH_ONLY` - 不允許盤前盤後
- `ANY_TIME` - 允許盤前盤後 + `ANY_TIME` - 允許盤前盤後
+ `OVERNIGHT` - 夜盤 - name: time_in_force required: true description: 訂單有效期類型

diff --git a/swagger-docs/zh-HK/trade/order/today_orders.yml b/swagger-docs/zh-HK/trade/order/today_orders.yml index 237b4df2..5c627727 100644 --- a/swagger-docs/zh-HK/trade/order/today_orders.yml +++ b/swagger-docs/zh-HK/trade/order/today_orders.yml @@ -255,7 +255,8 @@ definitions: 当订单不是美股时, 默认为 UnknownOutsideRth

**可选值:**
`RTH_ONLY` - 不允许盘前盘后
- `ANY_TIME` - 允许盘前盘后" + `ANY_TIME` - 允许盘前盘后
+ `OVERNIGHT` - 夜盘" remark: type: "string" description: 備註 From 05eb6fcf844d254f1de314f00aac4c9f507d9c0d Mon Sep 17 00:00:00 2001 From: "Lu, Guohua" Date: Fri, 17 May 2024 20:59:37 +0800 Subject: [PATCH 4/7] fix changlog --- docs/changelog.md | 14 -------------- .../current/changelog.md | 13 ------------- .../current/changelog.md | 13 ------------- 3 files changed, 40 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index e7dd9fad..9cb80580 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,20 +4,6 @@ title: 更新日志 slug: changelog sidebar_position: 7 --- -## 2024-05-17 - -- 新增获取标的列表接口 - - `GET /v1/quote/get_security_list` 获取标的列表 - -## 2024-05-06 - -- 更新获取账户资金接口 - - `GET /v1/asset/account` 增加 (buy_power) 返回字段 - - -## 2024-04-29 - -- 删除 `TSMPCT`, `TSMAMT` 订单类型 ## 2024-05-17 diff --git a/i18n/en/docusaurus-plugin-content-docs/current/changelog.md b/i18n/en/docusaurus-plugin-content-docs/current/changelog.md index c1c707c9..df58e994 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/changelog.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/changelog.md @@ -4,19 +4,6 @@ title: Changelog slug: changelog sidebar_position: 7 --- -## 2024-05-17 - -- Add an interface to retrieve the list of securities - - `GET /v1/quote/get_security_list` to retrieve the list of securities - -## 2024-05-06 - -- Update the interface for Get Account Balance - - `GET /v1/asset/account` Add response field (buy_power) - -## 2024-04-29 - -- Remove `TSMPCT`, `TSMAMT` Order type ## 2024-05-17 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 ac3548ae..905a1e97 100644 --- a/i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md +++ b/i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md @@ -4,19 +4,6 @@ title: 更新日誌 slug: changelog sidebar_position: 7 --- -## 2024-05-17 - -- 新增獲取標的列表接口 - - `GET /v1/quote/get_security_list` 獲取標的列表 - -## 2024-05-06 - -- 更新獲取賬戶資金接口 - - `GET /v1/asset/account` 增加 (buy_power) 返回字段 - -## 2024-04-29 - -- 刪除 `TSMPCT`, `TSMAMT` 訂單類型 ## 2024-05-17 From fb774065df69e28b2c5c789994979db96bb0a7a2 Mon Sep 17 00:00:00 2001 From: "Lu, Guohua" Date: Fri, 17 May 2024 21:25:20 +0800 Subject: [PATCH 5/7] fix changlog --- docs/changelog.md | 5 +++++ i18n/en/docusaurus-plugin-content-docs/current/changelog.md | 5 +++++ .../docusaurus-plugin-content-docs/current/changelog.md | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 9cb80580..b62941d9 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -9,6 +9,11 @@ sidebar_position: 7 - 添加夜盘交易支持 +## 2024-05-06 + +- 更新获取账户资金接口 + - `GET /v1/asset/account` 增加 (buy_power) 返回字段 + ## 2024-04-29 - 删除 `TSMPCT`, `TSMAMT` 订单类型 diff --git a/i18n/en/docusaurus-plugin-content-docs/current/changelog.md b/i18n/en/docusaurus-plugin-content-docs/current/changelog.md index df58e994..a9e621b2 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/changelog.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/changelog.md @@ -9,6 +9,11 @@ sidebar_position: 7 - Add support for overnight trading +## 2024-05-06 + +- Update the interface for Get Account Balance + - `GET /v1/asset/account` Add response field (buy_power) + ## 2024-04-29 - Remove `TSMPCT`, `TSMAMT` Order type 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 905a1e97..667ddc1d 100644 --- a/i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md +++ b/i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md @@ -9,6 +9,11 @@ sidebar_position: 7 - 添加夜盤交易支持 +## 2024-05-06 + +- 更新獲取賬戶資金接口 + - `GET /v1/asset/account` 增加 (buy_power) 返回字段 + ## 2024-04-29 - 刪除 `TSMPCT`, `TSMAMT` 訂單類型 From 3531443eeaf71c6910b51a6177fcc25f96e8e6d1 Mon Sep 17 00:00:00 2001 From: "Lu, Guohua" Date: Fri, 17 May 2024 21:39:27 +0800 Subject: [PATCH 6/7] fix changlog --- docs/changelog.md | 2 +- i18n/en/docusaurus-plugin-content-docs/current/changelog.md | 2 +- i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index b62941d9..b2a9efb1 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,7 +7,7 @@ sidebar_position: 7 ## 2024-05-17 -- 添加夜盘交易支持 +- 下单及订单查询接口扩展 `outside_rth` 字段支持夜盘交易 ## 2024-05-06 diff --git a/i18n/en/docusaurus-plugin-content-docs/current/changelog.md b/i18n/en/docusaurus-plugin-content-docs/current/changelog.md index a9e621b2..d584bb23 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/changelog.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/changelog.md @@ -7,7 +7,7 @@ sidebar_position: 7 ## 2024-05-17 -- Add support for overnight trading +- Expand `outside_rth` field to support overnight trading in order placement and query APIs ## 2024-05-06 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 667ddc1d..3038152e 100644 --- a/i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md +++ b/i18n/zh-HK/docusaurus-plugin-content-docs/current/changelog.md @@ -7,7 +7,7 @@ sidebar_position: 7 ## 2024-05-17 -- 添加夜盤交易支持 +- 下單及訂單查詢接口擴展 `outside_rth` 字段支持夜盤交易 ## 2024-05-06 From 43718121ad0f92e48549ada96f97e31707c3e8c1 Mon Sep 17 00:00:00 2001 From: "Lu, Guohua" Date: Mon, 20 May 2024 20:29:53 +0800 Subject: [PATCH 7/7] fix trailing_percent, trailing_amount --- docs/api-reference/socket/how_to_subscribe_trade.md | 4 ++-- .../api-reference/socket/how_to_subscribe_trade.md | 4 ++-- .../api-reference/socket/how_to_subscribe_trade.md | 4 ++-- .../current/trade/definition.md | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/api-reference/socket/how_to_subscribe_trade.md b/docs/api-reference/socket/how_to_subscribe_trade.md index bfbd3f0f..39c8bf40 100644 --- a/docs/api-reference/socket/how_to_subscribe_trade.md +++ b/docs/api-reference/socket/how_to_subscribe_trade.md @@ -87,8 +87,8 @@ Example: "tag": "GTC", "trigger_status": "ACTIVE", "trigger_at": "1562761893", - "tailing_amount": "5", - "tailing_percent": "1", + "trailing_amount": "5", + "trailing_percent": "1", "limit_offset": "0.01", "account_no": "HK123445", "last_share": "100", diff --git a/i18n/en/docusaurus-plugin-content-docs/current/api-reference/socket/how_to_subscribe_trade.md b/i18n/en/docusaurus-plugin-content-docs/current/api-reference/socket/how_to_subscribe_trade.md index 6d05d877..30d334bb 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/api-reference/socket/how_to_subscribe_trade.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/api-reference/socket/how_to_subscribe_trade.md @@ -87,8 +87,8 @@ The real `JSON` format of `data`: "tag": "GTC", "trigger_status": "ACTIVE", "trigger_at": "1562761893", - "tailing_amount": "5", - "tailing_percent": "1", + "trailing_amount": "5", + "trailing_percent": "1", "limit_offset": "0.01", "account_no": "HK123445", "last_share": "100", diff --git a/i18n/zh-HK/docusaurus-plugin-content-docs/current/api-reference/socket/how_to_subscribe_trade.md b/i18n/zh-HK/docusaurus-plugin-content-docs/current/api-reference/socket/how_to_subscribe_trade.md index c9d807f5..33dba23d 100644 --- a/i18n/zh-HK/docusaurus-plugin-content-docs/current/api-reference/socket/how_to_subscribe_trade.md +++ b/i18n/zh-HK/docusaurus-plugin-content-docs/current/api-reference/socket/how_to_subscribe_trade.md @@ -87,8 +87,8 @@ Example: "tag": "GTC", "trigger_status": "ACTIVE", "trigger_at": "1562761893", - "tailing_amount": "5", - "tailing_percent": "1", + "trailing_amount": "5", + "trailing_percent": "1", "limit_offset": "0.01", "account_no": "HK123445", "last_share": "100", 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 106c1235..89810b57 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 @@ -91,8 +91,8 @@ sidebar_position: 2 | tag | string | 訂單標記

**可選值**
`Normal` - 普通訂單
`GTC` - 长期單
`Grey` - 暗盤單 | | trigger_status | string | 條件單觸發狀態

**可選值**
`NOT_USED` - 未激活
`DEACTIVE` - 已失效
`ACTIVE` - 已激活
`RELEASED` - 已觸發 | | trigger_at | string | 觸發時间 | -| tailing_amount | string | 條件單跟蹤金额 | -| tailing_percent | string | 條件單跟蹤漲跌幅 | +| trailing_amount | string | 條件單跟蹤金额 | +| trailing_percent | string | 條件單跟蹤漲跌幅 | | limit_offset | string | 指定價差 | | account_no | string | 用戶端賬號 | | remark | string | 備注 | @@ -123,8 +123,8 @@ sidebar_position: 2 "tag": "GTC", "trigger_status": "ACTIVE", "trigger_at": "1562761893", - "tailing_amount": "5", - "tailing_percent": "1", + "trailing_amount": "5", + "trailing_percent": "1", "limit_offset": "0.01", "account_no": "HK123445", "last_share": "100",