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

fosun-skills

Fosun Wealth OpenAPI 技能集合,包含 SDK 环境初始化与证券交易两大模块。涵盖 SDK 安装配置、凭证管理、行情查询、资金/持仓查询、资金流水查询、下单/撤单及订单管理,支持港股(L2)、美股(L1)、A股港股通(L1)市场。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/2023andrewyang/fw-trading
Or

What This Skill Does

The fosun-skills suite acts as an integrated bridge between your AI agent and the Fosun Wealth OpenAPI. It streamlines the complex process of connecting to professional financial markets, providing a robust interface for both market analysis and order execution. The suite is divided into two primary pillars: fosun-sdk-setup for managing environmental security and configuration, and fosun-trading for executing sophisticated trading strategies. This collection supports multi-market operations including Hong Kong (HK), US, and A-share Stock Connect markets, ensuring users can query real-time quotes, track portfolio positions, review detailed cash flows, and manage orders with precision. By abstracting the complexities of market-specific protocols and authentication, this skill enables seamless financial operations within the OpenClaw environment.

Installation

To install this skill, use the following command in your OpenClaw terminal: clawhub install openclaw/skills/skills/2023andrewyang/fw-trading

Upon installation, ensure you run the setup skill first to establish the necessary authentication. The environment requires a dedicated Python virtual environment located at {workspace_root}/.venv-fosun and a secure credential file at {workspace_root}/fosun.env. Always follow the interactive prompts during the setup process to properly configure your API keys and security handshake protocols.

Use Cases

  • Market Analysis: Stay updated with L2 market depth for Hong Kong stocks or L1 data for US and mainland stocks to inform your trading decisions.
  • Portfolio Management: Regularly query current holdings, buying power, and available cash across different currency denominations (HKD, USD, CNH).
  • Automated Trading: Execute trades automatically based on price triggers, including advanced order types like limit and enhanced limit orders.
  • Financial Auditing: Retrieve historical transaction records and cash flow details to track performance or maintain tax records.
  • Security Lifecycle Management: Easily rotate API keys or switch between paper trading and live trading accounts using the built-in credential management tools.

Example Prompts

  1. "Check the current market price and order book depth for hk00700."
  2. "Show me a summary of my current portfolio holdings and available buying power."
  3. "Place a limit order to buy 100 shares of usAAPL at a price of 180 USD."

Tips & Limitations

  • Safety First: Never hardcode API keys directly into scripts. Always rely on the fosun.env management tool provided by fosun-sdk-setup.
  • Environment Integrity: Do not manually modify the .venv-fosun directory or use external Python interpreters, as this will break script dependency paths.
  • Market Hours: Be aware that order execution functionality is dependent on the specific trading hours of the relevant stock exchange (e.g., HKEX, NYSE, or A-share trading times). Always verify order status after placement using list_orders.py.
  • Network: Ensure your machine's出口 IP (export IP) is correctly registered in the Fosun developer portal, as the API restricts access based on IP whitelisting.

Metadata

Stars3762
Views1
Updated2026-04-03
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-2023andrewyang-fw-trading": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#trading#finance#stocks#sdk#investment
Safety Score: 2/5

Flags: network-access, file-write, file-read, external-api, code-execution