Loading...
Loading...
Longbridge Developers platform expert. Use when: (1) querying market data or executing trades via CLI (`longbridge` command), (2) writing Python/Rust programs using the `longbridge` SDK, (3) configuring the Longbridge MCP server for AI tools (Cursor, Claude Code, ChatGPT), (4) integrating Longbridge docs into LLM/RAG systems via llms.txt or Markdown API. Covers all markets: HK, US, CN (SH/SZ), SG, Crypto. Triggers on `longbridge` imports, stock symbols (TSLA.US, 700.HK), API key setup, order placement, WebSocket subscriptions, or any Longbridge platform capability question.
npx skill4agent add longbridge/developers longbridgelongbridge --version# macOS
brew install --cask longbridge/tap/longbridge-terminal
# Any platform
curl -sSL https://github.com/longbridge/longbridge-terminal/raw/main/install | shlongbridge login# Claude Code
claude mcp add longbridge https://openapi.longbridge.com/mcpUser wants to... → Use
─────────────────────────────────────────────────────────────────
Quick quote / one-off data lookup CLI
Interactive terminal workflows CLI
Script market data, save to file CLI + jq (or Python SDK)
Loops, conditions, transformations Python SDK (sync)
Async pipelines, concurrent fetches Python SDK (async)
Production service, high throughput Rust SDK
Real-time WebSocket subscription loop SDK (Python or Rust)
Programmatic order strategy SDK
Talk to AI about stocks (no code) MCP (hosted or self-hosted)
Use Cursor/Claude for trading analysis MCP
Add Longbridge API docs to IDE/RAG LLMs.txt / Markdown API<CODE>.<MARKET>| Market | Suffix | Examples |
|---|---|---|
| Hong Kong | | |
| United States | | |
| China Shanghai | | |
| China Shenzhen | | |
| Singapore | | |
| Crypto | | |
| Method | Credential | Best for |
|---|---|---|
| OAuth 2.0 ⭐ | | CLI, SDK scripts, MCP |
| API Key | | Legacy / server-side |
~/.longbridge/openapi/tokens/<client_id>https://openapi.longbridge.com/oauth2/registerlongbridge --helplongbridge <command> --helpopen.longbridge.comlongbridge.com.md