a-stock-analysis提供A股实时行情、分时成交量分布及主力资金动向分析,支持持仓管理和盈亏监控。
Install via ClawdBot CLI:
clawdbot install CNyezi/a-stock-analysis使用东方财富和新浪财经接口获取A股数据,支持实时行情、分时K线、量能分析。
# 单只股票
uv run {baseDir}/scripts/analyze.py 600789
# 多只股票
uv run {baseDir}/scripts/analyze.py 600789 002446 002342
# 含分时量能分析
uv run {baseDir}/scripts/analyze.py 600789 --minute
# JSON输出
uv run {baseDir}/scripts/analyze.py 600789 --json
# 显示持仓
uv run {baseDir}/scripts/portfolio.py show
# 添加持仓
uv run {baseDir}/scripts/portfolio.py add 600789 --cost 10.416 --qty 3400
# 更新持仓
uv run {baseDir}/scripts/portfolio.py update 600789 --cost 10.2
# 删除持仓
uv run {baseDir}/scripts/portfolio.py remove 600789
# 分析所有持仓(含分时量能)
uv run {baseDir}/scripts/portfolio.py analyze
直接使用6位数字代码即可,系统自动识别市场:
| 时段 | 说明 |
|------|------|
| 早盘30分 (9:30-10:00) | 主力早盘动作,>30%为抢筹信号 |
| 上午中段 (10:00-11:30) | 正常交易 |
| 下午中段 (13:00-14:30) | 正常交易 |
| 尾盘30分 (14:30-15:00) | >25%为尾盘异动信号 |
显示当日成交量最大的10个分钟,用于识别:
统一使用新浪财经接口,数据一致性好:
| 数据 | 接口 | 延迟 |
|------|------|------|
| 实时行情 | hq.sinajs.cn | ~3秒 |
| 分时K线 | CN_MarketDataService.getKLineData | ~1分钟 |
支持批量获取,减少请求次数。
============================================================
股票: 鲁抗医药 (600789)
============================================================
【实时行情】
现价: 10.32 涨跌: +0.88%
今开: 10.20 最高: 10.77 最低: 9.82
昨收: 10.23 换手: 2.38%
成交量: 218.2万手 成交额: 22.51亿
【分时量能分析】鲁抗医药
全天成交: 2181838手 (225105.3万元)
成交分布:
早盘30分(9:30-10:00): 907228手 (41.6%)
上午中段(10:00-11:30): 866457手 (39.7%)
下午中段(13:00-14:30): 181321手 (8.3%)
尾盘30分(14:30-15:00): 225180手 (10.3%)
放量时段 TOP 10:
09:31:00 价格:10.03 成交:216545手 金额:21965.3万
...
【主力动向判断】
🔥 早盘主力抢筹明显
持仓数据存储在: ~/.clawdbot/skills/a-stock-analysis/portfolio.json
Generated Mar 1, 2026
Retail investors use this skill to monitor real-time stock prices, analyze intraday volume patterns, and identify potential buying or selling signals based on early or late-session volume surges. It helps them make informed trading decisions and manage their stock portfolios with profit and loss analysis.
Traders rely on the skill to track minute-by-minute volume data, detect major volume spikes for timing entries and exits, and assess market sentiment through signals like early-session accumulation or late-session anomalies. It supports rapid decision-making during trading hours.
Analysts use the skill to gather real-time A-share market data, study volume distribution trends, and analyze institutional activity for research reports or investment strategies. It aids in identifying stock-specific patterns and market movements.
Managers utilize the skill to oversee multiple stock holdings, update portfolio costs, and analyze performance with integrated volume insights. It streamlines tracking of positions and assessing overall portfolio health based on intraday dynamics.
Offer basic real-time data and portfolio management for free, with premium features like advanced volume analytics, historical data access, and API integrations for a monthly fee. This model attracts casual users while monetizing power users and professionals.
License the skill's data outputs and analysis algorithms to financial institutions, trading platforms, or media outlets for integration into their services. This generates revenue through one-time fees or ongoing royalties based on usage.
Partner with brokerage firms, financial news sites, or educational platforms to recommend their services within the skill's outputs. Earn commissions on referrals for account sign-ups, trading tools, or premium content subscriptions.
💬 Integration Tip
Integrate with trading platforms via APIs to enable automated alerts or combine with news feeds for contextual analysis of volume spikes.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.