## Summary - Rename project from "OpenAPI" to "Longbridge Developers" across all locales, config, and docs - Add local SVG assets for homepage features (replacing external CDN URLs) - **TipContainer**: replace emoji with SVG icons, Shadcn-style border/bg/text per type using `data-type` + CSS `@apply` - **Tabs**: improved tab styling, fix `ul`/`ol` indentation in tab content - **Sidebar**: active item uses brand color background (color-mix) with rounded corners - **Doc footer**: LLMs Text + Edit this page on same row, subdued colors, lighter "Updated at" - **Breadcrumb**: remove primary color - **UserMenu**: rename Profile → Dashboard (控制台) - **Style**: inline code color fix, blockquote updates, font improvements ## Test plan - [ ] Verify rename appears correctly in EN / zh-CN / zh-HK locales - [ ] Check homepage SVGs load from `/assets/` - [ ] Check TipContainer all 6 types render with correct border/bg/text/icon colors in light and dark mode - [ ] Check Tabs styling and list indentation - [ ] Check sidebar active item background - [ ] Check doc footer layout (LLMs Text + Edit this page same row) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
4.2 KiB
Longbridge Developers Documentation
Longbridge Developers provides programmatic quote trading interfaces for investors with research and development capabilities and assists them to build trading or quote strategy analysis tools based on their own investment strategies. The functions fall into the following categories:
- Trading - Create, amend, cancel orders, query today's/past orders and transaction details, etc.
- Quotes - Real-time quotes, acquisition of historical quotes, etc.
- Portfolio - Real-time query of the account assets, positions, funds
- Real-time subscription - Provides real-time quotes and push notifications for order status changes
Interface Type
Longbridge provides diversified access methods such as HTTP / WebSockets interfaces for accessing the underlying services and SDK (Python / C++, etc.) encapsulated in the upper layer, allowing flexible choices.
How to Enable OpenAPI
-
Log in to the Longbridge App to complete the account opening process;
-
Log in to the longbridge.com and enter the developer platform, complete the developer verification (OpenAPI permission application), and obtain a token.
Quote Coverage
| Market | Symbol |
|---|---|
| HK Market | Securities (including equities, ETFs, Warrants, CBBCs) |
| Hang Seng Index | |
| US Market | Securities (including stocks, ETFs) |
| Nasdsaq Index | |
| OPRA Options | |
| CN Market | Securities (including stocks, ETFs) |
| Index |
Trading
Supported trading functions include:
| Market | Stock and ETF | Warrant & CBBC | Options |
|---|---|---|---|
| HK Market | ✓ | ✓ | |
| US Market | ✓ | ✓ | ✓ |
Rate Limit
| Category | Limitation |
|---|---|
| Quote API |
|
| Trade API |
|
:::success
The OpenAPI SDK has done effective frequency control internally:
- Quote: The methods under
QuoteContextwill be actively controlled by the SDK according to the server's rate limit. When the request is too fast, the SDK will automatically delay the request. Therefore, you do not need to implement the frequency control details separately. - Trade: The methods under
TradeContextare not limited by the SDK. Due to the special nature of the trading order placement scenario, this is left to the user to handle.
:::
Pricing
Longbridge does not charge any additional fees for activating or using interface services. You only need to open a Longbridge Integrated A/C and get OpenAPI service permissions to use it for free. For actual transaction fees, please contact the brokerage firm where you have opened your securities account.
Other
The OpenAPI services are provided by Longbridge and the applicable affiliates (subject to the agreement). openapi-trade.longbridge.com