A Stock Analyzer.Bak

v1.0.0

A股智能分析交易助手(专业版)。基于马克·米勒维尼趋势模板和7大严格财务条件筛选优质个股,适用于追求高基本面标准的价值趋势投资者。

0· 121·1 current·1 all-time
bynowly@nowly-echo·fork of @dxihyv/a-stock-analyzer (2.2.0)

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for nowly-echo/a-stock-analyzer-bak.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "A Stock Analyzer.Bak" (nowly-echo/a-stock-analyzer-bak) from ClawHub.
Skill page: https://clawhub.ai/nowly-echo/a-stock-analyzer-bak
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install a-stock-analyzer-bak

ClawHub CLI

Package manager switcher

npx clawhub@latest install a-stock-analyzer-bak
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (A股智能分析交易助手) align with the bundled scripts and reports: analyze.py, prefetch.py and pusher.py implement market data retrieval, financial screening, scheduled prefetching and report push. Required libraries (akshare, pandas, numpy, requests) are appropriate for the stated functionality.
Instruction Scope
SKILL.md instructs running the included Python scripts and installing the declared Python deps — consistent with the code. The runtime instructions and code only reference market data endpoints, local config.json, cache and report files. Minor inconsistencies: SKILL.md examples mention pushing to 'dingtalk' while the provided config.json defaults to 'feishu' and leaves the feishu_webhook empty; analyze._save_financial_cache clears in-memory caches after saving (likely a bug). No instructions attempt to read unrelated host files or request unrelated system credentials.
Install Mechanism
No install spec; this is instruction+code only. Dependencies are standard Python packages (akshare/pandas/numpy/requests) installed via pip — expected for a market-data analyzer. No remote archive downloads or arbitrary installer URLs were used.
Credentials
The skill does not request environment variables or credentials. Pushing reports requires webhooks configured in config.json (feishu_webhook / dingtalk_webhook). Because webhooks are stored in config.json (not declared env vars), user must ensure webhook URLs are correct and secret — otherwise reports could fail to send or be sent to an unintended endpoint. No evidence of requests for unrelated credentials or access to system-wide secrets.
Persistence & Privilege
always is false and the skill does not request persistent platform privileges. It writes cache, logs and report files under its own directory (reports/, cache/, logs/) — expected behavior for this tool and not a system-wide privilege escalation.
Assessment
This skill appears to implement exactly what it claims (market data retrieval, rule-based screening, and report push). Before installing: 1) Inspect and set config.json push.webhook fields (feishu_webhook, dingtalk_webhook) — webhook URLs are sensitive; keep them private. 2) Run initially in an isolated environment or container because the scripts make many outbound HTTP requests to public market-data endpoints. 3) Confirm you want automated pushes enabled (config.push.enabled = true) and that channels list matches configured webhooks. 4) Review/update the schedule/cron before enabling automated runs to avoid unexpected network/CPU use. 5) Note minor code issues (cache clearing after save, slight config/doc mismatches) — these look like bugs rather than malicious behavior. If you need higher assurance, run the code in a sandbox and/or audit network destinations (eastmoney, gtimg, sina, akshare) used by the scripts.

Like a lobster shell, security has layers — review code before you run it.

latestvk9702kq5s6g8nsghvd2zxd7sd983shwk
121downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

A股智能分析交易助手(专业版)

概述

本技能采用7大严格选股条件,结合技术面和基本面,筛选A股市场中最优质的个股。

7大选股条件

条件说明
1剔除ST股票和上市不满1年的次新股
2最近一季度营业收入同比增长率 > 25%
3最近一季度净利润同比增长率 > 30% 且环比增长为正
4股价处于30日均线上方或接近均线(5%以内)
5最近10个交易日平均成交量 > 120日均量(放量)
6净资产收益率(ROE)> 15%
7最近三年净利润复合增长率 > 20%

核心功能

1. 大盘分析

  • 上证指数、深证成指、创业板指、科创板指
  • 实时涨跌幅

2. 专业选股

  • 从热门股票池筛选
  • 逐个检查7大条件
  • 获取K线数据计算技术指标
  • 获取财务数据分析基本面

3. 买卖建议

  • 买入区间(现价±2%)
  • 目标价(+15%)
  • 止损价(-5%)
  • 仓位配置(60%/20%/20%)

使用方式

手动触发

# 完整分析(大盘+选股)
python3 scripts/analyze.py --full

# 只看大盘
python3 scripts/analyze.py --market

# 只选股
python3 scripts/analyze.py --stocks

自动推送

配置 cron 定时任务:

# 每天早上8点分析
0 8 * * 1-5 cd /path/to/a-stock-analyzer && python3 scripts/analyze.py --full

配置文件 (config.json)

{
  "push": {
    "enabled": true,
    "times": ["08:00", "14:00"],
    "channels": ["dingtalk"]
  },
  "stock": {
    "max_holdings": 3,
    "recommend_count": 3,
    "position_ratio": [0.6, 0.2, 0.2]
  },
  "risk": {
    "stop_loss_pct": 5,
    "stop_profit_pct": 15,
    "max_position_pct": 60
  }
}

技术指标

指标说明
MA3030日均线,价格支撑/压力位
MA6060日均线,中期趋势
MA120120日均线,长期趋势
VOL_MA1010日均量,短期成交量
VOL_MA120120日均量,长期均量

财务指标

指标说明筛选标准
营收同比营业收入增长速率> 25%
净利润同比净利润增长速率> 30%
净利润环比净利润环比增长> 0%
ROE净资产收益率> 15%
三年复合增长率净利润3年CAGR> 20%

输出文件

  • reports/report_YYYYMMDD_HHMMSS.md - 每日分析报告

风险提示

⚠️

  • 本技能仅供参考,不构成投资建议
  • 股市有风险,入市需谨慎
  • 请根据自身风险承受能力使用
  • 严格执行止损纪律

依赖安装

pip install akshare pandas numpy requests

更新日志

  • v2.0.0: 专业版,支持7大严格选股条件,马克·米勒维尼趋势模板
  • v1.0.0: 初始版本,基础选股功能

Comments

Loading comments...