杨永兴尾盘选股

v1.0.0

杨永兴尾盘选股法 - 腾讯财经实时筛选,智能市值缓存

0· 102·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for dxyu94/yang-selection.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "杨永兴尾盘选股" (dxyu94/yang-selection) from ClawHub.
Skill page: https://clawhub.ai/dxyu94/yang-selection
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: python3
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 yang-selection

ClawHub CLI

Package manager switcher

npx clawhub@latest install yang-selection
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (尾盘选股 using Tencent + Baostock) align with the included code and instructions. Required binary is only python3 and declared dependencies (baostock, pandas, numpy, requests) are expected for the stated functionality.
Instruction Scope
SKILL.md and README instruct fetching a stock list from the separate query-main-board-stocks skill, calling the Tencent realtime endpoint and Baostock for history, and writing a local market_cap_cache.json — all within expected scope. Note: the code references an absolute path (/home/admin/...) and relative paths to the other skill's output; you should ensure the required main_board_stocks.json comes from a trusted source.
Install Mechanism
There is no automated install script (instruction-only). Dependencies are normal Python packages installed via pip per README. No remote arbitrary downloads or archive extraction are present.
Credentials
The skill requests no environment variables or credentials. External network calls are limited to Tencent's public qt.gtimg.cn endpoint and Baostock (library) — both are consistent with the described data sources.
Persistence & Privilege
Skill does not request always:true, does not modify other skills, and only writes a local market_cap_cache.json file in its directory. It does reference/require the output of another skill but does not request elevated agent privileges.
Assessment
This skill appears internally consistent for stock screening: it calls Tencent's public realtime API and uses the baostock library for historical data, reads a stock list file produced by another skill, and writes a local cache file. Before installing: (1) confirm the main_board_stocks.json you will supply comes from a trusted source, (2) be aware the script will make outbound HTTP requests to qt.gtimg.cn and to Baostock services, (3) adjust or verify the absolute path (/home/admin/...) if your environment differs, and (4) review/verify installed third-party packages (baostock) from PyPI if you have strict supply-chain policies. No secrets are requested by this skill.

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

Runtime requirements

📈 Clawdis
Binspython3
latestvk976pbscr1vrvt4y0yytjt2pxn84qat7
102downloads
0stars
1versions
Updated 2w ago
v1.0.0
MIT-0

杨永兴尾盘选股法

基于腾讯财经 API 的实时股票筛选工具,实现杨永兴尾盘买入法策略。

功能特点

  • ✅ 腾讯财经实时行情(无需 Baostock 登录)
  • ✅ 智能市值缓存(30 天内不重复查询)
  • ✅ 两步筛选:基础筛选 + 深度筛选
  • ✅ 速率限制:每秒 10 只股票

筛选条件

基础条件(腾讯财经)

  1. 涨幅 3%-5%
  2. 换手率 5%-10%
  3. 市值 50 亿 -200 亿

深度条件(Baostock)

  1. 量比 > 1
  2. 近 5 日成交量持续放大
  3. 5/10/20 日均线在 60 日线上方
  4. 股价创当天新高

使用方法

# 1. 先查询主板股票列表
python3 query_main_board_stocks.py

# 2. 运行杨永兴选股
python3 yang_selection.py

依赖

pip install baostock pandas numpy requests

输出文件

  • market_cap_cache.json - 市值缓存(30 天有效期)
  • 筛选结果直接输出到终端

数据源

  • 实时行情:腾讯财经 API
  • 历史数据:Baostock(仅深度筛选)
  • 股票列表:query-main-board-stocks skill

Comments

Loading comments...