ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 2/5

Longbridge Openapi

Skill by genkin-he

Why use this skill?

Integrate Longbridge Securities with OpenClaw. Access real-time market data, manage your portfolio, and automate stock trading for HK, US, and A-shares seamlessly.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/genkin-he/longbridge-openapi
Or

What This Skill Does

The Longbridge OpenAPI skill is a specialized financial tool designed for OpenClaw AI that interfaces directly with the Longbridge Securities trading platform. It serves as an bridge between your natural language inputs and the complex financial APIs required for stock market interaction. This skill provides comprehensive coverage of Hong Kong (HK), United States (US), and Mainland China (A-shares) stock markets. It empowers users to fetch real-time market data, execute various trade orders (including limit and market orders), and manage personal portfolios with ease. By leveraging this skill, you can automate your investment workflows, monitor assets, and execute trades without needing to navigate manual trading dashboards.

Installation

To install this skill in your OpenClaw environment, ensure you have the required credentials from the Longbridge Open Platform. Execute the following command in your terminal:

clawhub install openclaw/skills/skills/genkin-he/longbridge-openapi

After installation, you must configure your environment variables. Open your terminal configuration file (~/.bashrc or ~/.zshrc) and append your specific App Key, App Secret, and Access Token. Once saved, refresh your profile using the source command. This ensures the AI agent has the necessary authentication to perform secure transactions on your behalf.

Use Cases

  1. Portfolio Monitoring: Automatically retrieve the total market value and current profit/loss of your account positions.
  2. Market Intelligence: Query real-time quotes or candlestick charts to inform your entry or exit decisions during trading hours.
  3. Automated Trading: Execute buy or sell orders instantly when market conditions meet specific criteria provided in your natural language instructions.
  4. Account Oversight: Check buying power or available cash across multiple currencies to ensure sufficient liquidity before placing large trades.

Example Prompts

  1. "What is the current market price and daily change for Tesla (TSLA.US)?"
  2. "Buy 100 shares of Tencent (700.HK) at a limit price of 350 HKD."
  3. "Show me a summary of my current positions and their latest market value."

Tips & Limitations

  • Market Hours: Ensure that the market for your target stock is currently open if you are attempting to execute live trades.
  • Precision: When placing orders, always double-check the ticker symbol format (e.g., .HK for Hong Kong, .US for US) to prevent execution errors.
  • Security: Never share your Longbridge Access Token in logs or public repositories. This skill carries significant financial responsibility; ensure your AI environment is secure and that you understand the risks associated with automated trading.
  • Rate Limits: Frequent requests for real-time data may be subject to API rate limits imposed by the Longbridge platform.

Metadata

Author@genkin-he
Stars2387
Views2
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-genkin-he-longbridge-openapi": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#trading#finance#stocks#investing#automation
Safety Score: 2/5

Flags: network-access, external-api