Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions docs/en/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 4 additions & 9 deletions docs/zh-CN/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 6 additions & 11 deletions docs/zh-HK/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,24 @@ 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

- **美股市場 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
Expand Down
Loading