Claim this agent
Agent DossierGITHUB OPENCLEWSafety 66/100

Xpersona Agent

stock-ai-agent-cli

CrewAI multi-agent stock CLI for China A-shares: Fear & Greed proxy + structured JSON output CrewAI 多 Agent 辩论 + A 股恐惧与贪婪指数|股票分析 CLI / CrewAI Multi‑Agent + Fear & Greed Stock CLI (China A‑shares) $1 $1 $1 $1 一句话 / One‑liner:基于 CrewAI 的多 Agent 架构(Bull/Bear/Hold/Judge)+ “Fear & Greed(代理)” 市场情绪快照,输出可直接接入工作流的结构化 JSON。 亮点 / Highlights - CrewAI 多 Agent 辩论:Bull / Bear / Hold / Judge - A 股市场情绪快照:Fear & Greed(proxy,非官方指数) - 结构化输出:JSON 结果可直接接入自动化/工作流 - 双语界面:中英文 --lang zh|en - 漂亮的终端输出:rich(可选,未安装也能跑) 中文 / English - $1

OpenClaw · self-declared
3 GitHub starsTrust evidence available
git clone https://github.com/mingyuejianzhao/stock-ai-agent-cli.git

Overall rank

#23

Adoption

3 GitHub stars

Trust

Unknown

Freshness

May 31, 2026

Freshness

Last checked May 31, 2026

Best For

stock-ai-agent-cli is best for crewai, multi-agent workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack

Overview

Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.

Verifiededitorial-content

Overview

Executive Summary

CrewAI multi-agent stock CLI for China A-shares: Fear & Greed proxy + structured JSON output CrewAI 多 Agent 辩论 + A 股恐惧与贪婪指数|股票分析 CLI / CrewAI Multi‑Agent + Fear & Greed Stock CLI (China A‑shares) $1 $1 $1 $1 一句话 / One‑liner:基于 CrewAI 的多 Agent 架构(Bull/Bear/Hold/Judge)+ “Fear & Greed(代理)” 市场情绪快照,输出可直接接入工作流的结构化 JSON。 亮点 / Highlights - CrewAI 多 Agent 辩论:Bull / Bear / Hold / Judge - A 股市场情绪快照:Fear & Greed(proxy,非官方指数) - 结构化输出:JSON 结果可直接接入自动化/工作流 - 双语界面:中英文 --lang zh|en - 漂亮的终端输出:rich(可选,未安装也能跑) 中文 / English - $1 Capability contract not published. No trust telemetry is available yet. 3 GitHub stars reported by the source. Last updated 5/31/2026.

No verified compatibility signals3 GitHub stars

Trust score

Unknown

Compatibility

OpenClaw

Freshness

May 31, 2026

Vendor

Mingyuejianzhao

Artifacts

0

Benchmarks

0

Last release

Unpublished

Install & run

Setup Snapshot

git clone https://github.com/mingyuejianzhao/stock-ai-agent-cli.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    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.

Evidence & Timeline

Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.

Verifiededitorial-content

Public facts

Evidence Ledger

Vendor (1)

Vendor

Mingyuejianzhao

profilemedium
Observed May 31, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed May 31, 2026Source linkProvenance
Adoption (1)

Adoption signal

3 GitHub stars

profilemedium
Observed May 31, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance

Events

Release & Crawl Timeline

Artifacts & Docs

Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.

Self-declaredGITHUB OPENCLEW

Captured outputs

Artifacts Archive

Extracted files

0

Examples

6

Snippets

0

Languages

python

Executable Examples

bash

pip install -r requirements.txt

bash

python main.py

bash

copy .env.example .env

bash

python main.py

bash

python main.py 600519 5 --lang en
python main.py 600519 5 --json

text

Summary
- Decision: HOLD
- Trend: sideways
- Confidence: 0.62
- Winner: HOLD

Fear & Greed Index
- Score: 54.10
- Rating: Neutral
- Source: AShare Proxy (breadth + northbound)

Editorial read

Docs & README

Docs source

GITHUB OPENCLEW

Editorial quality

ready

CrewAI multi-agent stock CLI for China A-shares: Fear & Greed proxy + structured JSON output CrewAI 多 Agent 辩论 + A 股恐惧与贪婪指数|股票分析 CLI / CrewAI Multi‑Agent + Fear & Greed Stock CLI (China A‑shares) $1 $1 $1 $1 一句话 / One‑liner:基于 CrewAI 的多 Agent 架构(Bull/Bear/Hold/Judge)+ “Fear & Greed(代理)” 市场情绪快照,输出可直接接入工作流的结构化 JSON。 亮点 / Highlights - CrewAI 多 Agent 辩论:Bull / Bear / Hold / Judge - A 股市场情绪快照:Fear & Greed(proxy,非官方指数) - 结构化输出:JSON 结果可直接接入自动化/工作流 - 双语界面:中英文 --lang zh|en - 漂亮的终端输出:rich(可选,未安装也能跑) 中文 / English - $1

Full README

CrewAI 多 Agent 辩论 + A 股恐惧与贪婪指数|股票分析 CLI / CrewAI Multi‑Agent + Fear & Greed Stock CLI (China A‑shares)

Python Platform CrewAI GitHub stars

一句话 / One‑liner:基于 CrewAI 的多 Agent 架构(Bull/Bear/Hold/Judge)+ “Fear & Greed(代理)” 市场情绪快照,输出可直接接入工作流的结构化 JSON。

亮点 / Highlights

  • CrewAI 多 Agent 辩论:Bull / Bear / Hold / Judge
  • A 股市场情绪快照:Fear & Greed(proxy,非官方指数)
  • 结构化输出:JSON 结果可直接接入自动化/工作流
  • 双语界面:中英文 --lang zh|en
  • 漂亮的终端输出:rich(可选,未安装也能跑)

中文 / English


中文介绍

这是一个命令行小工具:输入 A 股股票代码与天数,程序会抓取最近 N 天的收盘价与市场情绪信息(含“恐惧与贪婪指数”代理指标),并基于 CrewAI 的多 Agent 架构让大模型以“看多 / 看空 / 持有 / 最终决策”四个角色输出结构化 JSON 分析结果。

适合用来:

  • 快速得到结构化结论(便于接入你自己的工作流/自动化)
  • 观察多方观点冲突点(Bull vs Bear vs Hold)
  • 结合情绪指标(Fear & Greed proxy)做市场氛围参考

如果这个项目对你有帮助,欢迎点一个 Star(对开源项目非常重要)。

English Overview

A CLI tool for China A-shares: fetches recent prices + market context (including a proxy “Fear & Greed Index”), then runs a CrewAI-based multi-agent debate (Bull / Bear / Hold / Judge) and outputs structured JSON insights.

Great for:

  • Structured outputs (easy to integrate)
  • Multi-perspective debate (pros/cons/neutral)
  • Quick sentiment snapshot via Fear & Greed proxy

If you find this useful, please consider starring the repo.


目录 / Table of Contents

运行环境

  • Python 3.11+(建议使用虚拟环境)

安装依赖

pip install -r requirements.txt

快速开始(中文)

启动:

python main.py

按提示输入:

  • 仅股票代码:600519
  • 股票代码 + 天数:600519 5
  • 也支持显式交易所后缀:600519.SS / 000001.SZ

退出:输入 exit

配置密钥(不要提交到 GitHub)

本项目通过阿里云百炼(DashScope)的 OpenAI 兼容接口调用模型。

  1. 复制环境变量模板:
copy .env.example .env
  1. 编辑 .env,填入你的密钥:
  • DASHSCOPE_API_KEY:必填
  • DASHSCOPE_BASE_URL:可选(默认 https://dashscope.aliyuncs.com/compatible-mode/v1)

说明:项目已在 .gitignore 中忽略 .env,公开仓库不会上传你的密钥。

Quick Start (English)

Run:

python main.py

Examples:

  • Ticker only: 600519
  • Ticker + days: 600519 5
  • With exchange suffix: 600519.SS / 000001.SZ

Quit: type exit

Optional flags:

python main.py 600519 5 --lang en
python main.py 600519 5 --json

示例输出 / Demo Output

<details> <summary>展开 / Expand</summary>

示例输出为示意(字段结构与真实一致,具体内容会随输入与市场数据变化)。

Summary
- Decision: HOLD
- Trend: sideways
- Confidence: 0.62
- Winner: HOLD

Fear & Greed Index
- Score: 54.10
- Rating: Neutral
- Source: AShare Proxy (breadth + northbound)
</details>

架构 / Architecture

flowchart LR
    A[AkShare Market Data] --> B[Input Pack\nPrices + Market Context]
    B --> C1[Bull Agent]
    B --> C2[Bear Agent]
    B --> C3[Hold Agent]
    C1 --> J[Judge Agent]
    C2 --> J
    C3 --> J
    J --> O[Structured JSON Output]

恐惧与贪婪指数(说明)

这里的“恐惧与贪婪指数”不是官方指数,而是一个 A 股市场情绪的代理指标(proxy),基于:

  • 市场涨跌家数/涨跌幅分布(breadth)
  • 涨停/跌停的强弱
  • 北向资金净流入(若可获取)

输出字段:

  • score:0~100,越高越偏“贪婪”
  • rating:Extreme Fear / Fear / Neutral / Greed / Extreme Greed

Fear & Greed Index (What it is)

This project shows a proxy Fear & Greed Index for China A-shares (not an official index). It’s derived from:

  • Market breadth (advancers/decliners)
  • Limit-up vs limit-down strength
  • Northbound net inflow (when available)

Fields:

  • score: 0~100 (higher means more “greed”)
  • rating: Extreme Fear / Fear / Neutral / Greed / Extreme Greed

免责声明 / Disclaimer

  • 本项目仅用于学习与信息展示,不构成任何投资建议。
  • This is for educational/informational purposes only. Not financial advice.

依赖清单(需要下载)

  • akshare:拉取 A 股行情数据与市场情绪信息
  • crewai:多角色 Agent 编排
  • openai:调用 OpenAI 兼容接口(DashScope Compatible Mode)
  • python-dotenv:从 .env 加载环境变量(可选但推荐)
  • rich:更美观的命令行界面输出

API & Reliability

Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.

MissingGITHUB OPENCLEW

Machine interfaces

Contract & API

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/contract"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/trust"

Operational fit

Reliability & Benchmarks

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Machine Appendix

Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.

MissingGITHUB OPENCLEW

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/snapshot",
    "contractUrl": "https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/contract",
    "trustUrl": "https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/trust"
  },
  "curlExamples": [
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/snapshot\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/contract\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-10-08T22:21:01.562Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "crewai",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "multi-agent",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "label": "Vendor",
    "value": "Mingyuejianzhao",
    "category": "vendor",
    "href": "https://github.com/mingyuejianzhao/stock-ai-agent-cli",
    "sourceUrl": "https://github.com/mingyuejianzhao/stock-ai-agent-cli",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-05-31T06:18:45.594Z",
    "isPublic": true,
    "metadata": {}
  },
  {
    "factKey": "protocols",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "category": "compatibility",
    "href": "https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/contract",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-05-31T06:18:45.594Z",
    "isPublic": true,
    "metadata": {}
  },
  {
    "factKey": "traction",
    "label": "Adoption signal",
    "value": "3 GitHub stars",
    "category": "adoption",
    "href": "https://github.com/mingyuejianzhao/stock-ai-agent-cli",
    "sourceUrl": "https://github.com/mingyuejianzhao/stock-ai-agent-cli",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-05-31T06:18:45.594Z",
    "isPublic": true,
    "metadata": {}
  },
  {
    "factKey": "handshake_status",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "category": "security",
    "href": "https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/trust",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true,
    "metadata": {}
  }
]

Change Events JSON

[]

Sponsored

Ads related to stock-ai-agent-cli and adjacent AI workflows.