RQAlpha is a highly modular, event-driven algorithmic trading backtesting engine designed for the Chinese A-share and futures markets.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install rqalpha
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 rqalpha using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
RQAlpha, originally developed by RiceQuant, is a comprehensive open-source solution for strategy development, backtesting, and paper trading. As a core component for financial engineers using Openclaw Skills, it provides a stable environment to simulate trading logic with high fidelity. The framework's modular architecture allows users to extend functionality through a sophisticated Mod system, making it suitable for both individual researchers and institutional-grade development.
The framework supports both A-share and futures markets, offering a complete lifecycle for quantitative research. By leveraging its event-driven design, developers can write strategies that respond to daily or minute-level market bars, handle portfolio management automatically, and generate detailed performance reports.
To begin using this tool within your Openclaw Skills environment, install the package via pip and download the initial data bundle:
# Install the core framework
pip install rqalpha
# Download the default A-share daily data bundle
rqalpha download-bundle
RQAlpha organizes data into a structured format accessible through the strategy context:
| Component | Description |
|---|---|
| Market Suffixes | Uses .XSHG (Shanghai), .XSHE (Shenzhen), and .CCFX (Futures) codes. |
| Portfolio | Tracks cash, total_value, market_value, and pnl. |
| Positions | A dictionary-like object storing quantity, sellable, and avg_price. |
| History Bars | Returns data as a pandas.DataFrame including open, close, high, low, and volume. |
| Mod Configuration | JSON-based configuration for enabling simulation, analysis, and risk modules. |
Loading
A robust integration for fetching real-time and historical currency exchange rates to power global financial applications.

A high-integrity development framework for designing and implementing stable data sources like RSS, APIs, and web scrapers for the agent-data-cli ecosystem.

An automated content engine that generates persuasive Xiaohongshu pet product posts combined with consistent AI-generated lifestyle imagery.

A local-first podcast management system for finding, tracking, and summarizing RSS feeds with minimal token usage.

An automated agent skill for reporting phishing, malware, and scam URLs to global and regional cyber security authorities.

A specialized technical analysis tool for extracting high-fidelity electrical specifications, pinouts, and register maps directly from electronic component datasheets.








































