360 Secure SkillHub
360 安全技能中心

Tai Alpha Stock

Tai Alpha 股票分析 Skill:通过命令行为指定股票代码采集行情,执行 RSI/MACD/布林带等策略回测与信心评分,可选 ML 预测,结果写入 SQLite;支持多 persona、多市场与批量、组合、定时告警流程,输出文本报告与评分记录。

分类:数据
cplog
cplog
热度 39.16
最近更新 2026-05-11 17:44:17

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cplog/tai-alpha-stock
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
tai-alpha-stock
description
Tai Alpha stock analysis — collect, VectorBT backtest (RSI/MACD/BB), conviction score, optional ML. Persistence is SQLite (default tai_alpha_output/tai_alpha.db); override TAI_ALPHA_DB_PATH.

Tai Alpha Stock

Canonical docs: /setup (README, USERFLOW, MODULE_STRUCTURE, guides).
Mirror: setup/docs/core/SKILL.md.
Agents (Cursor / Claude Code / OpenClaw): setup/docs/core/AGENTS.md — root stubs AGENTS.md, CLAUDE.md.

Workflow tree

  • Single: python scripts/analyze.py TICKER → pipeline; stores rows in SQLite (--db-path optional).
  • Personas / markets: --persona id / --persona-all; --market auto|us|hk|cn; --lang zh-CN|zh-HK (see setup/docs/guides/PERSONA_ECOSYSTEM_GUIDE.md).
  • Fast / depth: --fast skips ML and uses lighter collect; --depth lite|standard|deep (see setup/README.md matrix).
  • Batch: python scripts/batch.py TICKER1 TICKER2 (optional --fast, --depth).
  • Portfolio: python scripts/portfolio.py TICKER ...
  • Cron: python scripts/cron.py (TAI_ALPHA_HOTLIST, optional TAI_ALPHA_TELEGRAM_WEBHOOK)
  • Alerts: python scripts/alerts.py (watchlist in SQLite)
  • Custom / ML / sector: scripts/custom.py, scripts/ml.py, scripts/sector.py
  • Dividends / movers: scripts/dividends.py, scripts/hot_scanner.py (see setup README)
  • Inspect run: python scripts/report.py --run-id N / python scripts/score.py --run-id N (--deep-risk on score CLI)

Docs

Related projects (inspiration)

Test

pip install -e ".[dev]"
pytest tests/unit tests/integration -v
python setup/tools/check_structure.py