A professional-grade quantitative tool for simulating ETF transactions and performing backtest analysis using technical indicators and realistic market rules.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install etf-trading-backtest
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 etf-trading-backtest using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The ETF Trading Backtest System is a specialized tool within the Openclaw Skills library designed for developers and traders focusing on A-share ETFs. It provides a comprehensive framework for simulating intraday trading strategies by leveraging technical indicators like Bollinger Bands (BOLL), Moving Average Convergence Divergence (MACD), and KDJ. The system is built to mirror real-world trading environments, incorporating T+1 settlement rules, transaction fees, and stamp duties.
By using this skill, users can validate their quantitative hypotheses without financial risk. It automatically handles the calculation of critical performance metrics, such as the Sharpe ratio and maximum drawdown, providing a data-driven approach to strategy refinement. Whether you are targeting the Shipping ETF (560710) or other stock-based assets, this system offers the analytical depth required for professional strategy auditing.
To integrate this tool into your Openclaw Skills workflow, follow these steps:
# Navigate to your agent workspace
# Ensure dependencies like pandas and numpy are installed
# Configure your target ETF and initial capital in references/rules.md
# Execute the main trading script
python scripts/trade.py
The system organizes data into several key structures to ensure transparent backtesting:
| Category | Metadata Fields |
|---|---|
| Technical Indicators | BOLL (Upper/Mid/Lower), MACD (DIF/DEA/Histogram), KDJ (K, D, J) |
| Trade Execution | Operation Type, Execution Price, Quantity, Transaction Fee, Stamp Duty |
| Portfolio Metrics | Total Assets, Floating P/L, Realized P/L, Current Position Ratio |
| Risk Statistics | Max Drawdown, Sharpe Ratio, Calmar Ratio, Win Rate, Profit-Loss Ratio |
Loading
A foundational demonstration skill designed to showcase the standard structure and best practices for creating Openclaw Skills.

An automation skill for extracting, summarizing, and analyzing public financial news and hot topics from Caixin.

An automated framework for managing structured, audit-ready month-end and quarter-end financial close processes for accounting teams.

A data normalization skill that turns fragmented campaign and creator notes into structured, reusable operating contexts for ecommerce workflows.

An intelligent analysis engine for startup founders and investors to decode the economic and control implications of financing term sheets.

A specialized data extraction skill for aggregating public model specifications, pricing details, and documentation from ByteDance's Doubao AI platform.








































