diff --git a/docs/.vitepress/theme/components/Pricing.vue b/docs/.vitepress/theme/components/Pricing.vue index 5336364a..e738b24f 100644 --- a/docs/.vitepress/theme/components/Pricing.vue +++ b/docs/.vitepress/theme/components/Pricing.vue @@ -21,17 +21,14 @@ const LOCALE = { title: 'Trading & Account APIs', desc: 'Fundamentals, analysis, news, assets, orders — every core API is free.', }, - { - title: 'Basic Market Data', - desc: 'Nasdaq Basic, HK Level 1, CN Level 1 — bundled with your account. View live market data to see what\'s included.', - }, + { title: 'Real-time Market Data', desc: 'US LV1, HK Level 1, CN Level 1 real-time quotes — included free on registration. View live market data to see what\'s included.' }, { title: 'Push & Pull Data', desc: 'WebSocket real-time push and REST API pull — unlimited.' }, ], }, realtime: { eyebrow: 'REAL-TIME MARKET DATA', title: 'Subscribe only to what you need.', - desc: 'OpenAPI quote permissions are independent from App / PC / Web and must be purchased separately. Activate via Longbridge App → Me → Quote Store.', + desc: 'OpenAPI quote permissions are independent from App / PC / Web. US LV1 is free on registration; subscribe to the rest as needed via Activate via Longbridge App → Me → Quote Store.', }, billing: { label: 'Billing' }, cycle: { @@ -50,9 +47,9 @@ const LOCALE = { market: 'US Market', name: 'US LV1 Real-time', badge: '', - tagline: 'Nasdaq LV1 real-time quotes with best bid/ask, including pre / post-market.', + tagline: 'US LV1 real-time quotes with best bid/ask across pre-market, regular, after-hours, and overnight sessions.', coverage: 'US market only', - feats: ['Nasdaq LV1 real-time quotes', 'Pre / post-market (overnight)', 'WebSocket real-time push'], + feats: ['US LV1 real-time quotes', 'Pre / post-market & overnight', 'WebSocket real-time push'], }, { market: 'HK Market', @@ -76,8 +73,7 @@ const LOCALE = { eyebrow: 'FEATURE COMPARISON', title: "What's included in each plan.", plans: [ - { label: 'Nasdaq Basic', tag: 'Free', color: 'var(--lb-up)' }, - { label: 'US LV1', tag: 'Paid', color: 'var(--lb-market-us)' }, + { label: 'US LV1', tag: 'Free', color: 'var(--lb-market-us)' }, { label: 'OPRA', tag: 'Paid', color: 'var(--lb-ai-mention)' }, { label: 'HK LV1', tag: 'Free (promo)', color: 'var(--lb-up)' }, { label: 'HK LV2', tag: 'Paid', color: 'var(--lb-market-hk)' }, @@ -109,7 +105,7 @@ const LOCALE = { }, { q: 'Do I need a subscription to test the API?', - a: 'No. Trading, account, and fundamentals APIs are free. You can also use Basic Market Data tiers (Nasdaq Basic, HK LV1, CN LV1) for free.', + a: 'No. Trading, account, and fundamentals APIs are free. US LV1, HK LV1, and CN LV1 real-time quotes are also free on registration.', }, { q: 'Can I cancel anytime?', @@ -141,17 +137,14 @@ const LOCALE = { price: '免费', items: [ { title: '交易与账户 API', desc: '基本面、分析、资讯、资产、订单——所有核心 API 均免费。' }, - { - title: '基础行情数据', - desc: '纳斯达克基础行情、港股一档、A 股一档——随账户附赠。查看实时行情了解包含内容。', - }, + { title: '实时行情数据', desc: '美股 LV1、港股一档、A 股一档实时行情——注册即免费赠送。查看实时行情了解包含内容。' }, { title: '推送与拉取数据', desc: 'WebSocket 实时推送与 REST API 拉取——无限制。' }, ], }, realtime: { eyebrow: '实时行情数据', title: '只订阅您需要的数据', - desc: 'OpenAPI 行情权限与 App / PC / Web 独立,需单独购买。通过长桥 App → 我的 → 行情商店开通。', + desc: 'OpenAPI 行情权限与 App / PC / Web 独立。US LV1 注册即免费赠送,其余按需通过长桥 App → 我的 → 行情商店开通。', }, billing: { label: '计费周期' }, cycle: { @@ -170,9 +163,9 @@ const LOCALE = { market: '美股市场', name: 'US LV1 实时行情', badge: '', - tagline: '纳斯达克 LV1 实时行情,含最优买卖价及盘前/盘后数据。', + tagline: '美股 LV1 实时行情,含最优买卖价及盘前、盘中、盘后、夜盘全时段。', coverage: '仅限美股市场', - feats: ['纳斯达克 LV1 实时行情', '盘前/盘后(隔夜)', 'WebSocket 实时推送'], + feats: ['美股 LV1 实时行情', '盘前/盘后及夜盘', 'WebSocket 实时推送'], }, { market: '港股市场', @@ -196,8 +189,7 @@ const LOCALE = { eyebrow: '功能对比', title: '各方案功能一览', plans: [ - { label: 'Nasdaq Basic', tag: '免费', color: 'var(--lb-up)' }, - { label: '美股 LV1', tag: '付费', color: 'var(--lb-market-us)' }, + { label: '美股 LV1', tag: '免费', color: 'var(--lb-market-us)' }, { label: 'OPRA', tag: '付费', color: 'var(--lb-ai-mention)' }, { label: '港股 LV1', tag: '推广免费', color: 'var(--lb-up)' }, { label: '港股 LV2', tag: '付费', color: 'var(--lb-market-hk)' }, @@ -229,7 +221,7 @@ const LOCALE = { }, { q: '测试 API 需要订阅吗?', - a: '不需要。交易、账户和基本面 API 均免费。您也可以免费使用基础行情(纳斯达克基础、港股 LV1、A 股 LV1)。', + a: '不需要。交易、账户和基本面 API 均免费。美股 LV1、港股 LV1、A 股 LV1 实时行情也注册即免费赠送。', }, { q: '可以随时取消吗?', a: '可以。在下一个计费周期前随时取消。行情权限在已付费周期结束前持续有效。' }, { @@ -255,17 +247,14 @@ const LOCALE = { price: '免費', items: [ { title: '交易與帳戶 API', desc: '基本面、分析、資訊、資產、訂單——所有核心 API 均免費。' }, - { - title: '基礎行情數據', - desc: '納斯達克基礎行情、港股一檔、A 股一檔——隨帳戶附贈。查看即時行情了解包含內容。', - }, + { title: '即時行情數據', desc: '美股 LV1、港股一檔、A 股一檔即時行情——註冊即免費贈送。查看即時行情了解包含內容。' }, { title: '推送與拉取數據', desc: 'WebSocket 即時推送與 REST API 拉取——無限制。' }, ], }, realtime: { eyebrow: '即時行情數據', title: '只訂閱您需要的數據。', - desc: 'OpenAPI 行情權限與 App / PC / Web 獨立,需單獨購買。透過長橋 App → 我的 → 行情商店開通。', + desc: 'OpenAPI 行情權限與 App / PC / Web 獨立。US LV1 註冊即免費贈送,其餘按需透過長橋 App → 我的 → 行情商店開通。', }, billing: { label: '計費週期' }, cycle: { @@ -284,9 +273,9 @@ const LOCALE = { market: '美股市場', name: 'US LV1 即時行情', badge: '', - tagline: '納斯達克 LV1 即時行情,含最優買賣價及盤前/盤後數據。', + tagline: '美股 LV1 即時行情,含最優買賣價及盤前、盤中、盤後、夜盤全時段。', coverage: '僅限美股市場', - feats: ['納斯達克 LV1 即時行情', '盤前/盤後(隔夜)', 'WebSocket 即時推送'], + feats: ['美股 LV1 即時行情', '盤前/盤後及夜盤', 'WebSocket 即時推送'], }, { market: '港股市場', @@ -310,8 +299,7 @@ const LOCALE = { eyebrow: '功能對比', title: '各方案功能一覽。', plans: [ - { label: 'Nasdaq Basic', tag: '免費', color: 'var(--lb-up)' }, - { label: '美股 LV1', tag: '付費', color: 'var(--lb-market-us)' }, + { label: '美股 LV1', tag: '免費', color: 'var(--lb-market-us)' }, { label: 'OPRA', tag: '付費', color: 'var(--lb-ai-mention)' }, { label: '港股 LV1', tag: '推廣免費', color: 'var(--lb-up)' }, { label: '港股 LV2', tag: '付費', color: 'var(--lb-market-hk)' }, @@ -343,7 +331,7 @@ const LOCALE = { }, { q: '測試 API 需要訂閱嗎?', - a: '不需要。交易、帳戶和基本面 API 均免費。您也可以免費使用基礎行情(納斯達克基礎、港股 LV1、A 股 LV1)。', + a: '不需要。交易、帳戶和基本面 API 均免費。美股 LV1、港股 LV1、A 股 LV1 即時行情也註冊即免費贈送。', }, { q: '可以隨時取消嗎?', a: '可以。在下一個計費週期前隨時取消。行情權限在已付費週期結束前持續有效。' }, { @@ -372,6 +360,7 @@ const PAID_PLANS = [ currency: 'HK$', color: 'var(--lb-market-us)', hasBadge: false, + free: true, cycles: { auto: { price: 558, discount: 22 }, monthly: { price: 718 }, @@ -384,6 +373,7 @@ const PAID_PLANS = [ currency: 'HK$', color: 'var(--lb-market-hk)', hasBadge: true, + free: false, cycles: { auto: { price: 558, discount: 22 }, monthly: { price: 718 }, @@ -396,6 +386,7 @@ const PAID_PLANS = [ currency: 'HK$', color: 'var(--lb-ai-mention)', hasBadge: false, + free: false, cycles: { auto: { price: 22, discount: 45 }, monthly: { price: 40 }, @@ -414,19 +405,19 @@ const FREE_ICONS = [ const BILLING_CYCLES = [{ key: 'auto' }, { key: 'monthly' }, { key: 'quarterly' }, { key: 'annual', badge: true }] const MATRIX_ROW_DATA = [ - [1, 1, 1, 1, 1, 1], - [1, 1, 1, 1, 1, 1], - [1, 1, 1, 1, 1, 1], - [1, 1, 0, 0, 0, 0], - [1, 1, 0, 0, 0, 0], - [0, 1, 0, 0, 0, 0], - [0, 0, 1, 0, 0, 0], - [0, 0, 0, 1, 1, 0], - [0, 0, 0, 1, 1, 0], - [0, 0, 0, 0, 1, 0], - [0, 0, 0, 0, 1, 0], - [0, 0, 0, 0, 1, 0], - [0, 0, 0, 0, 0, 1], + [1, 1, 1, 1, 1], + [1, 1, 1, 1, 1], + [1, 1, 1, 1, 1], + [1, 0, 0, 0, 0], + [1, 0, 0, 0, 0], + [1, 0, 0, 0, 0], + [0, 1, 0, 0, 0], + [0, 0, 1, 1, 0], + [0, 0, 1, 1, 0], + [0, 0, 0, 1, 0], + [0, 0, 0, 1, 0], + [0, 0, 0, 1, 0], + [0, 0, 0, 0, 1], ] const cycle = ref('auto') @@ -602,17 +593,22 @@ const matrixRows = computed(() => {

{{ p.name }}

- {{ p.currency }} - {{ planCycle(p).price }} - {{ cycleSuffix }} - -{{ planCycle(p).discount }}% -
-
- ≈{{ p.currency }}{{ planCycle(p).approxMo }}{{ content.suffix.mo }} -
-
- {{ content.plan.was }} {{ p.currency }}{{ p.cycles.monthly.price }}{{ content.suffix.mo }} + {{ content.free.price }} +
+

{{ p.tagline }}

(() => { ## Basic Usage diff --git a/docs/en/docs/getting-started.md b/docs/en/docs/getting-started.md index b32da180..82ae2f6f 100644 --- a/docs/en/docs/getting-started.md +++ b/docs/en/docs/getting-started.md @@ -424,7 +424,7 @@ Please pay attention to protect your **Access Token** information, anyone who ge | `LONGBRIDGE_QUOTE_WS_URL` | Quote websocket endpoint url (Default: `wss://openapi-quote.longbridge.com/v2`) | | `LONGBRIDGE_TRADE_WS_URL` | Trade websocket endpoint url (Default: `wss://openapi-trade.longbridge.com/v2`) | | `LONGBRIDGE_REGION` | Override API region; SDK auto-selects by network. Set to `cn` or `hk` if incorrect. | -| `LONGBRIDGE_ENABLE_OVERNIGHT` | Enable overnight quote, `true` or `false` (Default: `false`). Requires purchasing the "LV1 Real-time Quotes (OpenAPI)" quote card in the Longbridge App. US stocks only. | +| `LONGBRIDGE_ENABLE_OVERNIGHT` | Enable overnight quote, `true` or `false` (Default: `false`). Overnight quotes are free. US stocks only. | | `LONGBRIDGE_PUSH_CANDLESTICK_MODE` | `realtime` or `confirmed` (Default: `realtime`) | | `LONGBRIDGE_PRINT_QUOTE_PACKAGES` | Print quote packages when connected, `true` or `false` (Default: `true`) | | `LONGBRIDGE_LOG_PATH` | Set the path of the log files (Default: no logs) | @@ -915,7 +915,7 @@ After running, the output is as follows: To subscribe to market data, please check the [Developer Center](https://open.longbridge.com/account) - "Quote authority" is correct - HK Market - BMP basic quotation is unable to subscribe with WebSocket as it has no real-time quote push. -- US Market - Nasdaq Basic (Only OpenAPI). +- US Market - LV1 real-time quotes, free on registration (pre-market, regular, after-hours, and overnight sessions; OpenAPI only). Before running, visit the [Developer Center](https://open.longbridge.com/dashboard) and ensure that the account has the correct quote level. diff --git a/docs/en/docs/market/status/history-market-temp.md b/docs/en/docs/market/status/history-market-temp.md index 1c634db8..0113eb70 100644 --- a/docs/en/docs/market/status/history-market-temp.md +++ b/docs/en/docs/market/status/history-market-temp.md @@ -6,7 +6,6 @@ sidebar_position: 3 This interface is used to get historical market temperature. - # HK temperature Q1 2025 diff --git a/docs/en/docs/market/status/market-temp.md b/docs/en/docs/market/status/market-temp.md index 4319a63b..8bb30a01 100644 --- a/docs/en/docs/market/status/market-temp.md +++ b/docs/en/docs/market/status/market-temp.md @@ -6,7 +6,6 @@ sidebar_position: 2 Get Current Market Temperature - # HK market sentiment temperature diff --git a/docs/en/docs/qa/quote.md b/docs/en/docs/qa/quote.md index 0c613c32..fdbdef2a 100644 --- a/docs/en/docs/qa/quote.md +++ b/docs/en/docs/qa/quote.md @@ -90,7 +90,7 @@ The security code uses the `ticker.region` format, `ticker` represents the code ## Q6: How to enable Overnight quote -- **Overnight quote data is not available by default.** You need to purchase the **"LV1 Real-time Quotes (OpenAPI)"** quote card in the "Quote Store" of the Longbridge mobile app to access overnight data. +- **Overnight quotes are free.** No quote card purchase required. - Overnight quotes are currently **only available for US stocks**. Hong Kong stocks do not support overnight quotes. - After obtaining the overnight quote permission, you still need to actively enable it by filling in the key `need_over_night_quote`, value `true` in the `metadata` field of the authentication interface. diff --git a/docs/en/docs/quote/analytics/filings.md b/docs/en/docs/quote/analytics/filings.md index c33abb81..089586fc 100644 --- a/docs/en/docs/quote/analytics/filings.md +++ b/docs/en/docs/quote/analytics/filings.md @@ -12,7 +12,6 @@ headingLevel: 2 Get the filings list for a specified security. - # regulatory filings for Apple diff --git a/docs/en/docs/quote/overview.md b/docs/en/docs/quote/overview.md index 959de1cf..faf773d1 100644 --- a/docs/en/docs/quote/overview.md +++ b/docs/en/docs/quote/overview.md @@ -150,6 +150,6 @@ All Quote APIs require OpenAPI quote permissions. These are **separate from App/ | **Basic** | LV1 US/CN real-time; HK BMP (~15 min delay, no push) | Included with OpenAPI activation | | **LV1 Real-time** (HK) | HK real-time quotes + WebSocket push support | Purchase "LV1 Real-time Quotes (OpenAPI)" via Quote Store | | **LV2 Subscription** | Level 2 order book (depth), HK broker queue | Purchase LV2 subscription via Quote Store | -| **Overnight** (US) | US pre/post-market extended-hours data | Purchase LV1 card + set `LONGBRIDGE_ENABLE_OVERNIGHT=true` | +| **Overnight** (US) | US pre/post-market extended-hours data | Free; set `LONGBRIDGE_ENABLE_OVERNIGHT=true` | Check your current permissions at [Developer Center](https://open.longbridge.com/dashboard). Purchase quote cards via **Longbridge App → My → My Quotes → Quote Store**. diff --git a/docs/en/docs/quote/stocks/broker-ids.md b/docs/en/docs/quote/stocks/broker-ids.md index d70929a1..858c4aa1 100644 --- a/docs/en/docs/quote/stocks/broker-ids.md +++ b/docs/en/docs/quote/stocks/broker-ids.md @@ -7,7 +7,6 @@ sidebar_position: 7 This API is used to obtain participant IDs data (which can be synchronized once a day). - # list all market maker broker IDs and names (HK market) diff --git a/docs/en/docs/quote/stocks/candlestick.md b/docs/en/docs/quote/stocks/candlestick.md index 85555305..d0340b09 100644 --- a/docs/en/docs/quote/stocks/candlestick.md +++ b/docs/en/docs/quote/stocks/candlestick.md @@ -40,7 +40,7 @@ longbridge kline NVDA.US --period day --count 20 | period | int32 | Yes | Candlestick period, for example: `1000`, see [Period](../objects#period---candlestick-period) | | count | int32 | Yes | Count of cancdlestick, for example: `100`

**Check rules:**
maximum count is `1000` | | adjust_type | int32 | Yes | Adjustment type, for example: `0`, see [AdjustType](../objects#adjusttype---candlestick-adjustment-type) | -| trade_session | int32 | No | Trading session, 0: intraday, 100: All (pre, intraday, post, overnight)

Note: Overnight data requires purchasing the "LV1 Real-time Quotes (OpenAPI)" quote card. US stocks only. | +| trade_session | int32 | No | Trading session, 0: intraday, 100: All (pre, intraday, post, overnight)

Note: Overnight data is free, US stocks only; enable the `enable_overnight` parameter to receive it. | ### Protobuf diff --git a/docs/en/docs/quote/stocks/history-candlestick.md b/docs/en/docs/quote/stocks/history-candlestick.md index 03be9c58..c07b5970 100644 --- a/docs/en/docs/quote/stocks/history-candlestick.md +++ b/docs/en/docs/quote/stocks/history-candlestick.md @@ -44,7 +44,7 @@ longbridge kline history NVDA.US --start 2025-01-01 --end 2025-12-31 | ∟ date | string | No | Query date, in `YYYYMMDD` format, for example: 20231016. Default value: latest trading day of the underlying market. | | ∟ minute | string | No | Query time, in `HHMM` format, for example: 09:35, only valid when querying minute-level data | | ∟ count | int32 | No | Count of cancdlestick, valid range:`[1,1000]`. Default value: `10` | -| trade_session | int32 | No | Trading session, 0: intraday, 100: All (pre, intraday, post, overnight)

Note: Overnight data requires purchasing the "LV1 Real-time Quotes (OpenAPI)" quote card. US stocks only. | +| trade_session | int32 | No | Trading session, 0: intraday, 100: All (pre, intraday, post, overnight)

Note: Overnight data is free, US stocks only; enable the `enable_overnight` parameter to receive it. | ### Protobuf diff --git a/docs/en/docs/quote/stocks/quote.md b/docs/en/docs/quote/stocks/quote.md index 90aa0641..ba7ebf03 100644 --- a/docs/en/docs/quote/stocks/quote.md +++ b/docs/en/docs/quote/stocks/quote.md @@ -268,7 +268,7 @@ func main() { | ∟∟ high | string | High | | ∟∟ low | string | Low | | ∟∟ prev_close | string | Close of the last trade session | -| ∟ over_night_quote | object | Quote of US overnight market

Note: Requires purchasing the "LV1 Real-time Quotes (OpenAPI)" quote card in the Longbridge App and enabling the `enable_overnight` parameter. Returns null otherwise. | +| ∟ over_night_quote | object | Quote of US overnight market

Note: Enable the `enable_overnight` parameter to receive it; returns null otherwise. (Overnight quotes are free, US stocks only.) | | ∟∟ last_done | string | Latest price | | ∟∟ timestamp | int64 | Time of latest price | | ∟∟ volume | int64 | Volume | diff --git a/docs/en/docs/quote/watchlist/watchlist_create_group.md b/docs/en/docs/quote/watchlist/watchlist_create_group.md index f44a0bd0..9c8355b9 100644 --- a/docs/en/docs/quote/watchlist/watchlist_create_group.md +++ b/docs/en/docs/quote/watchlist/watchlist_create_group.md @@ -12,7 +12,6 @@ headingLevel: 2 Create watched group - # create a new watchlist group diff --git a/docs/en/docs/quote/watchlist/watchlist_delete_group.md b/docs/en/docs/quote/watchlist/watchlist_delete_group.md index 91061376..41dfa042 100644 --- a/docs/en/docs/quote/watchlist/watchlist_delete_group.md +++ b/docs/en/docs/quote/watchlist/watchlist_delete_group.md @@ -12,7 +12,6 @@ headingLevel: 2 Delete watched group - # delete a watchlist group by ID (get ID from: longbridge watchlist) diff --git a/docs/en/docs/quote/watchlist/watchlist_groups.md b/docs/en/docs/quote/watchlist/watchlist_groups.md index 04bd6470..9955acb8 100644 --- a/docs/en/docs/quote/watchlist/watchlist_groups.md +++ b/docs/en/docs/quote/watchlist/watchlist_groups.md @@ -12,7 +12,6 @@ headingLevel: 2 Get Watchlist groups - # list all watchlist groups and their symbols diff --git a/docs/en/docs/quote/watchlist/watchlist_update_group.md b/docs/en/docs/quote/watchlist/watchlist_update_group.md index 9352193c..a3e2d7aa 100644 --- a/docs/en/docs/quote/watchlist/watchlist_update_group.md +++ b/docs/en/docs/quote/watchlist/watchlist_update_group.md @@ -12,7 +12,6 @@ headingLevel: 2 Update watched group - # add symbols to a group diff --git a/docs/zh-CN/docs/cli/market-data/market-temp.md b/docs/zh-CN/docs/cli/market-data/market-temp.md index f2cbda33..eaf71c13 100644 --- a/docs/zh-CN/docs/cli/market-data/market-temp.md +++ b/docs/zh-CN/docs/cli/market-data/market-temp.md @@ -8,7 +8,6 @@ sidebar_position: 10 获取 Longbridge 市场温度指数——结合估值与市场情绪的综合 0–100 情绪量表。数值越高表示市场越偏多头。 - ## 基本用法 diff --git a/docs/zh-CN/docs/getting-started.md b/docs/zh-CN/docs/getting-started.md index fa6eca6d..6273b559 100644 --- a/docs/zh-CN/docs/getting-started.md +++ b/docs/zh-CN/docs/getting-started.md @@ -437,7 +437,7 @@ OAuth Token 应安全存储在应用程序中(如加密文件、安全密钥 | `LONGBRIDGE_QUOTE_WS_URL` | 行情 WebSocket 地址(默认:`wss://openapi-quote.longbridge.com/v2`) | | `LONGBRIDGE_TRADE_WS_URL` | 交易 WebSocket 地址(默认:`wss://openapi-trade.longbridge.com/v2`) | | `LONGBRIDGE_REGION` | 覆盖接入点;SDK 会按网络自动选择,若判断不正确可设置(如 `cn`、`hk`) | -| `LONGBRIDGE_ENABLE_OVERNIGHT` | 是否开启夜盘行情,`true` 或 `false`(默认:`false`);需在 App 行情商店购买「LV1 实时行情 (OpenAPI)」行情卡,仅支持美股 | +| `LONGBRIDGE_ENABLE_OVERNIGHT` | 是否开启夜盘行情,`true` 或 `false`(默认:`false`);夜盘行情免费,仅支持美股 | | `LONGBRIDGE_PUSH_CANDLESTICK_MODE` | K 线推送模式,`realtime` 或 `confirmed`(默认:`realtime`) | | `LONGBRIDGE_PRINT_QUOTE_PACKAGES` | 连接时是否打印行情包,`true` 或 `false`(默认:`true`) | | `LONGBRIDGE_LOG_PATH` | 日志文件路径(默认:不写日志) | @@ -922,7 +922,7 @@ g++ -std=c++17 account_asset.cpp -o account_asset -llongbridge && ./account_asse 订阅行情数据请检查 [开发者中心](https://open.longbridge.com/dashboard) - "行情权限"是否正确 - 港股 - BMP 基础报价,无实时行情推送,无法用 WebSocket 订阅 -- 美股 - 纳斯达克 Basic 行情(只限 OpenAPI) +- 美股 - LV1 实时行情,注册即免费赠送(含盘前、盘中、盘后、夜盘全时段,只限 OpenAPI) 运行前访问 [开发者中心](https://open.longbridge.com/dashboard),检查确保账户有正确的行情权限。 diff --git a/docs/zh-CN/docs/market/status/history-market-temp.md b/docs/zh-CN/docs/market/status/history-market-temp.md index f3614525..11599d00 100644 --- a/docs/zh-CN/docs/market/status/history-market-temp.md +++ b/docs/zh-CN/docs/market/status/history-market-temp.md @@ -6,7 +6,6 @@ sidebar_position: 3 该接口用于获取历史市场温度。 - # 港股 2025 年 Q1 历史温度 diff --git a/docs/zh-CN/docs/market/status/market-temp.md b/docs/zh-CN/docs/market/status/market-temp.md index 151f2197..f816fa0b 100644 --- a/docs/zh-CN/docs/market/status/market-temp.md +++ b/docs/zh-CN/docs/market/status/market-temp.md @@ -6,7 +6,6 @@ sidebar_position: 2 获取当前市场温度 - # 港股市场温度 diff --git a/docs/zh-CN/docs/qa/quote.md b/docs/zh-CN/docs/qa/quote.md index 0c3461b4..29607ba2 100644 --- a/docs/zh-CN/docs/qa/quote.md +++ b/docs/zh-CN/docs/qa/quote.md @@ -90,7 +90,7 @@ sidebar_position: 1 ## Q6:如何获取夜盘行情 -- **夜盘数据默认不包含**,需要在手机 Longbridge App 的「行情商店」购买 **「LV1 实时行情 (OpenAPI)」** 行情卡才能获取夜盘数据。 +- **夜盘行情免费提供**,无需额外购买行情卡。 - 目前夜盘行情**仅支持美股**,港股暂不支持夜盘。 - 开通夜盘权限后,还需要主动开启,方式为在鉴权接口的 `metadata` 字段填充 key `need_over_night_quote`, value `true`。 diff --git a/docs/zh-CN/docs/quote/analytics/filings.md b/docs/zh-CN/docs/quote/analytics/filings.md index e247a6b9..f6c17feb 100644 --- a/docs/zh-CN/docs/quote/analytics/filings.md +++ b/docs/zh-CN/docs/quote/analytics/filings.md @@ -12,7 +12,6 @@ headingLevel: 2 获取指定股票的公告列表。 - # Apple 监管文件和公告 diff --git a/docs/zh-CN/docs/quote/overview.md b/docs/zh-CN/docs/quote/overview.md index 365774f7..3b5f54ee 100644 --- a/docs/zh-CN/docs/quote/overview.md +++ b/docs/zh-CN/docs/quote/overview.md @@ -151,6 +151,6 @@ slug: overview | **基础行情** | 美/A 股实时报价;港股 BMP(约 15 分钟延迟,不支持推送) | 开通 OpenAPI 后自动获得 | | **LV1 实时**(港股) | 港股实时报价 + WebSocket 推送支持 | 通过行情商城购买「LV1 实时行情 (OpenAPI)」 | | **LV2 订阅** | Level 2 买卖盘(depth)、港股经纪商队列(brokers) | 通过行情商城购买 LV2 订阅卡 | -| **盘前盘后**(美股) | 美股盘前/盘后延伸时段数据 | 购买 LV1 卡 + 设置 `LONGBRIDGE_ENABLE_OVERNIGHT=true` | +| **盘前盘后**(美股) | 美股盘前/盘后延伸时段数据 | 免费,设置 `LONGBRIDGE_ENABLE_OVERNIGHT=true` 即可获取 | 查看当前权限:[开发者中心](https://open.longbridge.com/dashboard)。购买行情卡:**Longbridge App → 我的 → 我的行情 → 行情商城**。 diff --git a/docs/zh-CN/docs/quote/stocks/broker-ids.md b/docs/zh-CN/docs/quote/stocks/broker-ids.md index c0116748..d33bcfac 100644 --- a/docs/zh-CN/docs/quote/stocks/broker-ids.md +++ b/docs/zh-CN/docs/quote/stocks/broker-ids.md @@ -7,7 +7,6 @@ sidebar_position: 7 该接口用于获取券商席位 ID 数据 (可每天同步一次)。 - # 港股所有做市商券商 ID 和名称 diff --git a/docs/zh-CN/docs/quote/stocks/candlestick.md b/docs/zh-CN/docs/quote/stocks/candlestick.md index 53ee23f9..ed386b0e 100644 --- a/docs/zh-CN/docs/quote/stocks/candlestick.md +++ b/docs/zh-CN/docs/quote/stocks/candlestick.md @@ -40,7 +40,7 @@ longbridge kline NVDA.US --period day --count 20 | period | int32 | 是 | k 线周期,例如:`1000`,详见 [Period](../objects#period---k-线周期) | | count | int32 | 是 | 数据数量,例如:`100`

**校验规则:**
请求数量最大为 `1000` | | adjust_type | int32 | 是 | 复权类型,例如:`0`,详见 [AdjustType](../objects#adjusttype---k-线复权类型) | -| trade_session | int32 | 否 | 交易时段,0: 盘中,100: 所有(盘前,盘中,盘后,夜盘)

注意:夜盘数据需购买「LV1 实时行情 (OpenAPI)」行情卡,且仅支持美股 | +| trade_session | int32 | 否 | 交易时段,0: 盘中,100: 所有(盘前,盘中,盘后,夜盘)

注意:夜盘数据免费,仅支持美股,需开启 `enable_overnight` 参数获取 | ### Protobuf diff --git a/docs/zh-CN/docs/quote/stocks/history-candlestick.md b/docs/zh-CN/docs/quote/stocks/history-candlestick.md index 385d3257..4b487204 100644 --- a/docs/zh-CN/docs/quote/stocks/history-candlestick.md +++ b/docs/zh-CN/docs/quote/stocks/history-candlestick.md @@ -44,7 +44,7 @@ longbridge kline history NVDA.US --start 2025-01-01 --end 2025-12-31 | ∟ date | string | 否 | 查询日期,格式为 `YYYYMMDD`,例如:20231016,为空时使用标的所在市场的最新交易日 | | ∟ minute | string | 否 | 查询时间,格式为 `HHMM`,例如:09:35,仅在查询分钟级别 K 线时有效 | | ∟ count | int32 | 否 | 查询数量,填写范围 `[1,1000]`,为空时默认查询 `10` 条 | -| trade_session | int32 | 否 | 交易时段,0: 盘中,100: 所有延长时段(盘前,盘中,盘后,夜盘)

注意:夜盘数据需购买「LV1 实时行情 (OpenAPI)」行情卡,且仅支持美股 | +| trade_session | int32 | 否 | 交易时段,0: 盘中,100: 所有延长时段(盘前,盘中,盘后,夜盘)

注意:夜盘数据免费,仅支持美股,需开启 `enable_overnight` 参数获取 | ### Protobuf diff --git a/docs/zh-CN/docs/quote/stocks/quote.md b/docs/zh-CN/docs/quote/stocks/quote.md index 1c9e4be2..b7d4c4bb 100644 --- a/docs/zh-CN/docs/quote/stocks/quote.md +++ b/docs/zh-CN/docs/quote/stocks/quote.md @@ -268,7 +268,7 @@ func main() { | ∟∟ high | string | 最高价 | | ∟∟ low | string | 最低价 | | ∟∟ prev_close | string | 上一个交易阶段的收盘价 | -| ∟ overnight_quote | object | 美股夜盘交易行情

注意:需在 App 行情商店购买「LV1 实时行情 (OpenAPI)」行情卡并开启 `enable_overnight` 参数,否则会返回 null | +| ∟ overnight_quote | object | 美股夜盘交易行情

注意:需开启 `enable_overnight` 参数获取,否则返回 null(夜盘行情免费,仅支持美股) | | ∟∟ last_done | string | 最新价 | | ∟∟ timestamp | int64 | 最新成交的时间戳 | | ∟∟ volume | int64 | 成交量 | diff --git a/docs/zh-CN/docs/quote/watchlist/watchlist_create_group.md b/docs/zh-CN/docs/quote/watchlist/watchlist_create_group.md index a7347e36..7cb09aad 100644 --- a/docs/zh-CN/docs/quote/watchlist/watchlist_create_group.md +++ b/docs/zh-CN/docs/quote/watchlist/watchlist_create_group.md @@ -12,7 +12,6 @@ headingLevel: 2 创建自选股分组 - # 创建新的自选股分组 diff --git a/docs/zh-CN/docs/quote/watchlist/watchlist_delete_group.md b/docs/zh-CN/docs/quote/watchlist/watchlist_delete_group.md index f125baf1..bfeff1ee 100644 --- a/docs/zh-CN/docs/quote/watchlist/watchlist_delete_group.md +++ b/docs/zh-CN/docs/quote/watchlist/watchlist_delete_group.md @@ -12,7 +12,6 @@ headingLevel: 2 删除自选股分组 - # 删除指定分组(ID 通过 longbridge watchlist 查询) diff --git a/docs/zh-CN/docs/quote/watchlist/watchlist_groups.md b/docs/zh-CN/docs/quote/watchlist/watchlist_groups.md index aa3b2b89..13ca229c 100644 --- a/docs/zh-CN/docs/quote/watchlist/watchlist_groups.md +++ b/docs/zh-CN/docs/quote/watchlist/watchlist_groups.md @@ -12,7 +12,6 @@ headingLevel: 2 获取自选股分组 - # 查看所有自选股分组及标的 diff --git a/docs/zh-CN/docs/quote/watchlist/watchlist_update_group.md b/docs/zh-CN/docs/quote/watchlist/watchlist_update_group.md index 15425eda..2ddf7a01 100644 --- a/docs/zh-CN/docs/quote/watchlist/watchlist_update_group.md +++ b/docs/zh-CN/docs/quote/watchlist/watchlist_update_group.md @@ -12,7 +12,6 @@ headingLevel: 2 更新自选股分组 - # 向分组添加标的 diff --git a/docs/zh-HK/docs/cli/market-data/market-temp.md b/docs/zh-HK/docs/cli/market-data/market-temp.md index ad4bac4b..a931b1f2 100644 --- a/docs/zh-HK/docs/cli/market-data/market-temp.md +++ b/docs/zh-HK/docs/cli/market-data/market-temp.md @@ -8,7 +8,6 @@ sidebar_position: 10 取得 Longbridge 市場溫度指數——結合估值與市場情緒的綜合 0–100 情緒量表。數值越高表示市場越偏多頭。 - ## 基本用法 diff --git a/docs/zh-HK/docs/getting-started.md b/docs/zh-HK/docs/getting-started.md index 8b003973..db77114a 100644 --- a/docs/zh-HK/docs/getting-started.md +++ b/docs/zh-HK/docs/getting-started.md @@ -426,7 +426,7 @@ OAuth Token 應安全儲存在應用程式中(如加密檔案、安全金鑰 | `LONGBRIDGE_QUOTE_WS_URL` | 行情 WebSocket 位址(預設:`wss://openapi-quote.longbridge.com/v2`) | | `LONGBRIDGE_TRADE_WS_URL` | 交易 WebSocket 位址(預設:`wss://openapi-trade.longbridge.com/v2`) | | `LONGBRIDGE_REGION` | 覆寫接入點;SDK 會依網路自動選擇,若判斷不正確可設定(如 `cn`、`hk`) | -| `LONGBRIDGE_ENABLE_OVERNIGHT` | 是否開啟夜盤行情,`true` 或 `false`(預設:`false`);需在 App 行情商店購買「LV1 實時行情 (OpenAPI)」行情卡,僅支援美股 | +| `LONGBRIDGE_ENABLE_OVERNIGHT` | 是否開啟夜盤行情,`true` 或 `false`(預設:`false`);夜盤行情免費,僅支援美股 | | `LONGBRIDGE_PUSH_CANDLESTICK_MODE` | K 線推送模式,`realtime` 或 `confirmed`(預設:`realtime`) | | `LONGBRIDGE_PRINT_QUOTE_PACKAGES` | 連線時是否列印行情包,`true` 或 `false`(預設:`true`) | | `LONGBRIDGE_LOG_PATH` | 日誌檔案路徑(預設:不寫日誌) | @@ -910,7 +910,7 @@ g++ -std=c++17 account_asset.cpp -o account_asset -llongbridge && ./account_asse 訂閱行情數據請檢查 [開發者中心](https://open.longbridge.com/dashboard) - "行情權限"是否正確 - 港股 - BMP 基礎報價,無實時行情推送,無法用 WebSocket 訂閱 -- 美股 - 納斯達克 Basic 行情(只限 OpenAPI) +- 美股 - LV1 實時行情,註冊即免費贈送(含盤前、盤中、盤後、夜盤全時段,只限 OpenAPI) 運行前訪問 [開發者中心](https://open.longbridge.com/dashboard),檢查確保賬戶有正確的行情權限。 diff --git a/docs/zh-HK/docs/market/status/history-market-temp.md b/docs/zh-HK/docs/market/status/history-market-temp.md index 884ab467..9f412d3a 100644 --- a/docs/zh-HK/docs/market/status/history-market-temp.md +++ b/docs/zh-HK/docs/market/status/history-market-temp.md @@ -6,7 +6,6 @@ sidebar_position: 3 該接口用於獲取歷史市場溫度。 - # 港股 2025 年 Q1 歷史溫度 diff --git a/docs/zh-HK/docs/market/status/market-temp.md b/docs/zh-HK/docs/market/status/market-temp.md index 02ef19a0..f118a2a1 100644 --- a/docs/zh-HK/docs/market/status/market-temp.md +++ b/docs/zh-HK/docs/market/status/market-temp.md @@ -6,7 +6,6 @@ sidebar_position: 2 獲取當前市場溫度 - # 港股市場溫度 diff --git a/docs/zh-HK/docs/qa/quote.md b/docs/zh-HK/docs/qa/quote.md index c3bc4c19..c7d2fab1 100644 --- a/docs/zh-HK/docs/qa/quote.md +++ b/docs/zh-HK/docs/qa/quote.md @@ -90,7 +90,7 @@ sidebar_position: 1 ## Q6:如何取得夜盤行情 -- **夜盤數據預設不包含**,需要在手機 Longbridge App 的「行情商店」購買 **「LV1 實時行情 (OpenAPI)」** 行情卡才能取得夜盤數據。 +- **夜盤行情免費提供**,無需額外購買行情卡。 - 目前夜盤行情**僅支援美股**,港股暫不支援夜盤。 - 開通夜盤權限後,還需要主動開啟,方式為在鑑權接口的 `metadata` 欄位填入 key `need_over_night_quote`, value `true`。 diff --git a/docs/zh-HK/docs/quote/analytics/filings.md b/docs/zh-HK/docs/quote/analytics/filings.md index 48282275..963efcd6 100644 --- a/docs/zh-HK/docs/quote/analytics/filings.md +++ b/docs/zh-HK/docs/quote/analytics/filings.md @@ -12,7 +12,6 @@ headingLevel: 2 獲取指定股票的公告列表。 - # Apple 監管文件和公告 diff --git a/docs/zh-HK/docs/quote/overview.md b/docs/zh-HK/docs/quote/overview.md index 9e0789d2..ba6884fb 100644 --- a/docs/zh-HK/docs/quote/overview.md +++ b/docs/zh-HK/docs/quote/overview.md @@ -151,6 +151,6 @@ slug: overview | **基礎行情** | 美/A 股實時報價;港股 BMP(約 15 分鐘延遲,不支持推送) | 開通 OpenAPI 後自動獲得 | | **LV1 實時**(港股) | 港股實時報價 + WebSocket 推送支持 | 通過行情商城購買「LV1 實時行情 (OpenAPI)」 | | **LV2 訂閱** | Level 2 買賣盤(depth)、港股經紀商隊列(brokers) | 通過行情商城購買 LV2 訂閱卡 | -| **盤前盤後**(美股) | 美股盤前/盤後延伸時段數據 | 購買 LV1 卡 + 設置 `LONGBRIDGE_ENABLE_OVERNIGHT=true` | +| **盤前盤後**(美股) | 美股盤前/盤後延伸時段數據 | 免費,設置 `LONGBRIDGE_ENABLE_OVERNIGHT=true` 即可獲取 | 查看當前權限:[開發者中心](https://open.longbridge.com/dashboard)。購買行情卡:**Longbridge App → 我的 → 我的行情 → 行情商城**。 diff --git a/docs/zh-HK/docs/quote/stocks/broker-ids.md b/docs/zh-HK/docs/quote/stocks/broker-ids.md index 23b97bde..afc36356 100644 --- a/docs/zh-HK/docs/quote/stocks/broker-ids.md +++ b/docs/zh-HK/docs/quote/stocks/broker-ids.md @@ -7,7 +7,6 @@ sidebar_position: 7 該接口用於獲取券商席位 ID 數據 (可每天同步一次)。 - # 港股所有做市商券商 ID 和名稱 diff --git a/docs/zh-HK/docs/quote/stocks/candlestick.md b/docs/zh-HK/docs/quote/stocks/candlestick.md index cffe9f31..2eb4cbd2 100644 --- a/docs/zh-HK/docs/quote/stocks/candlestick.md +++ b/docs/zh-HK/docs/quote/stocks/candlestick.md @@ -40,7 +40,7 @@ longbridge kline NVDA.US --period day --count 20 | period | int32 | 是 | k 線週期,例如:`1000`,详见 [Period](../objects#period---k-線週期) | | count | int32 | 是 | 數據數量,例如:`100`

**校验规则:**
請求數量最大為 `1000` | | adjust_type | int32 | 是 | 復權類型,例如:`0`,详见 [AdjustType](../objects#adjusttype---k-線復權類型) | -| trade_session | int32 | 否 | 交易時段,0: 盤中,100: 所有延長時段(盤前,盤中,盤後,夜盤)

注意:夜盤數據需購買「LV1 實時行情 (OpenAPI)」行情卡,且僅支援美股 | +| trade_session | int32 | 否 | 交易時段,0: 盤中,100: 所有延長時段(盤前,盤中,盤後,夜盤)

注意:夜盤數據免費,僅支援美股,需開啟 `enable_overnight` 參數獲取 | ### Protobuf diff --git a/docs/zh-HK/docs/quote/stocks/history-candlestick.md b/docs/zh-HK/docs/quote/stocks/history-candlestick.md index fd887165..9f7cf661 100644 --- a/docs/zh-HK/docs/quote/stocks/history-candlestick.md +++ b/docs/zh-HK/docs/quote/stocks/history-candlestick.md @@ -44,7 +44,7 @@ longbridge kline history NVDA.US --start 2025-01-01 --end 2025-12-31 | ∟ date | string | 否 | 查詢日期,格式為 `YYYYMMDD`,例如:20231016,為空時使用標的所在市場的最新交易日 | | ∟ minute | string | 否 | 查詢時間,格式為 `HHMM`,例如:09:35,僅在查詢分鍾級別 k 線時有效 | | ∟ count | int32 | 否 | 查詢數量,填寫範圍 `[1,1000]`,為空時默認查詢 `10` 條 | -| trade_session | int32 | 否 | 交易時段,0: 盤中,100: 所有延長時段(盤前,盤中,盤後,夜盤)

注意:夜盤數據需購買「LV1 實時行情 (OpenAPI)」行情卡,且僅支援美股 | +| trade_session | int32 | 否 | 交易時段,0: 盤中,100: 所有延長時段(盤前,盤中,盤後,夜盤)

注意:夜盤數據免費,僅支援美股,需開啟 `enable_overnight` 參數獲取 | ### Protobuf diff --git a/docs/zh-HK/docs/quote/stocks/quote.md b/docs/zh-HK/docs/quote/stocks/quote.md index 60c052f3..dbb24d82 100644 --- a/docs/zh-HK/docs/quote/stocks/quote.md +++ b/docs/zh-HK/docs/quote/stocks/quote.md @@ -268,7 +268,7 @@ func main() { | ∟∟ high | string | 最高價 | | ∟∟ low | string | 最低價 | | ∟∟ prev_close | string | 上一個交易階段的收盤價 | -| ∟ over_night_quote | object | 美股夜盤交易行情

注意:需在 App 行情商店購買「LV1 實時行情 (OpenAPI)」行情卡並開啟 `enable_overnight` 參數,否則會返回 null | +| ∟ over_night_quote | object | 美股夜盤交易行情

注意:需開啟 `enable_overnight` 參數獲取,否則返回 null(夜盤行情免費,僅支援美股) | | ∟∟ last_done | string | 最新價 | | ∟∟ timestamp | int64 | 最新成交的時間戳 | | ∟∟ volume | int64 | 成交量 | diff --git a/docs/zh-HK/docs/quote/watchlist/watchlist_create_group.md b/docs/zh-HK/docs/quote/watchlist/watchlist_create_group.md index 630ea9fc..e85de0d4 100644 --- a/docs/zh-HK/docs/quote/watchlist/watchlist_create_group.md +++ b/docs/zh-HK/docs/quote/watchlist/watchlist_create_group.md @@ -12,7 +12,6 @@ headingLevel: 2 創建自選股分組 - # 建立新的自選股分組 diff --git a/docs/zh-HK/docs/quote/watchlist/watchlist_delete_group.md b/docs/zh-HK/docs/quote/watchlist/watchlist_delete_group.md index 71989b02..b87134a9 100644 --- a/docs/zh-HK/docs/quote/watchlist/watchlist_delete_group.md +++ b/docs/zh-HK/docs/quote/watchlist/watchlist_delete_group.md @@ -12,7 +12,6 @@ headingLevel: 2 刪除自選股分組 - # 刪除指定分組(ID 通過 longbridge watchlist 查詢) diff --git a/docs/zh-HK/docs/quote/watchlist/watchlist_groups.md b/docs/zh-HK/docs/quote/watchlist/watchlist_groups.md index 9a163f67..07060063 100644 --- a/docs/zh-HK/docs/quote/watchlist/watchlist_groups.md +++ b/docs/zh-HK/docs/quote/watchlist/watchlist_groups.md @@ -12,7 +12,6 @@ headingLevel: 2 獲取關注分組 - # 查看所有自選股分組及標的 diff --git a/docs/zh-HK/docs/quote/watchlist/watchlist_update_group.md b/docs/zh-HK/docs/quote/watchlist/watchlist_update_group.md index a4d5c5d0..15f8bc59 100644 --- a/docs/zh-HK/docs/quote/watchlist/watchlist_update_group.md +++ b/docs/zh-HK/docs/quote/watchlist/watchlist_update_group.md @@ -12,7 +12,6 @@ headingLevel: 2 更新自選股分組 - # 向分組添加標的 diff --git a/quote-permissions.yaml b/quote-permissions.yaml index 040c7f67..6f116c52 100644 --- a/quote-permissions.yaml +++ b/quote-permissions.yaml @@ -29,9 +29,9 @@ levels: lv1: label: { en: 'LV1 Real-time', zh-CN: 'LV1 实时', zh-HK: 'LV1 實時' } description: - en: 'Enables real-time HK stock quotes and WebSocket quote push. Purchase LV1 in the Quote Store.' - zh-CN: '开启港股实时报价,支持行情数据实时推送。需在行情商城购买 LV1 行情卡。' - zh-HK: '開啟港股實時報價,支持行情數據實時推送。需在行情商城購買 LV1 行情卡。' + en: 'US LV1 real-time quotes are included free on registration. HK LV1 real-time quotes and WebSocket push require purchasing LV1 in the Quote Store.' + zh-CN: '美股 LV1 实时行情注册即免费赠送;港股 LV1 实时报价及实时推送需在行情商城购买 LV1 行情卡。' + zh-HK: '美股 LV1 實時行情註冊即免費贈送;港股 LV1 實時報價及實時推送需在行情商城購買 LV1 行情卡。' link_text: { en: 'Go to Quote Store', zh-CN: '前往行情商城', zh-HK: '前往行情商城' } lv2: label: { en: 'LV2 Advanced', zh-CN: 'LV2 高级行情', zh-HK: 'LV2 高級行情' } @@ -43,10 +43,10 @@ levels: overnight: label: { en: 'Overnight', zh-CN: '盘前盘后', zh-HK: '盤前盤後' } description: - en: 'US extended hours (pre/post-market) data. Requires LV1 purchase and environment variable LONGBRIDGE_ENABLE_OVERNIGHT=true.' - zh-CN: '美股盘前/盘后行情数据。需购买 LV1 行情卡,并设置环境变量 LONGBRIDGE_ENABLE_OVERNIGHT=true。' - zh-HK: '美股盤前/盤後行情數據。需購買 LV1 行情卡,並設置環境變量 LONGBRIDGE_ENABLE_OVERNIGHT=true。' - link_text: { en: 'Go to Quote Store', zh-CN: '前往行情商城', zh-HK: '前往行情商城' } + en: 'US pre/post-market and overnight session data. Included free with US LV1 — just set the environment variable LONGBRIDGE_ENABLE_OVERNIGHT=true.' + zh-CN: '美股盘前/盘后及夜盘全时段行情数据。随 US LV1 免费赠送,仅需设置环境变量 LONGBRIDGE_ENABLE_OVERNIGHT=true 即可开启。' + zh-HK: '美股盤前/盤後及夜盤全時段行情數據。隨 US LV1 免費贈送,僅需設置環境變量 LONGBRIDGE_ENABLE_OVERNIGHT=true 即可開啟。' + link_text: { en: 'My Quotes', zh-CN: '我的行情权限', zh-HK: '我的行情權限' } opra: label: { en: 'OPRA', zh-CN: 'OPRA 期权', zh-HK: 'OPRA 期權' } description: @@ -59,26 +59,24 @@ levels: commands: # ── 实时行情 ───────────────────────────────────────────────── quote: - level: basic + level: lv1 description: en: |- - US stocks: Nasdaq Basic included by default (pre-market, regular, and after-hours sessions); overnight quotes require purchasing "LV1 Real-time Quotes (OpenAPI)" and enabling overnight configuration (see Q6 & Q7 in the Broker FAQ). + US stocks: LV1 real-time quotes included free on registration (pre-market, regular, after-hours, and overnight sessions). To receive overnight data, enable it via LONGBRIDGE_ENABLE_OVERNIGHT=true (see Q6 & Q7 in the Broker FAQ). HK stocks: LV1 real-time quotes included by default. US options: no permission by default — purchase "OPRA US Options Quotes (OpenAPI)" in the Quote Store. zh-CN: |- - 美股:默认赠送 Nasdaq Basic 实时行情(含盘前、盘中、盘后时段);如需夜盘行情,需购买「LV1 实时行情 (OpenAPI)」行情卡,并开启夜盘配置(详见 Broker FAQ Q6、Q7)。 + 美股:注册即免费赠送 LV1 实时行情(含盘前、盘中、盘后、夜盘全时段);夜盘数据需设置 LONGBRIDGE_ENABLE_OVERNIGHT=true 开启(详见 Broker FAQ Q6、Q7)。 港股:默认赠送 LV1 实时行情。 美股期权:默认无权限,需购买「OPRA 美股期权行情 (OpenAPI)」行情卡。 zh-HK: |- - 美股:預設贈送 Nasdaq Basic 實時行情(含盤前、盤中、盤後時段);如需夜盤行情,需購買「LV1 實時行情 (OpenAPI)」行情卡,並開啟夜盤配置(詳見 Broker FAQ Q6、Q7)。 + 美股:註冊即免費贈送 LV1 實時行情(含盤前、盤中、盤後、夜盤全時段);夜盤數據需設置 LONGBRIDGE_ENABLE_OVERNIGHT=true 開啟(詳見 Broker FAQ Q6、Q7)。 港股:預設贈送 LV1 實時行情。 美股期權:預設無權限,需購買「OPRA 美股期權行情 (OpenAPI)」行情卡。 store_cards: en: | - US stocks (overnight): LV1 Real-time Quotes (OpenAPI) — Nasdaq real-time quotes with best bid and offer (including overnight trading), for OpenAPI only US options: OPRA US Options Quotes (OpenAPI) — OPRA US options real-time quotes with best bid and offer, for OpenAPI only zh-CN: | - 美股(夜盘):LV1 实时行情 (OpenAPI) — 纳斯达克实时成交行情及最优买卖一档报价(含夜盘),适用于 OpenAPI 美股期权:OPRA 美股期权行情 (OpenAPI) — OPRA 美股期权实时成交行情及最优买卖一档报价,适用于 OpenAPI # ── 盘口深度 ───────────────────────────────────────────────── @@ -86,24 +84,22 @@ commands: level: lv1 description: en: |- - US stocks: Nasdaq Basic 1-level bid/ask included by default (pre-market, regular, and after-hours sessions); overnight requires LV1. + US stocks: LV1 1-level bid/ask included free on registration (pre-market, regular, after-hours, and overnight sessions). HK stocks: LV1 1-level bid/ask included by default; 10-level order book requires "LV2 Advanced Quotes - Plus (OpenAPI)". US options: no permission by default — purchase "OPRA US Options Quotes (OpenAPI)". zh-CN: |- - 美股:默认赠送 Nasdaq Basic 一档买卖盘报价(含盘前、盘中、盘后时段);夜盘报价需购买 LV1。 + 美股:注册即免费赠送 LV1 一档买卖盘报价(含盘前、盘中、盘后、夜盘全时段)。 港股:默认赠送 LV1 一档买卖盘报价;十档买卖盘需购买「LV2 高级行情 - Plus (OpenAPI)」行情卡。 美股期权:默认无权限,需购买「OPRA 美股期权行情 (OpenAPI)」行情卡。 zh-HK: |- - 美股:預設贈送 Nasdaq Basic 一檔買賣盤報價(含盤前、盤中、盤後時段);夜盤報價需購買 LV1。 + 美股:註冊即免費贈送 LV1 一檔買賣盤報價(含盤前、盤中、盤後、夜盤全時段)。 港股:預設贈送 LV1 一檔買賣盤報價;十檔買賣盤需購買「LV2 高級行情 - Plus (OpenAPI)」行情卡。 美股期權:預設無權限,需購買「OPRA 美股期權行情 (OpenAPI)」行情卡。 store_cards: en: | - US stocks (overnight): LV1 Real-time Quotes (OpenAPI) — Nasdaq real-time quotes with best bid and offer (including overnight trading), for OpenAPI only HK stocks (LV2): LV2 Advanced Quotes - Plus (OpenAPI) — HKEX stocks real-time quotes with 10 levels bid & ask (OpenAPI only) US options: OPRA US Options Quotes (OpenAPI) — OPRA US options real-time quotes with best bid and offer, for OpenAPI only zh-CN: | - 美股(夜盘):LV1 实时行情 (OpenAPI) — 纳斯达克实时成交行情及最优买卖一档报价(含夜盘),适用于 OpenAPI 港股(LV2):LV2 高级行情 - Plus (OpenAPI) — 港交所股票实时成交行情及十档买卖盘报价,适用于 OpenAPI 美股期权:OPRA 美股期权行情 (OpenAPI) — OPRA 美股期权实时成交行情及最优买卖一档报价,适用于 OpenAPI @@ -127,141 +123,132 @@ commands: # ── 逐笔成交 ───────────────────────────────────────────────── trades: - level: basic + level: lv1 description: en: |- - US stocks: Nasdaq Basic included by default (last ~1,000 ticks during pre-market, regular, and after-hours sessions); overnight trades require LV1 purchase. + US stocks: LV1 real-time quotes included free on registration (last ~1,000 ticks across pre-market, regular, after-hours, and overnight sessions). HK stocks: LV1 included by default (last ~1,000 ticks). US options: no permission by default — purchase "OPRA US Options Quotes (OpenAPI)". zh-CN: |- - 美股:默认赠送 Nasdaq Basic 实时行情(近 1000 笔,含盘前、盘中、盘后时段);夜盘数据需购买 LV1。 + 美股:注册即免费赠送 LV1 实时行情(近 1000 笔,含盘前、盘中、盘后、夜盘全时段)。 港股:默认赠送 LV1 实时行情(近 1000 笔)。 美股期权:默认无权限,需购买「OPRA 美股期权行情 (OpenAPI)」行情卡,最多可获取近 1000 笔。 zh-HK: |- - 美股:預設贈送 Nasdaq Basic 實時行情(近 1000 筆,含盤前、盤中、盤後時段);夜盤數據需購買 LV1。 + 美股:註冊即免費贈送 LV1 實時行情(近 1000 筆,含盤前、盤中、盤後、夜盤全時段)。 港股:預設贈送 LV1 實時行情(近 1000 筆)。 美股期權:預設無權限,需購買「OPRA 美股期權行情 (OpenAPI)」行情卡,最多可獲取近 1000 筆。 store_cards: en: | - US stocks (overnight): LV1 Real-time Quotes (OpenAPI) — Nasdaq real-time quotes with best bid and offer (including overnight trading), for OpenAPI only US options: OPRA US Options Quotes (OpenAPI) — OPRA US options real-time quotes with best bid and offer, for OpenAPI only zh-CN: | - 美股(夜盘):LV1 实时行情 (OpenAPI) — 纳斯达克实时成交行情及最优买卖一档报价(含夜盘),适用于 OpenAPI 美股期权:OPRA 美股期权行情 (OpenAPI) — OPRA 美股期权实时成交行情及最优买卖一档报价,适用于 OpenAPI # ── 分时数据 ───────────────────────────────────────────────── intraday: - level: basic + level: lv1 description: en: |- - US stocks: Nasdaq Basic included by default (pre-market, regular, and after-hours sessions); overnight data requires LV1 purchase. + US stocks: LV1 real-time quotes included free on registration (pre-market, regular, after-hours, and overnight sessions). HK stocks: LV1 real-time quotes included by default. US options: no permission by default — purchase "OPRA US Options Quotes (OpenAPI)". zh-CN: |- - 美股:默认赠送 Nasdaq Basic 实时行情(含盘前、盘中、盘后时段);夜盘数据需购买 LV1。 + 美股:注册即免费赠送 LV1 实时行情(含盘前、盘中、盘后、夜盘全时段)。 港股:默认赠送 LV1 实时行情。 美股期权:默认无权限,需购买「OPRA 美股期权行情 (OpenAPI)」行情卡。 zh-HK: |- - 美股:預設贈送 Nasdaq Basic 實時行情(含盤前、盤中、盤後時段);夜盤數據需購買 LV1。 + 美股:註冊即免費贈送 LV1 實時行情(含盤前、盤中、盤後、夜盤全時段)。 港股:預設贈送 LV1 實時行情。 美股期權:預設無權限,需購買「OPRA 美股期權行情 (OpenAPI)」行情卡。 store_cards: en: | - US stocks (overnight): LV1 Real-time Quotes (OpenAPI) — Nasdaq real-time quotes with best bid and offer (including overnight trading), for OpenAPI only US options: OPRA US Options Quotes (OpenAPI) — OPRA US options real-time quotes with best bid and offer, for OpenAPI only zh-CN: | - 美股(夜盘):LV1 实时行情 (OpenAPI) — 纳斯达克实时成交行情及最优买卖一档报价(含夜盘),适用于 OpenAPI 美股期权:OPRA 美股期权行情 (OpenAPI) — OPRA 美股期权实时成交行情及最优买卖一档报价,适用于 OpenAPI # ── 历史 K 线 ───────────────────────────────────────────────── kline: - level: basic + level: lv1 description: en: |- Quota-based access: 100–3,000 unique symbols per calendar month depending on account tier (resets monthly; see quota table in the docs). - US stocks: Nasdaq Basic included by default (pre-market, regular, and after-hours sessions); overnight requires LV1. + US stocks: LV1 quotes included free on registration (pre-market, regular, after-hours, and overnight sessions). HK stocks: LV1 included by default. US options: no permission by default — purchase "OPRA US Options Quotes (OpenAPI)". zh-CN: |- 按账户等级配额,每自然月可查询 100–3,000 个标的(每月重置,详见文档中的配额表)。 - 美股:默认赠送 Nasdaq Basic 行情(含盘前、盘中、盘后时段);夜盘需购买 LV1。 + 美股:注册即免费赠送 LV1 行情(含盘前、盘中、盘后、夜盘全时段)。 港股:默认赠送 LV1 行情。 美股期权:默认无权限,需购买「OPRA 美股期权行情 (OpenAPI)」行情卡。 zh-HK: |- 按帳戶等級配額,每自然月可查詢 100–3,000 個標的(每月重置,詳見文檔中的配額表)。 - 美股:預設贈送 Nasdaq Basic 行情(含盤前、盤中、盤後時段);夜盤需購買 LV1。 + 美股:註冊即免費贈送 LV1 行情(含盤前、盤中、盤後、夜盤全時段)。 港股:預設贈送 LV1 行情。 美股期權:預設無權限,需購買「OPRA 美股期權行情 (OpenAPI)」行情卡。 store_cards: en: | - US stocks (overnight): LV1 Real-time Quotes (OpenAPI) — Nasdaq real-time quotes with best bid and offer (including overnight trading), for OpenAPI only US options: OPRA US Options Quotes (OpenAPI) — OPRA US options real-time quotes with best bid and offer, for OpenAPI only zh-CN: | - 美股(夜盘):LV1 实时行情 (OpenAPI) — 纳斯达克实时成交行情及最优买卖一档报价(含夜盘),适用于 OpenAPI 美股期权:OPRA 美股期权行情 (OpenAPI) — OPRA 美股期权实时成交行情及最优买卖一档报价,适用于 OpenAPI # ── 静态数据(无需额外权限)───────────────────────────────── static: - level: basic + level: lv1 calc-index: - level: basic + level: lv1 capital: - level: basic + level: lv1 market-temp: - level: basic + level: lv1 trading: - level: basic + level: lv1 security-list: - level: basic + level: lv1 constituent: - level: basic + level: lv1 participants: - level: basic + level: lv1 market-status: - level: basic + level: lv1 subscriptions: - level: basic + level: lv1 broker-holding: - level: basic + level: lv1 ah-premium: - level: basic + level: lv1 # ── 交易统计 ───────────────────────────────────────────────── trade-stats: - level: basic + level: lv1 description: en: |- - US stocks: Nasdaq Basic included by default (pre-market, regular, and after-hours sessions); overnight data requires LV1 purchase. + US stocks: LV1 real-time quotes included free on registration (pre-market, regular, after-hours, and overnight sessions). HK stocks: LV1 real-time quotes included by default. US options: not supported. zh-CN: |- - 美股:默认赠送 Nasdaq Basic 实时行情(含盘前、盘中、盘后时段);夜盘数据需购买 LV1。 + 美股:注册即免费赠送 LV1 实时行情(含盘前、盘中、盘后、夜盘全时段)。 港股:默认赠送 LV1 实时行情。 美股期权:不支持该接口。 zh-HK: |- - 美股:預設贈送 Nasdaq Basic 實時行情(含盤前、盤中、盤後時段);夜盤數據需購買 LV1。 + 美股:註冊即免費贈送 LV1 實時行情(含盤前、盤中、盤後、夜盤全時段)。 港股:預設贈送 LV1 實時行情。 美股期權:不支持該接口。 - store_cards: - en: "US stocks (overnight): LV1 Real-time Quotes (OpenAPI) — Nasdaq real-time quotes with best bid and offer (including overnight trading), for OpenAPI only" - zh-CN: "美股(夜盘):LV1 实时行情 (OpenAPI) — 纳斯达克实时成交行情及最优买卖一档报价(含夜盘),适用于 OpenAPI" anomaly: - level: basic + level: lv1 filings: - level: basic + level: lv1 # ── 衍生品 ─────────────────────────────────────────────────── option: @@ -279,7 +266,7 @@ commands: zh-CN: "OPRA 美股期权行情 (OpenAPI) — OPRA 美股期权实时成交行情及最优买卖一档报价,适用于 OpenAPI" warrant: - level: basic + level: lv1 short-positions: - level: basic + level: lv1