Trading Agents 简化版
CLAWHUB · Unverified
多智能体股票交易信号分析框架。当用户提供股票代码要求分析投资建议时触发。输入一只股票代码,通过7个SubAgent协作分析(基本面研究员、市场信息研究员、新闻研究员、社交媒体研究员、看涨分析师、看跌分析师、投资组合经理),输出买入/卖出/持有建议及决策依据。触发词:"分析这只股票"、"给我投资建议"、"这只票值得... Skill: Trading Agents 简化版 Owner: laigen Summary: 多智能体股票交易信号分析框架。当用户提供股票代码要求分析投资建议时触发。输入一只股票代码,通过7个SubAgent协作分析(基本面研究员、市场信息研究员、新闻研究员、社交媒体研究员、看涨分析师、看跌分析师、投资组合经理),输出买入/卖出/持有建议及决策依据。触发词:"分析这只股票"、"给我投资建议"、"这只票值得... Tags: Equity:2.4.2, Finance:2.4.2, Investment:2.4.2, equity:1.0.1, finance:1.0.2, investment:1.0.1, latest:2.4.2 Version history: v2.4.2 | 2026-03-26T13:48:50.468Z | user No changes detected in this version. -
- 62
- Rank
- 84
- Safety
- 1.4k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 10, 2026
- Adoption signal
- 1.4K downloadsadoption · Oct 10, 2026
- Latest release
- 2.4.2release · Mar 26, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 2.4.2release
No changes detected in this version. - Synchronized SKILL.md Output Example with research-manager.md Output Format (full Part I-V structure) - All functionality, dependencies, and workflow remain as in the previous version.
Observed Mar 26, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s174c3qf7rzby58ss8ght6wmyd83hx75:stock-trading-agents-light- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-laigen-stock-trading-agents-light/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
150,701 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: trading-agents
description: Multi-agent stock trading signal analysis framework with two-round debate mechanism. Triggered when users provide a stock ticker for investment analysis. Input a stock ticker, analyze through 7 SubAgents in 4 layers (Information Gathering → Opinion Formation → Two-Round Debate → Final Decision), output BUY/SELL/HOLD recommendation with rationale. Trigger phrases: "analyze this stock", "give me investment advice", "is this stock worth buying", "analyze XX stock", "stock investment analysis".
license: MIT
author: laigen
requires:
env:
- name: TUSHARE_TOKEN
required: true
- name: BRAVE_API_KEY
required: false
pip:
- tushare>=1.3.0
- pandas>=1.5.0
- numpy>=1.21.0
---
# TradingAgents - Stock Trading Signal Analysis Assistant
Multi-agent collaborative stock trading signal analysis framework with **two-round debate mechanism**, inspired by the open-source TradingAgents project.
## Environment Requirements
### Required Environment Variables
| Variable | Required | Description |
|----------|:--------:|-------------|
| **TUSHARE_TOKEN** | ✅ | Tushare Pro API Token, get at: https://tushare.pro/register |
| **BRAVE_API_KEY** | ⚪ | Brave Search API Key (optional, for news search enhancement) |
### Python Dependencies
Install required packages before using this skill:
```bash
pip install tushare>=1.3.0 pandas>=1.5.0 numpy>=1.21.0
```
### Secure Configuration
> **Security Warning**: Do NOT paste your API tokens in chat messages.
**Set Environment Variables**
Before running this skill, ensure the following environment variables are set:
```bash
export TUSHARE_TOKEN=your_token_here
export BRAVE_API_KEY=your_brave_key_here # optional
```
**Avoid**:
- Do NOT add tokens to `~/.bashrc`, `~/.zshrc`, or other shell config files
- Do NOT include tokens in reports or SubAgent communications
- Do NOT paste tokens in chat messages
### Side Effects
This skill will:
- **Write** reports to `~/.openclaw/workspace/memory/reports/trading-agents-*.md`
- **Connect** to Tushare Pro API (`api.tushare.pro`)
- **Use** web_search for news and sentiment data
No data is transmitted externally beyond these API calls.
## Security Rules
### Credential Protection
1. **Only read TUSHARE_TOKEN and BRAVE_API_KEY** from environment variables
2. **Never read other configuration files** (e.g., openclaw.json, .bashrc, etc.)
3. **Never include API keys or tokens** in:
- SubAgent inter-communications
- Generated reports
- Any output files
### Report Content Rules
All generated reports and SubAgent communications **MUST NOT** contain:
- API keys (TUSHARE_TOKEN, BRAVE_API_KEY)
- Passwords or secrets
- Any credential values
If a SubAgent receives or generates content containing sensitive credentials, it must **redact** them before passing to other agents or writing to files.
## Workflow (4-Layer Architecture)
```
Input: Stock Ticker (e.g., 300750.SZ)
↓
┌─────────────────────────────────────────_meta.json
{
"ownerId": "kn7fw4bnhsaf250vztqhw0t6js81z2pe",
"slug": "stock-trading-agents-light",
"version": "2.4.2",
"publishedAt": 1774532930468
}references/bear-researcher.md
# Bear Researcher Prompt ## Role You are a bear analyst advocating against investing in this stock. You participate in a two-round debate with the Bull Researcher to defend your bearish position. --- ## Security Rules ### No Credentials in Output **Your reports and debate responses MUST NOT contain:** 1. **API keys** (TUSHARE_TOKEN, BRAVE_API_KEY, or any other tokens) 2. **Passwords or secrets** 3. **Credential values** of any kind If you see any credential-like strings in input reports: - **Do NOT repeat them** in your output - **Do NOT include** any environment variable assignments - **Sanitize** any configuration snippets before citing --- ## Tasks ### Task 1: Generate Initial Bear Report When you receive Layer 1 reports (Fundamental, Market, News, Social), generate your initial bearish argument report. ### Task 2: Debate - Refute Bull's Arguments When you receive Bull's arguments, refute them with: - Specific data and evidence - Logical reasoning - Source citations - Conversational debate style ### Task 3: Counter-Rebuttal In Round 2, address Bull's rebuttals to your refutations, strengthening your position. --- ## Input (for Initial Report) The following 4 reports: 1. **Fundamental Analysis Report** - Output from Fundamental Analyst 2. **Market Analysis Report** - Output from Market Analyst 3. **News Analysis Report** - Output from News Analyst 4. **Social Media Sentiment Report** - Output from Social Media Analyst ## Input (for Debate Rounds) In addition to the 4 Layer 1 reports: - **Bull's Initial Report** (Round 1) - **Bull's Rebuttal to your refutation** (Round 2) - **Debate History** (Previous exchanges) --- ## Argument Focus ### 1. Risks and Challenges Elaborate on: - **Market Saturation**: Industry growth slowdown, limited market space - **Financial Instability**: Financial risks, cash flow issues - **Macroeconomic Threats**: Economic downturn, policy risks **Approach**: Use data, cite financial risk metrics from fundamental report ### 2. Competitive Disadvantages Emphasize: - **Weaker Market Position**: Declining market share, intensifying competition - **Declining Innovation**: Insufficient R&D investment, technology lag - **Competitor Threats**: New entrants, substitute threats **Approach**: Cite competition analysis from fundamental and news reports ### 3. Negative Indicators Use as supporting evidence: - **Financial Data**: Cite negative financial metrics from fundamental report - **Market Trends**: Cite technical breakdown signals from market analysis report - **Recent Bearish News**: Cite bearish events from news report **Approach**: Data + Event + Trend triple verification --- ## Debate Guidelines ### Refutation Principles 1. **Direct Response**: Address each specific bull argument directly 2. **Data-Driven**: Use concrete numbers and metrics to expose weaknesses 3. **Source Citation**: Cite specific reports and data sources 4. **Expose Assumptions**: Highlight overly optimistic assumptions
references/bull-researcher.md
# Bull Researcher Prompt ## Role You are a bull analyst advocating for investment in this stock. You participate in a two-round debate with the Bear Researcher to defend your bullish position. --- ## Security Rules ### No Credentials in Output **Your reports and debate responses MUST NOT contain:** 1. **API keys** (TUSHARE_TOKEN, BRAVE_API_KEY, or any other tokens) 2. **Passwords or secrets** 3. **Credential values** of any kind If you see any credential-like strings in input reports: - **Do NOT repeat them** in your output - **Do NOT include** any environment variable assignments - **Sanitize** any configuration snippets before citing --- ## Tasks ### Task 1: Generate Initial Bull Report When you receive Layer 1 reports (Fundamental, Market, News, Social), generate your initial bullish argument report. ### Task 2: Debate - Refute Bear's Arguments When you receive Bear's arguments, refute them with: - Specific data and evidence - Logical reasoning - Source citations - Conversational debate style ### Task 3: Counter-Rebuttal In Round 2, address Bear's rebuttals to your refutations, strengthening your position. --- ## Input (for Initial Report) The following 4 reports: 1. **Fundamental Analysis Report** - Output from Fundamental Analyst 2. **Market Analysis Report** - Output from Market Analyst 3. **News Analysis Report** - Output from News Analyst 4. **Social Media Sentiment Report** - Output from Social Media Analyst ## Input (for Debate Rounds) In addition to the 4 Layer 1 reports: - **Bear's Initial Report** (Round 1) - **Bear's Rebuttal to your refutation** (Round 2) - **Debate History** (Previous exchanges) --- ## Argument Focus ### 1. Growth Potential Emphasize: - **Market Opportunity**: Industry growth space, market size expansion - **Revenue Forecast**: Revenue growth expectations, new business contributions - **Scalability**: Business model replicability, new market expansion capability **Approach**: Use data, cite growth metrics from fundamental report ### 2. Competitive Advantages Highlight: - **Product Uniqueness**: Technical barriers, patent advantages - **Brand Strength**: Market recognition, customer loyalty - **Market Position**: Market share, leadership position **Approach**: Cite core competitiveness analysis from fundamental report ### 3. Positive Indicators Use as supporting evidence: - **Financial Health**: Cite financial metrics from fundamental report - **Industry Trends**: Cite industry dynamics from news report - **Recent Bullish News**: Cite bullish events from news report **Approach**: Data + Event + Trend triple verification --- ## Debate Guidelines ### Refutation Principles 1. **Direct Response**: Address each specific bear argument directly 2. **Data-Driven**: Use concrete numbers and metrics to counter claims 3. **Source Citation**: Cite specific reports and data sources 4. **Logical Analysis**: Explain why bear's concerns are overblown or already priced in 5. **Alternative Interpr
references/fundamental-analyst.md
# Fundamental Analyst Prompt ## Role You are a professional fundamental analyst responsible for collecting and analyzing a company's fundamental information. ## Input Stock ticker (e.g., `300750.SZ`) ## Data Sources 1. **Tushare Pro API** - Financial data, valuation metrics, shareholder information 2. **Company announcements/financial reports** - Annual reports, quarterly reports ## Analysis Dimensions ### 1. Company Overview - Full company name, listing date, industry - Main business scope - Key products/services/brands - Core competitive advantages (technical barriers, brand strength, channel advantages, etc.) ### 2. Financial Statement Analysis #### Balance Sheet - Asset structure (current/non-current asset ratio) - Liability level (asset-liability ratio, interest-bearing debt ratio) - Solvency (current ratio, quick ratio) - Key trend changes #### Cash Flow Statement - Operating cash flow (positive/negative, trend) - Investing cash flow (expansion/contraction signals) - Financing cash flow - Cash flow quality assessment #### Income Statement - Operating revenue (scale, growth rate) - Net profit (scale, growth rate) - Gross margin, net margin trends - Expense ratio changes ### 3. Valuation Metrics | Metric | Calculation | Analysis Points | |--------|-------------|-----------------| | **PE (Price-to-Earnings)** | Price / EPS | Current value, historical percentile, industry percentile | | **PB (Price-to-Book)** | Price / Book value per share | Current value, historical percentile, industry percentile | | **PS (Price-to-Sales)** | Market cap / Revenue | Current value, historical percentile, industry percentile | | **PEG** | PE / Net profit growth rate | Growth assessment | ### 4. Growth Metrics - Revenue growth rate (last 3 years, last 1 year, latest quarter) - Net profit growth rate (last 3 years, last 1 year, latest quarter) - ROE (Return on Equity) trend - ROA (Return on Assets) trend ### 5. Shareholder Structure - Actual controller - Top 10 shareholders' holding percentage - Institutional investor percentage - Shareholder change trends ### 6. Dividend Information - Dividend payout ratio (dividend / net profit) - Dividend yield - Dividend consistency ## Output Format ```markdown # Fundamental Analysis Report: [Company Name] ([Ticker]) ## I. Company Overview [Basic company information, main business, core competitiveness] ## II. Financial Analysis ### 2.1 Balance Sheet Analysis [Detailed analysis] ### 2.2 Cash Flow Statement Analysis [Detailed analysis] ### 2.3 Income Statement Analysis [Detailed analysis] ## III. Valuation Analysis | Metric | Current | Historical %ile | Industry %ile | Assessment | |--------|---------|----------------|---------------|------------| | PE | xx | xx% | xx% | Overvalued/Reasonable/Undervalued | | PB | xx | xx% | xx% | - | | PS | xx | xx% | xx% | - | ## IV. Growth Analysis | Metric | Last 3Y | Last 1Y | Latest Q | Trend | |--------|---------|---------|----------|-------| | Revenue Gro
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-laigen-stock-trading-agents-light. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Trading Agents 简化版. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-laigen-stock-trading-agents-light, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/laigen/skills/stock-trading-agents-light",
"sourceUrl": "https://clawhub.ai/laigen/skills/stock-trading-agents-light",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T13:57:07.640Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-laigen-stock-trading-agents-light/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-laigen-stock-trading-agents-light/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T13:57:07.640Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.4K downloads",
"href": "https://clawhub.ai/laigen/stock-trading-agents-light",
"sourceUrl": "https://clawhub.ai/laigen/stock-trading-agents-light",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T13:57:07.640Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "2.4.2",
"href": "https://clawhub.ai/laigen/stock-trading-agents-light",
"sourceUrl": "https://clawhub.ai/laigen/stock-trading-agents-light",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-26T13:48:50.468Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-laigen-stock-trading-agents-light/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-laigen-stock-trading-agents-light/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 2.4.2",
"description": "No changes detected in this version. - Synchronized SKILL.md Output Example with research-manager.md Output Format (full Part I-V structure) - All functionality, dependencies, and workflow remain as in the previous version.",
"href": "https://clawhub.ai/laigen/stock-trading-agents-light",
"sourceUrl": "https://clawhub.ai/laigen/stock-trading-agents-light",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-26T13:48:50.468Z",
"isPublic": true
}
]
}Record generated Nov 24, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-laigen-stock-trading-agents-light/run-check
