From d0770c867ad4de21c3f535f526dceb11d800d8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E8=BD=A9=E4=BC=9F?= Date: Thu, 28 Apr 2022 20:10:37 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=A7=BB=E9=99=A4getting-started=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=EF=BC=8C=E4=BB=8B=E7=BB=8D=E6=96=87=E6=A1=A3=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E8=87=B3=E6=A0=B9=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/getting-started/_category_.json | 10 ---------- docs/getting-started/authority.md | 14 -------------- docs/getting-started/install.md | 5 ----- docs/getting-started/overview.md | 6 ------ docs/{getting-started => }/index.md | 13 +++++++++++++ 5 files changed, 13 insertions(+), 35 deletions(-) delete mode 100644 docs/getting-started/_category_.json delete mode 100644 docs/getting-started/authority.md delete mode 100644 docs/getting-started/install.md delete mode 100644 docs/getting-started/overview.md rename docs/{getting-started => }/index.md (90%) diff --git a/docs/getting-started/_category_.json b/docs/getting-started/_category_.json deleted file mode 100644 index 742947f05..000000000 --- a/docs/getting-started/_category_.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "position": 1, - "label": "OpenAPI 介绍", - "collapsible": true, - "collapsed": true, - "link": { - "title": "Getting started", - "slug": "/" - } -} diff --git a/docs/getting-started/authority.md b/docs/getting-started/authority.md deleted file mode 100644 index c9dbf83d0..000000000 --- a/docs/getting-started/authority.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: 权限和限制 -id: getting_started_authority -slug: /authority ---- - - -### 登录限制 - -TODO - -### 行情数据 - -TODO diff --git a/docs/getting-started/install.md b/docs/getting-started/install.md deleted file mode 100644 index 10ae92f02..000000000 --- a/docs/getting-started/install.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -slug: /install -title: 环境搭建 -id: getting_started_install ---- diff --git a/docs/getting-started/overview.md b/docs/getting-started/overview.md deleted file mode 100644 index 37d3faed2..000000000 --- a/docs/getting-started/overview.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -sidebar_position: 2 -slug: /overview -title: 接口概览 -id: getting_started_overview ---- diff --git a/docs/getting-started/index.md b/docs/index.md similarity index 90% rename from docs/getting-started/index.md rename to docs/index.md index c4dfd29ec..74b939c46 100644 --- a/docs/getting-started/index.md +++ b/docs/index.md @@ -39,6 +39,10 @@ Longbridge 提供接入底层服务的 HTTP / WebSockets 接口以及封装在 | 香港市场 | ✓ | ✓ | | | 美国市场 | ✓ | ✓ | ✓ | +#### 频次限制 + +30 秒内不超过 30 次调用,且每两次调用之间间隔不超过 0.02 秒 + ### 行情类 @@ -102,6 +106,15 @@ Longbridge 提供接入底层服务的 HTTP / WebSockets 接口以及封装在
+#### 频次限制 + +一个账号同时只能建立一个长连接,最多同时订阅 500 个标的。 +1 秒内不超过 10 次调用,并发请求数不超过 5。 + ## 使用费用 长桥不针对接口服务额外收取开通或使用费用,只需开通长桥综合账户及 OpenAPI 服务权限后即可免费使用。实际交易产生佣金费用或高级行情产品费用参考 [官网收费](https://longbridgehk.com/zh-CN/rate) 说明或咨询线上客服。 + +## 其他 + +Open API 服务由长桥证券(香港)有限公司及其适用的关联公司提供(具体以协议为准) From 8078f5d490bf74d9ec77f6c05e75c17a8cd2973c Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Thu, 28 Apr 2022 20:28:26 +0800 Subject: [PATCH 2/3] Update index.md --- docs/index.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/index.md b/docs/index.md index 74b939c46..d0416b1a1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -108,13 +108,18 @@ Longbridge 提供接入底层服务的 HTTP / WebSockets 接口以及封装在 #### 频次限制 -一个账号同时只能建立一个长连接,最多同时订阅 500 个标的。 -1 秒内不超过 10 次调用,并发请求数不超过 5。 + +::caution + +- 一个账号同时只能建立一个长连接,最多同时订阅 500 个标的。 +- 1 秒内不超过 10 次调用,并发请求数不超过 5。 + +::: ## 使用费用 -长桥不针对接口服务额外收取开通或使用费用,只需开通长桥综合账户及 OpenAPI 服务权限后即可免费使用。实际交易产生佣金费用或高级行情产品费用参考 [官网收费](https://longbridgehk.com/zh-CN/rate) 说明或咨询线上客服。 +长桥不针对接口服务额外收取开通或使用费用,只需开通长桥综合账户及 OpenAPI 服务权限后即可免费使用。实际交易产生佣金费用或高级行情产品费用参考 [官网收费](https://longbridge.hk/rate) 说明或咨询线上客服。 ## 其他 -Open API 服务由长桥证券(香港)有限公司及其适用的关联公司提供(具体以协议为准) +OpenAPI 服务由长桥证券(香港)有限公司及其适用的关联公司提供(具体以协议为准)。 From 9ddcc34ba7c5b66be5f21ca78980416ca52736eb Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Thu, 28 Apr 2022 20:29:07 +0800 Subject: [PATCH 3/3] Update index.md --- docs/index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index d0416b1a1..5039373ad 100644 --- a/docs/index.md +++ b/docs/index.md @@ -41,7 +41,11 @@ Longbridge 提供接入底层服务的 HTTP / WebSockets 接口以及封装在 #### 频次限制 -30 秒内不超过 30 次调用,且每两次调用之间间隔不超过 0.02 秒 +:::caution + +- 30 秒内不超过 30 次调用,且每两次调用之间间隔不超过 0.02 秒 + +::: ### 行情类