A-Share Claw (A股龙虾)
/install a-share-claw
A-Share Claw
Execute this workflow for A-share paper trading with MX APIs.
Steps
-
Ensure environment:
MX_APIKEYis set.MX_API_URLdefaults tohttps://mkapi2.dfcfs.com/finskillshub.
-
Ensure runtime files under workspace:
mx_autotrade/config.jsonmx_autotrade/run_autotrade.pymx_autotrade/daily_review.py
-
Ensure schedules (trading days):
09:24run strategy10:30run strategy14:30run strategy (risk-first)15:10run daily review
-
Enforce risk rules:
- Single symbol position cap (
maxPositionPerStock, default 15%) - Total exposure cap (
maxTotalPosition, default 60%) - Auto-cancel stale pending orders (>20 min)
- Single symbol position cap (
-
Daily output:
- Produce review JSON (
mx_autotrade/reviews/review-YYYY-MM-DD.json) - Update README day table with:
Day | Balance | Daily Return(no Day0)
- Produce review JSON (
Quick run commands
python3 mx_autotrade/run_autotrade.py
python3 mx_autotrade/daily_review.py
Notes
- Fail safely: if account is not bound, stop and report clearly.
- Prefer discipline over trade frequency.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install a-share-claw - After installation, invoke the skill by name or use
/a-share-claw - Provide required inputs per the skill's parameter spec and get structured output
What is A-Share Claw (A股龙虾)?
A-share paper-trading automation workflow for MX APIs. Use when user asks to run scheduled A-share mock trading, enforce risk limits (single position cap, to... It is an AI Agent Skill for Claude Code / OpenClaw, with 111 downloads so far.
How do I install A-Share Claw (A股龙虾)?
Run "/install a-share-claw" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is A-Share Claw (A股龙虾) free?
Yes, A-Share Claw (A股龙虾) is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does A-Share Claw (A股龙虾) support?
A-Share Claw (A股龙虾) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created A-Share Claw (A股龙虾)?
It is built and maintained by ZHAO Youjun (@youjunzhao); the current version is v0.1.1.