diff --git a/docs/.vitepress/theme/components/NewHomePage/index.vue b/docs/.vitepress/theme/components/NewHomePage/index.vue index 3484cc98..754955d8 100644 --- a/docs/.vitepress/theme/components/NewHomePage/index.vue +++ b/docs/.vitepress/theme/components/NewHomePage/index.vue @@ -70,7 +70,10 @@ const LOCALE = { eyebrow: 'Longbridge CLI', title: 'AI-native command-line tool, covering every OpenAPI.', feats: [ - ['130+ commands', 'Market data, trading, fundamentals — all in your shell.'], + [ + '130+ commands', + 'Market data, trading, fundamentals — all in your shell.', + ], ['--format json output', "Pipe into jq, awk, or any AI agent's tool channel."], ['Multi-period candlesticks', 'Daily, hourly, 15-min, 5-min, 1-min — all from one flag.'], ['Portfolio P&L view', 'Position breakdown with allocation drill-down.'], @@ -324,7 +327,10 @@ const LOCALE = { body: '无额外 API 费用。用真实市场数据进行模拟交易,无需证券账户。', strong: '零 API 费用', }, - { h: '实时推送', body: 'WebSocket 推送报价、买卖盘深度、成交及订单状态,延迟 < 60 ms。' }, + { + h: '实时推送', + body: 'WebSocket 推送报价、买卖盘深度、成交及订单状态,延迟 < 60 ms。', + }, { h: 'OAuth 2.0 + 异步', body: '自动令牌管理,支持现代 async/await 模式及内置限速控制。' }, ], cta: 'SDK 文档', @@ -488,7 +494,10 @@ const LOCALE = { body: '無額外 API 費用。用真實市場數據進行模擬交易,無需證券帳戶。', strong: '零 API 費用', }, - { h: '即時推送', body: 'WebSocket 推送報價、買賣盤深度、成交及訂單狀態,延遲 < 60 ms。' }, + { + h: '即時推送', + body: 'WebSocket 推送報價、買賣盤深度、成交及訂單狀態,延遲 < 60 ms。', + }, { h: 'OAuth 2.0 + 非同步', body: '自動令牌管理,支援現代 async/await 模式及內建限速控制。' }, ], cta: 'SDK 文件', @@ -1205,6 +1214,7 @@ const API_CAPS = [ { icon: 'chart', color: 'var(--lb-status-neutral)', + link: '/docs/quote/overview', title: 'Market Data', count: '30+', desc: 'Real-time quotes, order depth, candlestick, intraday, capital flow, and push subscriptions', @@ -1220,6 +1230,7 @@ const API_CAPS = [ { icon: 'shield', color: 'var(--lb-brand)', + link: '/docs/trade/trade-overview', title: 'Trading & Orders', count: '14+', desc: 'Submit, replace, and withdraw orders. Track positions, balance, and execution history', @@ -1228,6 +1239,7 @@ const API_CAPS = [ { icon: 'bolt', color: 'var(--lb-ai-mention)', + link: '/docs/cli/derivatives/option', title: 'Derivatives', count: '8+', desc: 'Full option chains with Greeks, warrants listing, and real-time derivative quotes', @@ -1236,6 +1248,7 @@ const API_CAPS = [ { icon: 'book', color: 'var(--lb-chart-purple)', + link: '/docs/cli/fundamentals/financial-report', title: 'Financial Research', count: '7+', desc: 'Financial statements, valuation metrics, dividend history, EPS forecasts, analyst ratings', @@ -1244,6 +1257,7 @@ const API_CAPS = [ { icon: 'globe', color: 'var(--lb-status-alert)', + link: '/docs/content/overview', title: 'Content & News', count: '8+', desc: 'Real-time news feeds, community discussions, topics, and engagement metrics', @@ -1773,9 +1787,7 @@ const GETSTARTED = [ ~/projects/quant — claude + @click="copyToClipboard('claude mcp add --transport http longbridge \\\n https://mcp.longbridge.com')"> {{ content.apiCaps.title }} - + + + + Type + Introduction + + + + + News + Security News + + + Topics + Topics by Symbol + + + My Topics + + + Create Topic + + + Topic Detail + + + Topic Replies + + + Create Topic Reply + + + Sharelist + List Sharelists + + + Create Sharelist + + + Update Sharelist + + + Delete Sharelist + + + Sharelist Detail + + + Popular Sharelists + + + Add Securities to Sharelist + + + Remove Securities from Sharelist + + + Sort Securities in Sharelist + + + diff --git a/docs/zh-CN/docs/content/overview.md b/docs/zh-CN/docs/content/overview.md new file mode 100644 index 00000000..9c4aef03 --- /dev/null +++ b/docs/zh-CN/docs/content/overview.md @@ -0,0 +1,73 @@ +--- +sidebar_position: 0 +id: content_overview +sidebar_label: 概览 +title: 概览 +slug: overview +--- + +# 资讯与社区接口概览 + +资讯与社区接口提供个股资讯、社区讨论和股单管理能力。所有接口均通过 HTTP 请求访问,也可以使用 [SDK](https://open.longbridge.com/sdk) 调用。 + + + + + 类型 + 介绍 + + + + + 资讯 + 个股资讯 + + + 讨论 + 标的社区讨论 + + + 我的讨论 + + + 创建讨论 + + + 讨论详情 + + + 讨论回复 + + + 创建讨论回复 + + + 股单 + 股单列表 + + + 创建股单 + + + 更新股单 + + + 删除股单 + + + 股单详情 + + + 热门股单 + + + 添加标的到股单 + + + 从股单移除标的 + + + 股单标的排序 + + + diff --git a/docs/zh-HK/docs/content/overview.md b/docs/zh-HK/docs/content/overview.md new file mode 100644 index 00000000..b70af15c --- /dev/null +++ b/docs/zh-HK/docs/content/overview.md @@ -0,0 +1,73 @@ +--- +sidebar_position: 0 +id: content_overview +sidebar_label: 概覽 +title: 概覽 +slug: overview +--- + +# 資訊與社區接口概覽 + +資訊與社區接口提供個股資訊、社區討論和股單管理能力。所有接口均通過 HTTP 請求訪問,也可以使用 [SDK](https://open.longbridge.com/sdk) 調用。 + + + + + 類型 + 介紹 + + + + + 資訊 + 個股資訊 + + + 討論 + 標的社區討論 + + + 我的討論 + + + 創建討論 + + + 討論詳情 + + + 討論回覆 + + + 創建討論回覆 + + + 股單 + 股單列表 + + + 創建股單 + + + 更新股單 + + + 刪除股單 + + + 股單詳情 + + + 熱門股單 + + + 新增標的到股單 + + + 從股單移除標的 + + + 股單標的排序 + + +