agentsclimarketplace

Trading agents llm

Skill mahmoud20138/Tradecraft/plugins/tradecraft/skills/trading-agents-llm

102 Claude Code skills across 7 categories -- trading strategies, Azure, VSCode extensions, AI prompts, and custom automation skills

Install
npx -y skills add mahmoud20138/Tradecraft --skill trading-agents-llm

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 7 stars7 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Multi-agent LLM trading framework that mirrors real-world trading firm dynamics. Specialized agents (Fundamentals, Sentiment, News, Technical analysts + Researcher debate + Trader + Risk Manager) collaborate to analyze markets and make trading decisi

SKILL.md

7.6 KB, as published. Nobody here has run it

trading-agents-llm

USE FOR:

  • "build multi-agent trading system"
  • "LLM-powered stock analysis pipeline"
  • "analyst + researcher + trader + risk manager agent workflow"
  • "AI agent debate for trading decisions"
  • "integrate Claude / GPT / Gemini into trading research"
  • "A-share / HK / US equity LLM analysis"
  • "automate fundamental + sentiment + news + technical analysis" tags: [multi-agent, LLM, trading, AI, equities, fundamentals, sentiment, technical, risk, LangGraph, Claude, GPT, research] kind: framework category: quant-ml-trading

What Is TradingAgents?

Open-source multi-agent LLM framework that simulates a trading firm:

  • Specialized agents collaborate across the full research → decision pipeline
  • Uses LangGraph for agent orchestration
  • Supports 6+ LLM providers including Anthropic Claude
  • Research only — not financial advice

Repos:


Agent Architecture

┌─────────────────── ANALYST TEAM ───────────────────┐
│  Fundamentals Analyst  →  Financial metrics & value │
│  Sentiment Analyst     →  Social media & mood       │
│  News Analyst          →  Macro news & events       │
│  Technical Analyst     →  MACD, RSI, patterns       │
└─────────────────────────────────────────────────────┘
            ↓ Reports fed into ↓
┌─────────────── RESEARCHER TEAM ────────────────────┐
│  Bullish Researcher  ↔  Bearish Researcher (debate) │
│  Critical assessment of analyst findings            │
└─────────────────────────────────────────────────────┘
            ↓ Debate synthesis ↓
┌─────────────── TRADER AGENT ───────────────────────┐
│  Synthesizes all reports → trading decision         │
│  Determines timing and position magnitude           │
└─────────────────────────────────────────────────────┘
            ↓ Proposal submitted ↓
┌─────────── RISK MANAGEMENT TEAM ───────────────────┐
│  Portfolio Manager   → approves / rejects trades    │
│  Risk evaluator      → volatility + liquidity check │
└─────────────────────────────────────────────────────┘

Installation (Original)

git clone https://github.com/TauricResearch/TradingAgents.git
cd TradingAgents
conda create -n tradingagents python=3.13
conda activate tradingagents
pip install -r requirements.txt

Required API Keys:

export OPENAI_API_KEY="sk-..."         # or any supported provider
export ANTHROPIC_API_KEY="sk-ant-..." # for Claude
export ALPHA_VANTAGE_API_KEY="..."     # market data

Usage

CLI (Interactive)

python -m cli.main
# Select: ticker, date, LLM provider, research depth

Python API

from tradingagents.graph.trading_graph import TradingAgentsGraph
from tradingagents.default_config import DEFAULT_CONFIG

config = DEFAULT_CONFIG.copy()
config["llm_provider"] = "anthropic"          # Use Claude
config["deep_think_llm"] = "claude-opus-4-6"  # Complex reasoning
config["quick_think_llm"] = "claude-haiku-4-5-20251001"  # Fast tasks
config["max_debate_rounds"] = 3               # Researcher debate depth
config["online_tools"] = True                 # Live market data

ta = TradingAgentsGraph(debug=True, config=config)
state, decision = ta.propagate("NVDA", "2026-01-15")
print(decision)  # BUY / SELL / HOLD + rationale

LLM Provider Configuration

Providerllm_providerModels
Anthropic"anthropic"claude-opus-4-6, claude-sonnet-4-6, claude-haiku-4-5
OpenAI"openai"gpt-4o, gpt-4o-mini, o1
Google"google"gemini-2.0-flash, gemini-1.5-pro
xAI"xai"grok-2
OpenRouter"openrouter"Any model via router
Ollama"ollama"Local models (llama3, mistral, etc.)
DeepSeek"deepseek"deepseek-chat (CN fork)
Alibaba"alibaba"qwen models (CN fork)

CN Fork (TradingAgents-CN) — Key Enhancements

Architecture Upgrade

  • Original: Streamlit UI
  • CN Fork: FastAPI + Vue 3 (enterprise-grade)

Regional Market Support

MarketData Source
A-shares (China)Tushare, AkShare, BaoStock
HK StocksAkShare
US EquitiesAlpha Vantage

Additional Features

  • MongoDB + Redis dual database (persistent sessions, caching)
  • Docker support (amd64 + ARM64)
  • Report export: Markdown, Word, PDF
  • Batch portfolio analysis
  • SSE + WebSocket real-time progress
  • News quality filtering + multi-layer assessment
  • User auth + operation logging

CN Fork Installation

git clone https://github.com/hsliuping/TradingAgents-CN.git
cd TradingAgents-CN
docker-compose up -d  # Easiest path (MongoDB + Redis included)
# or
pip install -r requirements.txt

Trading Workflow (Step-by-Step)

1. Input: ticker + date
2. Analysts run in parallel → 4 reports
3. Researcher debate (N rounds) → bull/bear synthesis
4. Trader synthesizes → trade proposal (BUY/SELL/HOLD + size)
5. Risk manager evaluates volatility + liquidity
6. Portfolio manager: APPROVE or REJECT
7. Output: final decision + reasoning chain

Integration With Claude

Use Claude as the reasoning backbone:

config = {
    "llm_provider": "anthropic",
    "deep_think_llm": "claude-opus-4-6",    # Analyst/Researcher deep work
    "quick_think_llm": "claude-sonnet-4-6", # Fast classification tasks
    "max_debate_rounds": 2,
    "online_tools": True,
}

Claude's strength in structured reasoning makes it ideal for:

  • Fundamental analysis reports (long-form reasoning)
  • Researcher debate synthesis
  • Risk rationale explanation

Key Design Patterns (for building similar agents)

# Pattern: Analyst role definition
analyst_prompt = """
You are a Fundamental Analyst. Evaluate the company's:
- Revenue growth, margins, P/E, debt ratios
- Competitive moat and sector dynamics
Return: structured report with BUY/NEUTRAL/SELL signal + confidence
"""

# Pattern: Debate orchestration (LangGraph)
from langgraph.graph import StateGraph

graph = StateGraph(TradingState)
graph.add_node("fundamentals_analyst", run_fundamentals)
graph.add_node("sentiment_analyst", run_sentiment)
graph.add_node("researcher_debate", run_debate)
graph.add_node("trader_decision", run_trader)
graph.add_node("risk_check", run_risk_manager)
graph.add_edge("fundamentals_analyst", "researcher_debate")
# ...

Gives 0 of the 12 instructions most context ai engineering skills give

Counted across 1,193 of the 1,976 authors here whose files we hold, read 2026-08-06

  • dispatch a fresh implementer subagent per taskin 48 of 1193, across 19 files
  • dispatch final reviewer after all tasksin 37 of 1193, across 11 files
  • provide full task text to the subagentin 31 of 1193, across 10 files
  • review spec compliance before code qualityin 27 of 1193, across 10 files
  • make the hook script executablein 26 of 1193, across 8 files
  • re-snapshot after navigation or DOM changesin 25 of 1193, across 17 files
  • answer subagent questions before proceedingin 22 of 1193, across 7 files
  • mark task complete in TodoWrite after approvalin 22 of 1193, across 6 files
  • merge hook into existing settingsin 21 of 1193, across 3 files
  • read files before editing themin 21 of 1193, across 9 files
  • ask if installation is global or projectin 20 of 1193, across 2 files
  • copy the hook script to target locationin 20 of 1193, across 2 files

Said here and by no other author read

  • orchestrate agents using LangGraph
  • run analysts in parallel to produce reports
  • execute researcher debate for multiple rounds
  • generate a trade proposal from the trader agent
  • evaluate volatility and liquidity via the risk manager
  • approve or reject the trade via the portfolio manager

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.