From ba6127e22ee7b1c72c859de15aeff034fcde675b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E8=BD=A9=E4=BC=9F?= Date: Wed, 10 Apr 2024 16:25:41 +0800 Subject: [PATCH] Supplement documentation based on interface fields --- docs/quote/pull/warrant-filter.md | 70 +++++++++---------- docs/quote/push/quote.md | 34 +++++---- .../current/quote/pull/warrant-filter.md | 8 +-- .../current/quote/push/quote.md | 34 +++++---- .../current/quote/pull/warrant-filter.md | 70 +++++++++---------- .../current/quote/push/quote.md | 34 +++++---- 6 files changed, 134 insertions(+), 116 deletions(-) diff --git a/docs/quote/pull/warrant-filter.md b/docs/quote/pull/warrant-filter.md index 90b55647..08b73ddf 100644 --- a/docs/quote/pull/warrant-filter.md +++ b/docs/quote/pull/warrant-filter.md @@ -17,15 +17,15 @@ sidebar_position: 14 ### Parameters -| Name | Type | Required | Description | -|---------------|---------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------| +| Name | Type | Required | Description | +| ------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | | symbol | string | 是 | 标的代码,使用 `ticker.region` 格式,例如:`700.HK` | -| filter_config | object | 是 | 筛选条件 | -| ∟ sort_by | int32 | 是 | 根据哪一项数据进行排序,例如:`0`,序号见响应数据 `OrderSequence` 字段。 | +| filter_config | object | 是 | 筛选条件 | +| ∟ sort_by | int32 | 是 | 根据哪一项数据进行排序,例如:`0`,序号见响应数据 `OrderSequence` 字段。 | | ∟ sort_order | int32 | 是 | 升降顺序,例如:`1`

**可选值:**
`0` - 升序
`1` - 降序 | -| ∟ sort_offset | int32 | 是 | 分页的第一条数据偏移量,例如 `0` | -| ∟ sort_count | int32 | 是 | 分页的每一页数量,例如 `20`

**校验规则:**
每页数量最大为 `500` | -| ∟ type | int32[] | 否 | 筛选轮证类型 例如:`[0,1]`

**可选值:**
`0` - 认购
`1` - 认沽
`2` - 牛证
`3` - 熊证
`4` - 界内证 | +| ∟ sort_offset | int32 | 是 | 分页的第一条数据偏移量,例如 `0` | +| ∟ sort_count | int32 | 是 | 分页的每一页数量,例如 `20`, 填 `0` 时不分页 | +| ∟ type | int32[] | 否 | 筛选轮证类型 例如:`[0,1]`

**可选值:**
`0` - 认购
`1` - 认沽
`2` - 牛证
`3` - 熊证
`4` - 界内证 | | ∟ issuer | int32[] | 否 | 筛选发行商,例如:`[12,14]`,[发行商 ID](./issuer) 通过接口获取 | | ∟ expiry_date | int32[] | 否 | 筛选轮证过期时间,例如:`[1]`

**可选值:**
`1` - 低于 3 个月
`2` - 3 - 6 个月
`3` - 6 - 12 个月
`4` - 大于 12 个月 | | ∟ price_type | int32[] | 否 | 筛选价内价外,例如:`[2]`

**可选值:**
`1` - 价内
`2` - 价外 | @@ -70,34 +70,34 @@ print(resp) ### Response Properties -| Name | Type | Description | OrderSequence | Support_Call/Put | Support_Bull/Bear | Support_Inline | -|----------------------|----------|-----------------------------------------------------------------------------------------|---------------|------------------|-------------------|----------------| -| warrant_list | object[] | 涡轮筛选数据列表 | | | | | -| ∟ symbol | string | 标的代码 | | true | true | true | -| ∟ name | string | 标的名称 | | true | true | true | -| ∟ last_done | string | 最新价 | 0 | true | true | true | -| ∟ change_rate | string | 涨跌幅 | 1 | true | true | true | -| ∟ change_val | string | 涨跌额 | 2 | true | true | true | -| ∟ volume | int64 | 成交量 | 3 | true | true | true | -| ∟ turnover | string | 成交额 | 4 | true | true | true | -| ∟ expiry_date | string | 到期日,使用 `YYMMDD` 格式 | 5 | true | true | true | -| ∟ strike_price | string | 行权价 | 6 | true | true | false | -| ∟ upper_strike_price | string | 上限价 | 7 | false | false | true | -| ∟ lower_strike_price | string | 下限价 | 8 | false | false | true | -| ∟ outstanding_qty | string | 街货量 | 9 | true | true | true | -| ∟ outstanding_ratio | string | 街货比 | 10 | true | true | true | -| ∟ premium | string | 溢价率 | 11 | true | true | true | -| ∟ itm_otm | string | 价内/价外 | 12 | true | true | false | -| ∟ implied_volatility | string | 引伸波幅 | 13 | true | false | false | -| ∟ delta | string | 对冲值 | 14 | true | false | false | -| ∟ call_price | string | 收回价 | 15 | false | true | false | -| ∟ to_call_price | string | 距收回价 | 16 | false | true | false | -| ∟ effective_leverage | string | 有效杠杆 | 17 | true | false | false | -| ∟ leverage_ratio | string | 杠杆比率 | 18 | true | true | true | -| ∟ conversion_ratio | string | 换股比率 | 19 | true | true | false | -| ∟ balance_point | string | 打和点 | 20 | true | true | false | +| Name | Type | Description | OrderSequence | Support_Call/Put | Support_Bull/Bear | Support_Inline | +| -------------------- | -------- | ----------------------------------------------------------------------------------------- | ------------- | ---------------- | ----------------- | -------------- | +| warrant_list | object[] | 涡轮筛选数据列表 | | | | | +| ∟ symbol | string | 标的代码 | | true | true | true | +| ∟ name | string | 标的名称 | | true | true | true | +| ∟ last_done | string | 最新价 | 0 | true | true | true | +| ∟ change_rate | string | 涨跌幅 | 1 | true | true | true | +| ∟ change_val | string | 涨跌额 | 2 | true | true | true | +| ∟ volume | int64 | 成交量 | 3 | true | true | true | +| ∟ turnover | string | 成交额 | 4 | true | true | true | +| ∟ expiry_date | string | 到期日,使用 `YYMMDD` 格式 | 5 | true | true | true | +| ∟ strike_price | string | 行权价 | 6 | true | true | false | +| ∟ upper_strike_price | string | 上限价 | 7 | false | false | true | +| ∟ lower_strike_price | string | 下限价 | 8 | false | false | true | +| ∟ outstanding_qty | string | 街货量 | 9 | true | true | true | +| ∟ outstanding_ratio | string | 街货比 | 10 | true | true | true | +| ∟ premium | string | 溢价率 | 11 | true | true | true | +| ∟ itm_otm | string | 价内/价外 | 12 | true | true | false | +| ∟ implied_volatility | string | 引伸波幅 | 13 | true | false | false | +| ∟ delta | string | 对冲值 | 14 | true | false | false | +| ∟ call_price | string | 收回价 | 15 | false | true | false | +| ∟ to_call_price | string | 距收回价 | 16 | false | true | false | +| ∟ effective_leverage | string | 有效杠杆 | 17 | true | false | false | +| ∟ leverage_ratio | string | 杠杆比率 | 18 | true | true | true | +| ∟ conversion_ratio | string | 换股比率 | 19 | true | true | false | +| ∟ balance_point | string | 打和点 | 20 | true | true | false | | ∟ status | int32 | 状态,

**可选值:**
`2`- 终止交易
`3` - 等待上市
`4` - 正常交易 | 21 | true | true | true | -| total_count | int32 | 符合条件的轮证总数量 | | | | | +| total_count | int32 | 符合条件的轮证总数量 | | | | | ### Protobuf @@ -196,7 +196,7 @@ message FilterWarrant { ## 错误码 | 协议错误码 | 业务错误码 | 描述 | 排查建议 | -|------------|------------|--------------|--------------------------| +| ---------- | ---------- | -------------- | ---------------------------- | | 3 | 301600 | 无效的请求 | 请求参数有误或解包失败 | | 3 | 301606 | 限流 | 降低请求频次 | | 7 | 301602 | 服务端内部错误 | 请重试或联系技术人员处理 | diff --git a/docs/quote/push/quote.md b/docs/quote/push/quote.md index 0b75161c..3b42adb5 100644 --- a/docs/quote/push/quote.md +++ b/docs/quote/push/quote.md @@ -17,19 +17,22 @@ sidebar_position: 1 ### Properties -| Name | Type | Description | -|---------------|--------|------------------------------------------------------------------| -| symbol | string | 标的代码,例如:`AAPL.US` | -| sequence | int64 | 序列号 | -| last_done | string | 最新价 | -| open | string | 开盘价 | -| high | string | 最高价 | -| low | string | 最低价 | -| timestamp | int64 | 最新成交的时间戳 | -| volume | int64 | 成交量 | -| turnover | string | 成交额 | -| trade_status | int32 | 交易状态,详见 [TradeStatus](../objects#tradestatus---交易状态) | -| trade_session | int32 | 交易时段,详见 [TradeSession](../objects#tradesession---交易时段) | +| Name | Type | Description | +| ---------------- | ------ | ------------------------------------------------------------------------------------- | +| symbol | string | 标的代码,例如:`AAPL.US` | +| sequence | int64 | 序列号 | +| last_done | string | 最新价 | +| open | string | 开盘价 | +| high | string | 最高价 | +| low | string | 最低价 | +| timestamp | int64 | 最新成交的时间戳 | +| volume | int64 | 成交量 | +| turnover | string | 成交额 | +| trade_status | int32 | 交易状态,详见 [TradeStatus](../objects#tradestatus---交易状态) | +| trade_session | int32 | 交易时段,详见 [TradeSession](../objects#tradesession---交易时段) | +| current_volume | int32 | 两次推送之间增加的成交量 | +| current_turnover | string | 两次推送之间增加的成交额 | +| tag | int32 | 价格数据标签

**可选值:**
`0` - 实时行情
`1` - 收盘后的修正数据 | ### Protobuf @@ -90,6 +93,9 @@ sleep(30) "volume": 88063191, "turnover": "13865092584.000", "trade_status": 0, - "trade_session": 0 + "trade_session": 0, + "current_volume": 111234, + "current_turnover": "23234343454.000", + "tag": 0 } ``` diff --git a/i18n/en/docusaurus-plugin-content-docs/current/quote/pull/warrant-filter.md b/i18n/en/docusaurus-plugin-content-docs/current/quote/pull/warrant-filter.md index 5014551c..75c8bbdd 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/quote/pull/warrant-filter.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/quote/pull/warrant-filter.md @@ -18,13 +18,13 @@ This API is used to obtain the quotes of HK warrants, and supports sorting and f ### Parameters | Name | Type | Required | Description | -|---------------|---------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| ------------- | ------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | symbol | string | Yes | Security code, in `ticker.region` format, for example:`700.HK` | | filter_config | object | Yes | Filter conditions | | ∟ sort_by | int32 | Yes | Which data to sort by, for example: `0`, see the `OrderSequence` field of the response data for the sequence number. | | ∟ sort_order | int32 | Yes | Order, for example: `1`

**Optional value:**
`0` - Ascending
`1` - Descending | | ∟ sort_offset | int32 | Yes | The first data offset of paging, for example: `0` | -| ∟ sort_count | int32 | Yes | Number of paginated pages per page, for example: `20`

**Check rules:**
Up to `500` securities per page | +| ∟ sort_count | int32 | Yes | Number of paginated pages per page, for example: `20`, no pagination when filling in `0` | | ∟ type | int32[] | No | Filter warrant type, for example: `[0,1]`

**Optional value:**
`0` - Call
`1` - Put
`2` - Bull
`3` - Bear
`4` - Inline | | ∟ issuer | int32[] | No | Filter issuer example: `[12,14]`, obtain [Issuer ID](./issuer) through API | | ∟ expiry_date | int32[] | No | Filter expiry date, example: `[1]`

**Optional value:**
`1` - Less than 3 months
`2` - 3 - 6 months
`3` - 6 - 12 months
`4` - greater than 12 months | @@ -71,7 +71,7 @@ print(resp) ### Response Properties | Name | Type | Description | OrderSequence | Support_Call/Put | Support_Bull/Bear | Support_Inline | -|----------------------|----------|------------------------------------------------------------------------------------------------------------|---------------|------------------|-------------------|----------------| +| -------------------- | -------- | ---------------------------------------------------------------------------------------------------------- | ------------- | ---------------- | ----------------- | -------------- | | warrant_list | object[] | Filted warrant data list | | | | | | ∟ symbol | string | Security code | | true | true | true | | ∟ name | string | Security name | | true | true | true | @@ -196,7 +196,7 @@ message FilterWarrant { ## Error Code | Protocol Error Code | Business Error Code | Description | Troubleshooting Suggestions | -|---------------------|---------------------|------------------------------|---------------------------------------------------------------| +| ------------------- | ------------------- | ---------------------------- | ------------------------------------------------------------- | | 3 | 301600 | Invalid request | Invalid request parameters or unpacking request failed | | 3 | 301606 | Request rate limit | Reduce the frequency of requests | | 7 | 301602 | Server error | Please try again or contact a technician to resolve the issue | diff --git a/i18n/en/docusaurus-plugin-content-docs/current/quote/push/quote.md b/i18n/en/docusaurus-plugin-content-docs/current/quote/push/quote.md index be57d29e..3722eea5 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/quote/push/quote.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/quote/push/quote.md @@ -17,19 +17,22 @@ Real-time quote push of the subscribed security. In the pushed data structure, o ### Properties -| Name | Type | Description | -|---------------|--------|--------------------------------------------------------------------------------------| -| symbol | string | Security code, for example: `AAPL.US` | -| sequence | int64 | Sequence number | -| last_done | string | Latest price | -| open | string | Open | -| high | string | High | -| low | string | Low | -| timestamp | int64 | Time of latest price | -| volume | int64 | Volume | -| turnover | string | Turnover | -| trade_status | int32 | Security trading status, see [TradeStatus](../objects#tradestatus---security-status) | -| trade_session | int32 | Trade session, see [TradeSession](../objects#tradesession---trading-session) | +| Name | Type | Description | +| ---------------- | ------ | --------------------------------------------------------------------------------------------------------------- | +| symbol | string | Security code, for example: `AAPL.US` | +| sequence | int64 | Sequence number | +| last_done | string | Latest price | +| open | string | Open | +| high | string | High | +| low | string | Low | +| timestamp | int64 | Time of latest price | +| volume | int64 | Volume | +| turnover | string | Turnover | +| trade_status | int32 | Security trading status, see [TradeStatus](../objects#tradestatus---security-status) | +| trade_session | int32 | Trade session, see [TradeSession](../objects#tradesession---trading-session) | +| current_volume | int32 | Increase volume between pushes | +| current_turnover | string | Increase turnover between pushes | +| tag | int32 | Price tag

**Optional value:**
`0` - Real-time quote
`1` - Revised data after market close | ### Protobuf @@ -90,6 +93,9 @@ sleep(30) "volume": 88063191, "turnover": "13865092584.000", "trade_status": 0, - "trade_session": 0 + "trade_session": 0, + "current_volume": 111234, + "current_turnover": "23234343454.000", + "tag": 0 } ``` diff --git a/i18n/zh-HK/docusaurus-plugin-content-docs/current/quote/pull/warrant-filter.md b/i18n/zh-HK/docusaurus-plugin-content-docs/current/quote/pull/warrant-filter.md index 1837dd4d..cd76190b 100644 --- a/i18n/zh-HK/docusaurus-plugin-content-docs/current/quote/pull/warrant-filter.md +++ b/i18n/zh-HK/docusaurus-plugin-content-docs/current/quote/pull/warrant-filter.md @@ -17,15 +17,15 @@ sidebar_position: 14 ### Parameters -| Name | Type | Required | Description | -|---------------|---------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------| +| Name | Type | Required | Description | +| ------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | | symbol | string | 是 | 標的代碼,使用 `ticker.region` 格式,例如:`700.HK` | -| filter_config | object | 是 | 篩選條件 | -| ∟ sort_by | int32 | 是 | 根據哪一項數據進行排序,例如:`0`,序號見響應數據 `OrderSequence` 字段。 | +| filter_config | object | 是 | 篩選條件 | +| ∟ sort_by | int32 | 是 | 根據哪一項數據進行排序,例如:`0`,序號見響應數據 `OrderSequence` 字段。 | | ∟ sort_order | int32 | 是 | 升降順序,例如:`1`

**可选值:**
`0` - 升序
`1` - 降序 | -| ∟ sort_offset | int32 | 是 | 分頁的第一條數據偏移量,例如 `0` | -| ∟ sort_count | int32 | 是 | 分頁的每一頁數量,例如 `20`

**校验规则:**
每頁數量最大為 `500` | -| ∟ type | int32[] | 否 | 篩選輪證類型 例如:`[0,1]`

**可选值:**
`0` - 認購
`1` - 認沽
`2` - 牛證
`3` - 熊證
`4` - 界內證 | +| ∟ sort_offset | int32 | 是 | 分頁的第一條數據偏移量,例如 `0` | +| ∟ sort_count | int32 | 是 | 分頁的每一頁數量,例如 `20`, 填 `0` 時不分頁 | +| ∟ type | int32[] | 否 | 篩選輪證類型 例如:`[0,1]`

**可选值:**
`0` - 認購
`1` - 認沽
`2` - 牛證
`3` - 熊證
`4` - 界內證 | | ∟ issuer | int32[] | 否 | 篩選發行商,例如:`[12,14]`,[發行商 ID](./issuer) 通過接口獲取 | | ∟ expiry_date | int32[] | 否 | 篩選輪證過期時間,例如:`[1]`

**可選值:**
`1` - 低於 3 個月
`2` - 3 - 6 個月
`3` - 6 - 12 個月
`4` - 大於 12 個月 | | ∟ price_type | int32[] | 否 | 篩選價內價外,例如:`[2]`

**可选值:**
`1` - 價內
`2` - 價外 | @@ -70,34 +70,34 @@ print(resp) ### Response Properties -| Name | Type | Description | OrderSequence | Support_Call/Put | Support_Bull/Bear | Support_Inline | -|----------------------|----------|--------------------------------------------------------------------------------------|---------------|------------------|-------------------|----------------| -| warrant_list | object[] | 渦輪篩選數據列表 | | | | | -| ∟ symbol | string | 標的代碼 | | true | true | true | -| ∟ name | string | 標的名稱 | | true | true | true | -| ∟ last_done | string | 最新價 | 0 | true | true | true | -| ∟ change_rate | string | 漲跌幅 | 1 | true | true | true | -| ∟ change_val | string | 漲跌額 | 2 | true | true | true | -| ∟ volume | int64 | 成交量 | 3 | true | true | true | -| ∟ turnover | string | 成交額 | 4 | true | true | true | -| ∟ expiry_date | string | 到期日,使用 `YYMMDD` 格式 | 5 | true | true | true | -| ∟ strike_price | string | 行權價 | 6 | true | true | false | -| ∟ upper_strike_price | string | 上限價 | 7 | false | false | true | -| ∟ lower_strike_price | string | 下限價 | 8 | false | false | true | -| ∟ outstanding_qty | string | 街貨量 | 9 | true | true | true | -| ∟ outstanding_ratio | string | 街貨比 | 10 | true | true | true | -| ∟ premium | string | 溢價率 | 11 | true | true | true | -| ∟ itm_otm | string | 價內/價外 | 12 | true | true | false | -| ∟ implied_volatility | string | 引伸波幅 | 13 | true | false | false | -| ∟ delta | string | 對沖值 | 14 | true | false | false | -| ∟ call_price | string | 收回價 | 15 | false | true | false | -| ∟ to_call_price | string | 距收回價 | 16 | false | true | false | -| ∟ effective_leverage | string | 有效槓桿 | 17 | true | false | false | -| ∟ leverage_ratio | string | 槓桿比率 | 18 | true | true | true | -| ∟ conversion_ratio | string | 換股比率 | 19 | true | true | false | -| ∟ balance_point | string | 打和點 | 20 | true | true | false | +| Name | Type | Description | OrderSequence | Support_Call/Put | Support_Bull/Bear | Support_Inline | +| -------------------- | -------- | -------------------------------------------------------------------------------------- | ------------- | ---------------- | ----------------- | -------------- | +| warrant_list | object[] | 渦輪篩選數據列表 | | | | | +| ∟ symbol | string | 標的代碼 | | true | true | true | +| ∟ name | string | 標的名稱 | | true | true | true | +| ∟ last_done | string | 最新價 | 0 | true | true | true | +| ∟ change_rate | string | 漲跌幅 | 1 | true | true | true | +| ∟ change_val | string | 漲跌額 | 2 | true | true | true | +| ∟ volume | int64 | 成交量 | 3 | true | true | true | +| ∟ turnover | string | 成交額 | 4 | true | true | true | +| ∟ expiry_date | string | 到期日,使用 `YYMMDD` 格式 | 5 | true | true | true | +| ∟ strike_price | string | 行權價 | 6 | true | true | false | +| ∟ upper_strike_price | string | 上限價 | 7 | false | false | true | +| ∟ lower_strike_price | string | 下限價 | 8 | false | false | true | +| ∟ outstanding_qty | string | 街貨量 | 9 | true | true | true | +| ∟ outstanding_ratio | string | 街貨比 | 10 | true | true | true | +| ∟ premium | string | 溢價率 | 11 | true | true | true | +| ∟ itm_otm | string | 價內/價外 | 12 | true | true | false | +| ∟ implied_volatility | string | 引伸波幅 | 13 | true | false | false | +| ∟ delta | string | 對沖值 | 14 | true | false | false | +| ∟ call_price | string | 收回價 | 15 | false | true | false | +| ∟ to_call_price | string | 距收回價 | 16 | false | true | false | +| ∟ effective_leverage | string | 有效槓桿 | 17 | true | false | false | +| ∟ leverage_ratio | string | 槓桿比率 | 18 | true | true | true | +| ∟ conversion_ratio | string | 換股比率 | 19 | true | true | false | +| ∟ balance_point | string | 打和點 | 20 | true | true | false | | ∟ status | int32 | 狀態,

**可選值:**
`2` - 終止交易
`3` - 等待上市
`4` - 正常 | 21 | true | true | true | -| total_count | int32 | 符合條件的輪證總數量 | | | | | +| total_count | int32 | 符合條件的輪證總數量 | | | | | ### Protobuf @@ -196,7 +196,7 @@ message FilterWarrant { ## 錯誤碼 | 協議錯誤碼 | 業務錯誤碼 | 描述 | 排查建議 | -|------------|------------|--------------|--------------------------| +| ---------- | ---------- | -------------- | ---------------------------- | | 3 | 301600 | 無效的請求 | 請求參數有誤或解包失敗 | | 3 | 301606 | 限流 | 降低請求頻次 | | 7 | 301602 | 服務端內部錯誤 | 請重試或聯繫技術人員處理 | diff --git a/i18n/zh-HK/docusaurus-plugin-content-docs/current/quote/push/quote.md b/i18n/zh-HK/docusaurus-plugin-content-docs/current/quote/push/quote.md index b4730905..f94fd158 100644 --- a/i18n/zh-HK/docusaurus-plugin-content-docs/current/quote/push/quote.md +++ b/i18n/zh-HK/docusaurus-plugin-content-docs/current/quote/push/quote.md @@ -17,19 +17,22 @@ sidebar_position: 1 ### Properties -| Name | Type | Description | -|---------------|--------|------------------------------------------------------------------| -| symbol | string | 標的代碼,例如:`AAPL.US` | -| sequence | int64 | 序列號 | -| last_done | string | 最新價 | -| open | string | 開盤價 | -| high | string | 最高價 | -| low | string | 最低價 | -| timestamp | int64 | 最新成交的時間戳 | -| volume | int64 | 成交量 | -| turnover | string | 成交額 | -| trade_status | int32 | 交易狀態,詳見 [TradeStatus](../objects#tradestatus---交易狀態) | -| trade_session | int32 | 交易時段,詳見 [TradeSession](../objects#tradesession---交易時段) | +| Name | Type | Description | +| ---------------- | ------ | ------------------------------------------------------------------------------------- | +| symbol | string | 標的代碼,例如:`AAPL.US` | +| sequence | int64 | 序列號 | +| last_done | string | 最新價 | +| open | string | 開盤價 | +| high | string | 最高價 | +| low | string | 最低價 | +| timestamp | int64 | 最新成交的時間戳 | +| volume | int64 | 成交量 | +| turnover | string | 成交額 | +| trade_status | int32 | 交易狀態,詳見 [TradeStatus](../objects#tradestatus---交易狀態) | +| trade_session | int32 | 交易時段,詳見 [TradeSession](../objects#tradesession---交易時段) | +| current_volume | int32 | 兩次推送之間增加的成交量 | +| current_turnover | string | 兩次推送之間增加的成交額 | +| tag | int32 | 價格數據標籤

**可选值:**
`0` - 實時行情
`1` - 收盤後的修正數據 | ### Protobuf @@ -90,6 +93,9 @@ sleep(30) "volume": 88063191, "turnover": "13865092584.000", "trade_status": 0, - "trade_session": 0 + "trade_session": 0, + "current_volume": 111234, + "current_turnover": "23234343454.000", + "tag": 0 } ```