A comprehensive financial skill for AI agents to query real-time stock quotes and manage portfolio data via Longbridge Securities.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install longbridge-stock
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install longbridge-stock using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Longbridge Stock skill empowers AI coding agents to interface directly with the Longbridge Securities platform, providing high-fidelity financial data on demand. This skill enables real-time monitoring of stock prices across major markets, including the US, Hong Kong, and Mainland China.
By integrating this tool into your Openclaw Skills library, you can build smarter workflows that allow your agent to check market movements, verify account balances, and audit portfolio positions. It acts as a bridge between the developer's workspace and live financial markets, making it an essential asset for fintech-related automation.
To get started, first install the necessary Python SDK:
pip3 install longport
Next, create a .longbridge_config file in your skill directory or home folder with your Longbridge OpenAPI credentials:
LONGPORT_APP_KEY=<your_app_key>
LONGPORT_APP_SECRET=<your_app_secret>
LONGPORT_ACCESS_TOKEN=<your_access_token>
LONGPORT_REGION=cn
LONGPORT_HTTP_URL=https://openapi.longportapp.cn
LONGPORT_QUOTE_WS_URL=wss://openapi-quote.longportapp.cn
LONGPORT_TRADE_WS_URL=wss://openapi-trade.longportapp.cn
The skill organizes financial data through a structured symbol and configuration system:
| Data Type | Format Requirement | Examples |
|---|---|---|
| US Stocks | Ticker followed by .US | AAPL.US, GOOGL.US |
| HK Stocks | Number followed by .HK | 700.HK, 9988.HK |
| China A-Shares | Code followed by .SH or .SZ | 600519.SH, 300750.SZ |
| Config Path | Priority-based search | Env Var > Local Dir > Home Dir |
Loading
A specialized security skill designed to protect AI agents from prompt injection, data leaks, and credential theft within Chinese digital ecosystems.

An AI-powered web search tool that enables agents to fetch real-time information and news via the Moonshot/Kimi API.

A specialized tool for automating the extraction and multidimensional analysis of CSSCI journal publication data from CNKI over a five-year period.

A robust integration for accessing real-time stock market data across US, Hong Kong, and Chinese markets using the QuoteNode REST API.

An automated news intelligence skill that aggregates and filters mutual fund industry news from five authoritative Chinese financial platforms.

A unified API and CLI tool to access over 50 AI models across image, video, voice, and text providers with intelligent cost-saving routing.








































