Loading...
Loading...
A-share multi-agent AI investment research and analysis tool - 15 AI analysts collaborate to complete technical analysis, fundamental analysis, market sentiment judgment, capital flow tracking (northbound capital/main capital), macroeconomic analysis and game theory deduction, and output structured trading suggestions and risk assessment. Supports Shanghai and Shenzhen A-share stock codes and Chinese names. Multi-agent AI stock analysis for China A-shares. 15 specialized analysts collaborate across technical analysis, fundamental analysis, sentiment analysis, smart money flow tracking, macro economics, and game theory to deliver structured buy/sell/hold recommendations with risk assessment.
npx skill4agent add kylinmountain/tradingagents-ashare tradingagents-analysis| Stage | Agents | Responsibility |
|---|---|---|
| 1. Analyst Team | Market / News / Sentiment / Fundamentals / Macro / Smart Money | Multi-dimensional raw data interpretation |
| 2. Game Theory Referee | Game Theory Manager | Analysis of expectation gap between main force and retail investors |
| 3. Bull/Bear Debate | Bull/Bear Researchers + Referee | Intensive game of opposing views |
| 4. Execution Decision | Trader | Generate operation suggestions through comprehensive research and judgment |
| 5. Risk Management and Control | Aggressive/Neutral/Conservative Analysts + Portfolio Manager | Multi-dimensional risk control review |
| Stage | Agents | Role |
|---|---|---|
| 1. Analyst Team | Market / News / Sentiment / Fundamentals / Macro / Smart Money | Multi-dimensional raw data analysis |
| 2. Game Theory | Game Theory Manager | Main-force vs. retail expectation gap |
| 3. Bull/Bear Debate | Bull & Bear Researchers + Judge | Adversarial viewpoint debate |
| 4. Trade Execution | Trader | Synthesize research into actionable decision |
| 5. Risk Control | Aggressive / Neutral / Conservative + Portfolio Manager | Multi-layer risk review |
symboltrade_datehorizonsTRADINGAGENTS_TOKENta-sk-*TRADINGAGENTS_API_URLAbout credential metadata: The frontmatter of this skill declaresasTRADINGAGENTS_TOKENinprimaryEnvand lists it inmetadata.openclaw.requires.env
symboltrade_datehorizonsTRADINGAGENTS_TOKENta-sk-*TRADINGAGENTS_API_URLCredential metadata: This skill's frontmatter declaresasTRADINGAGENTS_TOKENunderprimaryEnv.metadata.openclaw.requires.env
export TRADINGAGENTS_TOKEN="ta-sk-your_key_here"# 1. Deploy the backend, refer to https://github.com/KylinMountain/TradingAgents-AShare
# 2. Point the API address to the self-built service
export TRADINGAGENTS_API_URL="http://your-server:8000"
export TRADINGAGENTS_TOKEN="ta-sk-your_key_here"# Script path (relative to skill directory)
bash scripts/analyze.sh <symbol[,symbol2,...]> [trade_date] [horizons]
# Single analysis
bash scripts/analyze.sh 贵州茅台
bash scripts/analyze.sh 600519.SH 2026-03-22
bash scripts/analyze.sh 600519.SH 2026-03-22 medium
# Batch analysis (comma separated, parallel submission, unified waiting)
bash scripts/analyze.sh 贵州茅台,比亚迪,宁德时代
bash scripts/analyze.sh 600519.SH,002594.SZ,300750.SZ 2026-03-22POLL_INTERVALPOLL_TIMEOUT$TRADINGAGENTS_TOKENcurl -X POST "${TRADINGAGENTS_API_URL:-https://api.510168.xyz}/v1/analyze" \
-H "Authorization: Bearer $TRADINGAGENTS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"symbol": "贵州茅台"}'curl "${TRADINGAGENTS_API_URL:-https://api.510168.xyz}/v1/jobs/{job_id}" \
-H "Authorization: Bearer $TRADINGAGENTS_TOKEN"curl "${TRADINGAGENTS_API_URL:-https://api.510168.xyz}/v1/jobs/{job_id}/result" \
-H "Authorization: Bearer $TRADINGAGENTS_TOKEN"{
"decision": "BUY",
"direction": "看多",
"confidence": 78,
"target_price": 1850.0,
"stop_loss_price": 1680.0,
"risk_items": [
{"name": "估值偏高", "level": "medium", "description": "当前 PE 处于历史 75 分位"},
{"name": "外资流出", "level": "low", "description": "近 5 日北向资金小幅净流出"}
],
"key_metrics": [
{"name": "PE", "value": "32.5x", "status": "neutral"},
{"name": "ROE", "value": "31.2%", "status": "good"},
{"name": "毛利率", "value": "91.5%", "status": "good"}
],
"final_trade_decision": "综合技术面突破与基本面支撑,建议逢低分批建仓..."
}bash scripts/analyze.sh <symbol> [date] [horizons]run_in_background: trueImportant: Do not manually write curl polling loops, directly use thescript.scripts/analyze.sh
002594.SZ601012.SH