diff --git a/docs/en/docs/changelog.md b/docs/en/docs/changelog.md index ae119b38..7cfe8a2a 100644 --- a/docs/en/docs/changelog.md +++ b/docs/en/docs/changelog.md @@ -11,26 +11,21 @@ sidebar_icon: newspaper - **US accounts can sign in to Longbridge Developers** — US accounts are now supported for login and API access. Note that the mainland-China `.cn` domains (`openapi.longbridge.cn`, `openapi-quote.longbridge.cn`, `openapi-trade.longbridge.cn`) do not serve US accounts; use the default domains instead - **Longbridge MCP supports US accounts** — US accounts can complete OAuth authorization on `https://mcp.longbridge.com` and requests route to the US data center; the `https://mcp.longbridge.cn` endpoint serves AP accounts only -### CLI v0.25.0 - -- **US data center is live** — US accounts can log in through `auth login` (device flow or `--auth-code`), and requests route to the data center matching the token; `auth status` reports the active DC region -- **US market coverage** — 14 account and fundamentals commands (`positions`, `order`, `company`, `valuation`, `financial-report`, `consensus`, `dividend`, etc.) transparently route to US-specific endpoints for US tokens, with new `profit-analysis realized` and `financial-report key-metrics` subcommands -- **Navi scripting on the quant platform** — `quant run` now targets the v2 API and supports Navi alongside PineScript via `--language navi|pine` (Navi is the default) - -## 2026-07-07 - ### SDK v4.4.0 - **US market APIs** — 14 new methods across `FundamentalContext` (9), `QuoteContext` (1), `TradeContext` (4); all US data-center only ### CLI v0.25.0 +- **US data center is live** — US accounts can log in through `auth login` (device flow or `--auth-code`), and requests route to the data center matching the token; `auth status` reports the active DC region - **US market routing** — `company`, `valuation`, `financial-report`, `consensus`, `dividend`, `order`, `positions` now route to US APIs automatically for US data-center accounts - **New `etf-docs` command** — list regulatory documents (prospectus, fact sheets) for US ETFs - **New `financial-report key-metrics` subcommand** — key financial metrics for US stocks (annual/quarterly) - **New `profit-analysis realized` subcommand** — realized P&L breakdown by asset category for US accounts (stock/option/crypto) -- **New `order --status` / `--action` flags** — filter US order history by status and side +- **New `order --action` flag** — filter US order history by direction (buy/sell) - **New `order detail --attached` flag** — show attached child order for US accounts +- **Navi scripting on the quant platform** — `quant run` now targets the v2 API and supports Navi alongside PineScript via `--language navi|pine` (Navi is the default) + ## 2026-06-25 ### SDK v4.3.3 diff --git a/docs/zh-CN/docs/changelog.md b/docs/zh-CN/docs/changelog.md index 4efb1de3..fd3cb157 100644 --- a/docs/zh-CN/docs/changelog.md +++ b/docs/zh-CN/docs/changelog.md @@ -11,26 +11,21 @@ sidebar_icon: newspaper - **Developers 平台支持美国账户登录** — 美国账户现已支持登录与接口调用。注意国内 `.cn` 域名(`openapi.longbridge.cn`、`openapi-quote.longbridge.cn`、`openapi-trade.longbridge.cn`)不支持美国账户,请使用默认域名 - **Longbridge MCP 支持美国账户** — 美国账户可在 `https://mcp.longbridge.com` 完成 OAuth 授权,请求会路由到美国数据中心;`https://mcp.longbridge.cn` 端点仅服务 AP 账户 -### CLI v0.25.0 - -- **美国数据中心上线** — 美国账户可通过 `auth login`(设备码或 `--auth-code`)登录,请求按 token 自动路由到对应数据中心;`auth status` 展示当前 DC 区域 -- **美股市场接口覆盖** — 美股 token 下 14 个账户与基本面命令(`positions`、`order`、`company`、`valuation`、`financial-report`、`consensus`、`dividend` 等)自动路由到美股专属接口,并新增 `profit-analysis realized`、`financial-report key-metrics` 子命令 -- **量化平台支持 Navi 脚本** — `quant run` 迁移至 v2 接口,通过 `--language navi|pine` 同时支持 Navi 与 PineScript(默认 Navi) - -## 2026-07-07 - ### SDK v4.4.0 - **美股市场 API** — 新增 14 个方法,覆盖 `FundamentalContext`(9 个)、`QuoteContext`(1 个)、`TradeContext`(4 个),全部仅限美股数据中心账户 ### CLI v0.25.0 +- **美国数据中心上线** — 美国账户可通过 `auth login`(设备码或 `--auth-code`)登录,请求按 token 自动路由到对应数据中心;`auth status` 展示当前 DC 区域 - **美股账户路由** — `company`、`valuation`、`financial-report`、`consensus`、`dividend`、`order`、`positions` 在美股数据中心账户下自动路由至美股 API - **新增 `etf-docs` 命令** — 列出美股 ETF 的监管文件(招股书、事实说明书等) - **新增 `financial-report key-metrics` 子命令** — 美股关键财务指标(支持年报/季报) - **新增 `profit-analysis realized` 子命令** — 美股账户按资产类别(股票/期权/加密货币)统计已实现盈亏 -- **新增 `order --status` / `--action` 选项** — 筛选美股历史委托状态和方向 +- **新增 `order --action` 选项** — 筛选美股历史委托方向(买入/卖出) - **新增 `order detail --attached` 选项** — 获取美股账户关联子委托 +- **量化平台支持 Navi 脚本** — `quant run` 迁移至 v2 接口,通过 `--language navi|pine` 同时支持 Navi 与 PineScript(默认 Navi) + ## 2026-06-25 ### SDK v4.3.3 diff --git a/docs/zh-HK/docs/changelog.md b/docs/zh-HK/docs/changelog.md index b2d720a6..15a546a9 100644 --- a/docs/zh-HK/docs/changelog.md +++ b/docs/zh-HK/docs/changelog.md @@ -8,16 +8,8 @@ sidebar_icon: newspaper ## 2026-07-20 -- **Developers 平台支援美國賬戶登入** — 美國賬戶現已支援登入與接口調用。注意國內 `.cn` 域名(`openapi.longbridge.cn`、`openapi-quote.longbridge.cn`、`openapi-trade.longbridge.cn`)不支援美國賬戶,請使用預設域名 -- **Longbridge MCP 支援美國賬戶** — 美國賬戶可在 `https://mcp.longbridge.com` 完成 OAuth 授權,請求會路由到美國數據中心;`https://mcp.longbridge.cn` 端點僅服務 AP 賬戶 - -### CLI v0.25.0 - -- **美國數據中心上線** — 美國賬戶可透過 `auth login`(裝置碼或 `--auth-code`)登入,請求按 token 自動路由到對應數據中心;`auth status` 展示當前 DC 區域 -- **美股市場接口覆蓋** — 美股 token 下 14 個賬戶與基本面命令(`positions`、`order`、`company`、`valuation`、`financial-report`、`consensus`、`dividend` 等)自動路由到美股專屬接口,並新增 `profit-analysis realized`、`financial-report key-metrics` 子命令 -- **量化平台支援 Navi 腳本** — `quant run` 遷移至 v2 接口,透過 `--language navi|pine` 同時支援 Navi 與 PineScript(預設 Navi) - -## 2026-07-07 +- **Developers 平台支持美國賬戶登入** — 美國賬戶現已支持登入與接口調用。注意國內 `.cn` 域名(`openapi.longbridge.cn`、`openapi-quote.longbridge.cn`、`openapi-trade.longbridge.cn`)不支持美國賬戶,請使用默認域名 +- **Longbridge MCP 支持美國賬戶** — 美國賬戶可在 `https://mcp.longbridge.com` 完成 OAuth 授權,請求會路由到美國數據中心;`https://mcp.longbridge.cn` 端點僅服務 AP 賬戶 ### SDK v4.4.0 @@ -25,12 +17,15 @@ sidebar_icon: newspaper ### CLI v0.25.0 +- **美國數據中心上線** — 美國賬戶可通過 `auth login`(設備碼或 `--auth-code`)登入,請求按 token 自動路由到對應數據中心;`auth status` 展示當前 DC 區域 - **美股賬戶路由** — `company`、`valuation`、`financial-report`、`consensus`、`dividend`、`order`、`positions` 在美股數據中心賬戶下自動路由至美股 API - **新增 `etf-docs` 命令** — 列出美股 ETF 的監管文件(招股書、事實說明書等) - **新增 `financial-report key-metrics` 子命令** — 美股關鍵財務指標(支持年報/季報) - **新增 `profit-analysis realized` 子命令** — 美股賬戶按資產類別(股票/期權/加密貨幣)統計已實現盈虧 -- **新增 `order --status` / `--action` 選項** — 篩選美股歷史委託狀態和方向 +- **新增 `order --action` 選項** — 篩選美股歷史委託方向(買入/賣出) - **新增 `order detail --attached` 選項** — 獲取美股賬戶關聯子委託 +- **量化平台支持 Navi 腳本** — `quant run` 遷移至 v2 接口,通過 `--language navi|pine` 同時支持 Navi 與 PineScript(默認 Navi) + ## 2026-06-25 ### SDK v4.3.3